/* =========================================================
   EVENT REGISTRATION - PREMIUM UI
   ========================================================= */

.page-header-section {
    padding: 60px 0 35px;
    position: relative;
    overflow: hidden;
}

.page-header-card {
    position: relative;
    overflow: hidden;

    padding: 60px 40px;
    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(49,46,129,0.97) 0%,
            rgba(67,56,202,0.95) 35%,
            rgba(79,70,229,0.93) 65%,
            rgba(6,182,212,0.90) 100%
        );

    box-shadow:
        0 25px 60px rgba(79,70,229,0.28);
}

.page-header-card::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    top: -180px;
    right: -120px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.08);
}

.page-header-card::after {
    content: "";
    position: absolute;

    width: 280px;
    height: 280px;

    bottom: -120px;
    left: -100px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.06);
}

.page-header-content {
    position: relative;
    z-index: 2;

    text-align: center;
    color: #ffffff;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;
    margin-bottom: 20px;

    border-radius: 50px;

    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(12px);

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    border: 1px solid rgba(255,255,255,0.18);
}

.page-badge i {
    font-size: 16px;
}

.page-header-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;

    margin-bottom: 12px;
    letter-spacing: -1px;
}

.page-header-content p {
    max-width: 720px;

    margin: auto;

    font-size: 16px;
    line-height: 1.8;

    opacity: 0.95;
}


/* =========================================================
   MAIN SECTION
   ========================================================= */

.event-main-section {
    padding: 30px 0 80px;

    background:
        radial-gradient(
            circle at top left,
            rgba(79,70,229,0.08),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(6,182,212,0.08),
            transparent 35%
        ),
        #f8fafc;

    min-height: 100vh;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.event-breadcrumb {
    background: rgba(255,255,255,0.72);

    padding: 12px 18px;

    border-radius: 16px;

    backdrop-filter: blur(12px);

    margin-bottom: 25px;

    border: 1px solid rgba(255,255,255,0.6);

    box-shadow:
        0 8px 25px rgba(15,23,42,0.05);
}

.event-breadcrumb ol {
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    list-style: none;

    gap: 8px;
}

.event-breadcrumb li {
    font-size: 14px;
    color: #64748b;
}

.event-breadcrumb a {
    text-decoration: none;
    color: #4f46e5;
    font-weight: 600;
}

.event-breadcrumb .separator {
    color: #94a3b8;
}


/* =========================================================
   GLASS CARD
   ========================================================= */

.event-glass-card {
    position: relative;
    overflow: hidden;

    background: rgba(255,255,255,0.76);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.55);

    border-radius: 30px;

    padding: 38px;

    box-shadow:
        0 12px 40px rgba(15,23,42,0.08),
        inset 0 1px 0 rgba(255,255,255,0.5);

    transition: 0.35s ease;
}

.event-glass-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 50px rgba(15,23,42,0.12),
        inset 0 1px 0 rgba(255,255,255,0.5);
}

.event-glass-card::before {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    top: -100px;
    right: -100px;

    background:
        linear-gradient(
            135deg,
            #4f46e5,
            #06b6d4
        );

    opacity: 0.07;

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.event-card-header {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 35px;

    position: relative;
    z-index: 1;
}

.event-icon-wrap {
    width: 70px;
    height: 70px;

    min-width: 70px;

    border-radius: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #4f46e5,
            #06b6d4
        );

    color: #ffffff;

    font-size: 28px;

    box-shadow:
        0 12px 30px rgba(79,70,229,0.35);
}

.event-card-title {
    font-size: 30px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 5px;
}

.event-card-desc {
    color: #64748b;

    font-size: 15px;

    margin-bottom: 0;
}


/* =========================================================
   FORM LABEL
   ========================================================= */

.event-label {
    display: flex;
    align-items: center;
    gap: 8px;

    font-weight: 700;

    color: #1e293b;

    margin-bottom: 10px;

    font-size: 14px;
}

