/* Registration Page Styles */

:root {
    --festival-gold: #d4af37;
    --festival-dark: #1a1a2e;
    --festival-accent: #8b5a2b;
    --festival-light: #f5f1e8;
    --festival-purple: #6c3483;
}

body {
    background: linear-gradient(135deg, #f5f1e8 0%, #e8e0d5 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nlf-registration-wrapper {
    min-height: 100vh;
    padding-bottom: 3rem;
}

/* Festival Header */
.festival-header {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #6c3483 50%, #8b5a2b 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
    margin-bottom: 2rem;
}

.festival-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,.05)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.festival-content {
    position: relative;
    z-index: 1;
}

.festival-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.festival-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Festival Card */
.festival-card {
    border: none;
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    border-top: 5px solid var(--festival-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.festival-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.2);
}

/* Festival Card Header */
.festival-header-card {
    background: linear-gradient(135deg, #f5f1e8 0%, #e8e0d5 100%);
    border-bottom: 2px solid var(--festival-gold);
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
}

.festival-header-card h2 {
    color: var(--festival-dark);
    font-weight: 700;
    margin: 0;
}

.festival-header-card .small {
    color: var(--festival-accent);
}

.text-gold {
    color: var(--festival-gold);
}

/* Facilities Box */
.facilities-box {
    background: linear-gradient(135deg, rgba(108, 52, 131, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-left: 4px solid var(--festival-gold);
    padding: 1.5rem;
    border-radius: 10px;
}

.facilities-title {
    color: var(--festival-purple);
    font-weight: 600;
    margin-bottom: 1rem;
}

.facilities-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--festival-dark);
    font-weight: 500;
}

/* Form Inputs */
.festival-input {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.festival-input:focus {
    border-color: var(--festival-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    outline: none;
}

.festival-input.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.festival-input.is-invalid {
    border-color: #dc3545;
}

/* Gender Options */
.gender-options {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.form-check {
    flex: 1;
}

.form-check-input {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--festival-gold);
    border-color: var(--festival-gold);
}

.form-check-input:hover {
    border-color: var(--festival-gold);
}

.form-check-label {
    cursor: pointer;
    margin-top: 0.3rem;
    color: var(--festival-dark);
    font-weight: 500;
}

/* Category Info Box */
.category-info-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(108, 52, 131, 0.1) 100%);
    border-left: 4px solid var(--festival-gold);
    padding: 1.2rem;
    border-radius: 8px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-badge {
    display: inline-block;
    background: var(--festival-gold);
    color: var(--festival-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.category-price {
    color: var(--festival-purple);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Price Display */
.price-display-box {
    background: linear-gradient(135deg, var(--festival-gold) 0%, #c99c1f 100%);
    color: var(--festival-dark);
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 0.95rem;
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Inline Price Display */
.price-display-box-inline {
    background: linear-gradient(135deg, var(--festival-gold) 0%, #c99c1f 100%);
    color: var(--festival-dark);
    padding: 0.7rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.price-label-inline {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.price-value-inline {
    font-size: 1rem;
    font-weight: 700;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

#idUpload {
    border: 2px dashed var(--festival-gold);
    border-radius: 8px;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(245, 241, 232, 0.5) 100%);
    transition: all 0.3s ease;
}

#idUpload:hover {
    border-color: var(--festival-accent);
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.1) 0%, rgba(245, 241, 232, 0.5) 100%);
}

/* Terms Box */
.terms-box {
    background: linear-gradient(135deg, #f5f1e8 0%, #e8e0d5 100%);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--festival-purple);
}

.terms-link {
    color: var(--festival-purple);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--festival-gold);
    transition: all 0.3s ease;
}

.terms-link:hover {
    color: var(--festival-gold);
    border-bottom-color: var(--festival-purple);
}

/* Button Group */
.button-group {
    gap: 1rem;
}

.btn-festival {
    background: linear-gradient(135deg, var(--festival-gold) 0%, #c99c1f 100%);
    color: var(--festival-dark);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-festival:hover {
    background: linear-gradient(135deg, #c99c1f 0%, var(--festival-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    color: var(--festival-dark);
}

.btn-festival:active {
    transform: translateY(0);
}

.btn-festival-outline {
    background: white;
    color: var(--festival-purple);
    border: 2px solid var(--festival-purple);
    border-radius: 8px;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-festival-outline:hover {
    background: var(--festival-purple);
    color: white;
}

/* Form Label */
.form-label {
    color: var(--festival-dark);
    font-weight: 600;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--festival-gold);
}

/* Alert Messages */
.alert-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-left: 4px solid #28a745;
    color: #155724;
    border-radius: 8px;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-left: 4px solid #dc3545;
    color: #721c24;
    border-radius: 8px;
}

.alert-info {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-left: 4px solid #17a2b8;
    color: #0c5460;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .festival-title {
        font-size: 2rem;
    }

    .festival-subtitle {
        font-size: 1rem;
    }

    .gender-options {
        flex-direction: column;
    }

    .col-md-6 {
        margin-bottom: 1rem;
    }

    .button-group {
        flex-direction: column !important;
    }

    .btn-festival,
    .btn-festival-outline {
        width: 100%;
    }
}

.text-danger {
    color: #dc3545;
}

/* Media Registration Fields */
#mediaFields {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(108, 52, 131, 0.08) 100%);
    border: 2px solid var(--festival-gold);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.publication-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.publication-options .form-check {
    margin-bottom: 0.5rem;
}

.publication-options .form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.125em;
    margin-right: 0.5rem;
    border-color: var(--festival-gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.publication-options .form-check-input:checked {
    background-color: var(--festival-gold);
    border-color: var(--festival-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.publication-options .form-check-input:focus {
    border-color: var(--festival-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Loader Styles */
.submission-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.loader-content {
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.loader-content .spinner-border {
    width: 4rem;
    height: 4rem;
    border-width: 0.4rem;
}

.loader-text {
    color: var(--festival-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1rem 0 0 0;
}

/* Button Loader Styles */
.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.btn-loader .spinner-border {
    width: 1.2em;
    height: 1.2em;
    border-width: 0.25em;
}

.text-gold {
    color: var(--festival-gold) !important;
}

/* Facilities Section with Tabs */
.facilities-section {
    background: linear-gradient(135deg, rgba(108, 52, 131, 0.03) 0%, rgba(212, 175, 55, 0.03) 100%);
    border: 1px solid var(--festival-gold);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.facilities-main-title {
    color: var(--festival-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 3px solid var(--festival-gold);
    padding-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.facilities-tabs {
    border-bottom: 2px solid var(--festival-gold);
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.facilities-tabs .nav-link {
    color: var(--festival-dark);
    border: 2px solid transparent;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.facilities-tabs .nav-link:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(108, 52, 131, 0.1) 100%);
    border-color: var(--festival-gold);
    color: var(--festival-purple);
}

.facilities-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--festival-gold) 0%, #c99c1f 100%);
    color: var(--festival-dark);
    border-color: var(--festival-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.facilities-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.facilities-box {
    background: white;
    border-left: 4px solid var(--festival-gold);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.facilities-subtitle {
    color: var(--festival-purple);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.facilities-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.facility-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--festival-dark);
    font-weight: 500;
    line-height: 1.5;
}

.facility-item i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.facility-item span {
    flex: 1;
}

/* Responsive Tabs */
@media (max-width: 768px) {
    .facilities-tabs {
        flex-wrap: wrap;
    }

    .facilities-tabs .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .facilities-section {
        padding: 1rem;
    }

    .facilities-main-title {
        font-size: 1.1rem;
    }
}