.event-label i {
    color: #4f46e5;

    font-size: 16px;
}


/* =========================================================
   FORM INPUT
   ========================================================= */

.event-input {
    height: 56px;

    border-radius: 16px !important;

    border: 1px solid rgba(148,163,184,0.28);

    background: rgba(255,255,255,0.85);

    padding: 12px 18px;

    font-size: 15px;

    transition: 0.3s ease;

    box-shadow: none !important;
}

.event-input:focus {
    border-color: #4f46e5;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(79,70,229,0.12) !important;
}

.event-input::placeholder {
    color: #94a3b8;
}

.event-input:disabled,
.event-input:read-only {
    background: #f1f5f9;

    color: #475569;
}


/* =========================================================
   EMAIL OTP BUTTONS
   ========================================================= */

#send_email_otp,
#verify_email_otp {
    min-width: 120px;

    border: none;

    font-weight: 700;

    border-radius: 0 16px 16px 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;
}


/* Keep input rounded on left side */

.input-group .event-input {
    border-radius: 16px 0 0 16px !important;
}


/* Verified email */

.email-verified-input {
    border-color: #16a34a !important;

    background-color: #f0fdf4 !important;

    color: #166534 !important;
}


/* Disabled after verification */

#email.email-verified-input {
    padding-right: 45px;
}


/* Mobile */

@media (max-width: 576px) {

    #send_email_otp,
    #verify_email_otp {
        min-width: 105px;

        font-size: 13px;
    }

}



/* =========================================================
   SELECT
   ========================================================= */

select.event-input {
    cursor: pointer;
}


/* =========================================================
   ERROR
   ========================================================= */

.event-error {
    display: block;

    margin-top: 7px;

    color: #dc2626;

    font-size: 13px;

    font-weight: 600;

    min-height: 18px;
}

.has-error {
    border-color: #dc2626 !important;

    box-shadow:
        0 0 0 4px rgba(220,38,38,0.08) !important;
}


/* =========================================================
   INFORMATION STRIP
   ========================================================= */

.event-info-strip {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 18px;

    border-radius: 18px;

    background:
        rgba(79,70,229,0.06);

    border:
        1px solid rgba(79,70,229,0.12);

    color: #334155;

    font-size: 14px;

    line-height: 1.6;
}

.event-info-icon {
    min-width: 42px;

    height: 42px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #4f46e5,
            #06b6d4
        );

    color: #ffffff;
}


/* =========================================================
   REGISTER BUTTON
   ========================================================= */

.event-register-btn {
    height: 60px;

    border: none !important;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #4f46e5,
            #06b6d4
        );

    color: #ffffff;

    font-weight: 700;

    font-size: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    box-shadow:
        0 14px 35px rgba(79,70,229,0.35);

    transition: 0.3s ease;
}

.event-register-btn:hover {
    transform: translateY(-3px);

    color: #ffffff;

    box-shadow:
        0 20px 45px rgba(79,70,229,0.45);
}

.event-register-btn:disabled {
    opacity: 0.7;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .page-header-section {
        padding: 35px 0 25px;
    }

    .page-header-card {
        padding: 45px 22px;
        border-radius: 24px;
    }

    .page-header-content h1 {
        font-size: 34px;
    }

    .page-header-content p {
        font-size: 14px;
    }

    .event-glass-card {
        padding: 24px;

        border-radius: 24px;
    }

    .event-card-header {
        align-items: flex-start;
    }

    .event-icon-wrap {
        width: 60px;
        height: 60px;

        min-width: 60px;

        font-size: 24px;

        border-radius: 18px;
    }

    .event-card-title {
        font-size: 24px;
    }

    .event-card-desc {
        font-size: 14px;
    }

}

@media (max-width: 480px) {

    .event-glass-card {
        padding: 20px;
    }

    .event-card-header {
        flex-direction: column;
    }

    .event-register-btn {
        height: 56px;
    }

}