/* =========================================================
   GLOBAL
========================================================= */

:root {
    --primary: #39217e;
    --primary-dark: #061b3a;
    --primary-light: #5a3aa0;

    --accent: #f0003c;

    --secondary: #f5f8fc;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;

    --success: #198754;
    --danger: #dc3545;

    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 18px;

    --shadow-sm: 0 5px 18px rgba(0, 0, 0, .05);
    --shadow-md: 0 10px 35px rgba(0, 0, 0, .08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
}

a {
    transition: .2s ease;
}


/* =========================================================
   COMMON BUTTONS
========================================================= */

.btn-primary-custom,
.submit-btn,
.event-submit,
.event-details-btn,
.registration-btn,
.event-register-btn {
    background: var(--primary);
    color: #fff !important;
    border: 1px solid var(--primary);
    font-weight: 600;
    transition: .2s ease;
}

.btn-primary-custom:hover,
.submit-btn:hover,
.event-submit:hover,
.event-details-btn:hover,
.registration-btn:hover,
.event-register-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
}


/* =========================================================
   OUTLINE BUTTON
========================================================= */

.btn-outline-custom {
    color: var(--primary);
    border: 1px solid var(--primary);
    background: #fff;
    padding: 11px 22px;
    font-weight: 600;
}

.btn-outline-custom:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}


/* =========================================================
   MAIN FORM CARD
========================================================= */

.main-wrapper {
    max-width: 1000px;
    margin: 50px auto;
}

.card {
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.section-title h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.required {
    color: red;
}


/* =========================================================
   DYNAMIC SECTION
========================================================= */

.dynamic-section {
    display: none;
}


/* =========================================================
   PAYMENT OPTION
========================================================= */

.payment-option {
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: .2s ease;
    height: 100%;
}

.payment-option:hover {
    border-color: var(--primary);
}

.payment-option.active {
    border-color: var(--primary);
    background: #f1f5ff;
}

.payment-option h5 {
    margin-bottom: 5px;
}

.payment-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.submit-btn {
    padding: 13px 35px;
    border-radius: var(--radius-sm);
    font-size: 16px;
}


/* =========================================================
   EXISTING USER BOX
========================================================= */

.existing-box {
    background: #eef7ff;
    border: 1px solid #cfe5ff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}


/* =========================================================
   PAYMENT PAGE
========================================================= */

.payment-card {
    max-width: 550px;
    margin: 60px auto;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.payment-title {
    color: var(--primary);
    font-weight: 700;
}

.payment-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.payment-row:last-child {
    border-bottom: 0;
}

.payment-label {
    color: #6c757d;
}

.payment-value {
    font-weight: 600;
    text-align: right;
}

.amount-box {
    background: #eef4ff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.amount-label {
    font-size: 14px;
    color: #6c757d;
}

.amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

#payButton {
    width: 100%;
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    padding: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

#payButton:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

#payButton:disabled {
    opacity: .7;
    cursor: not-allowed;
}


/* =========================================================
   SUCCESS PAGE
========================================================= */

.success-wrapper {
    max-width: 700px;
    margin: 50px auto;
}

.success-card {
    border: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.success-header {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 35px 20px;
}

.success-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff;
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
}

.success-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.success-subtitle {
    opacity: .85;
    margin-bottom: 0;
}

.receipt-section {
    padding: 30px;
}

.receipt-title {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.info-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-row:last-child {
    border-bottom: 0;
}

.info-label {
    color: #6c757d;
}

.info-value {
    font-weight: 600;
    color: #212529;
    text-align: right;
    word-break: break-word;
}

.payment-id {
    font-size: 13px;
    word-break: break-all;
}

.status-badge {
    display: inline-block;
    background: #d1e7dd;
    color: #0f5132;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   HEADER - TOP BAR
========================================================= */

.top-bar {
    width: 100%;
    background: var(--primary);
    padding: 12px 25px;
}

.top-bar-inner {
    min-height: 29px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.top-location {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.top-location i {
    font-size: 26px;
    color: #fff;
}

.top-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 235px;
    height: 58px;
    padding: 0 25px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 35px;
    font-size: 18px;
    font-weight: 700;
    transition: all .3s ease;
}

.top-btn:hover {
    background: #d90036;
    color: #fff;
    transform: translateY(-2px);
}

.apply-btn {
    min-width: 165px;
}


/* =========================================================
   ALUMNI BANNER
========================================================= */

.alumni-banner {
    width: 100%;
    height: 306px;
    overflow: hidden;
    position: relative;
}

.alumni-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* =========================================================
   MAIN ALUMNI HEADER
========================================================= */

.alumni-header {
    width: 100%;
    background: #fff;
    padding: 12px 0;
}

.alumni-header-inner {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.alumni-logo {
    width: 200px;
    display: flex;
    align-items: center;
}

.alumni-logo-left {
    justify-content: flex-start;
}

.alumni-logo-right {
    justify-content: flex-end;
}

.alumni-logo img {
    width: 215px;
}

.alumni-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: auto;
}

.alumni-title h1 {
    margin: 0;
    color: #2f62ad;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: .5px;
    white-space: nowrap;
}


/* =========================================================
   FOOTER
========================================================= */

.alumni-footer {
    background: var(--primary);
    color: #fff;
    padding: 22px 0;
    margin-top: 50px;
}

.alumni-footer p {
    font-size: 15px;
}

.alumni-footer a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    margin: 0 8px;
    transition: .3s ease;
}

.alumni-footer a:hover {
    color: var(--accent);
}

.alumni-footer span {
    color: rgba(255, 255, 255, .6);
}


/* =========================================================
   EVENT REGISTRATION PAGE
========================================================= */

.event-page {
    padding: 60px 15px;
}

.event-wrapper {
    max-width: 1050px;
    margin: 0 auto;
}

.event-header {
    text-align: center;
    margin-bottom: 35px;
}

.event-header .badge {
    background: #e8f0fb;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 30px;
    margin-bottom: 15px;
}

.event-header h1 {
    font-size: 34px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.event-header p {
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto;
    font-size: 16px;
}

.event-main-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 34, 82, .07);
}


/* =========================================================
   EVENT TABS
========================================================= */

.event-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border);
    background: #fafbfd;
}

.event-tab {
    border: 0;
    background: transparent;
    padding: 22px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    position: relative;
    transition: .2s ease;
}

.event-tab:hover {
    background: #f1f5fa;
    color: var(--primary);
}

.event-tab.active {
    color: var(--primary);
    background: #fff;
}

.event-tab.active::after {
    content: "";
    position: absolute;
    left: 25%;
    right: 25%;
    bottom: -1px;
    height: 3px;
    background: var(--primary);
    border-radius: 5px 5px 0 0;
}

.event-tab-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf3fa;
    color: var(--primary);
    border-radius: 10px;
    margin-right: 10px;
}


/* =========================================================
   EVENT CONTENT
========================================================= */

.event-content {
    padding: 45px;
}

.event-panel {
    display: none;
}

.event-panel.active {
    display: block;
}

.panel-heading {
    text-align: center;
    margin-bottom: 32px;
}

.panel-heading h2 {
    font-size: 25px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.panel-heading p {
    color: var(--muted);
    margin: 0;
}


/* =========================================================
   EVENT FORM
========================================================= */

.event-form-box {
    max-width: 600px;
    margin: 0 auto;
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.event-input-wrapper {
    position: relative;
}

.event-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 2;
}

.event-input {
    height: 52px;
    border-radius: 10px;
    border: 1px solid #d9dee7;
    padding-left: 45px;
    font-size: 15px;
    box-shadow: none !important;
}

.event-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(57, 33, 126, .08) !important;
}

.event-submit {
    width: 100%;
    height: 52px;
    border-radius: 10px;
    font-size: 15px;
}


/* =========================================================
   EVENT STEPS
========================================================= */

.event-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 650px;
    margin: 38px auto 0;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.event-step {
    text-align: center;
    position: relative;
}

.event-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 65%;
    width: 70%;
    height: 1px;
    background: #dfe4eb;
}

.step-number {
    width: 36px;
    height: 36px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf3fa;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.step-title {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.step-text {
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
}


/* =========================================================
   REGISTRATION CTA
========================================================= */

.registration-box {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.registration-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: #edf3fa;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.registration-box h2 {
    font-size: 25px;
    font-weight: 700;
    color: var(--primary);
}

.registration-box p {
    color: var(--muted);
    max-width: 500px;
    margin: 10px auto 25px;
}

.registration-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 9px;
    text-decoration: none;
}


/* =========================================================
   EVENT MESSAGES
========================================================= */

.event-message {
    max-width: 600px;
    margin: 0 auto 25px;
    padding: 13px 16px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
}

.event-message.error {
    background: #fff5f5;
    border: 1px solid #ffd6d9;
    color: #842029;
}

.event-message.success {
    background: #f0fdf4;
    border: 1px solid #c7f0d2;
    color: #166534;
}

.message-icon {
    font-size: 17px;
    margin-top: 1px;
}

.message-content {
    flex: 1;
}

.message-close {
    border: 0;
    background: transparent;
    color: inherit;
    opacity: .5;
    font-size: 18px;
    padding: 0;
}

.message-close:hover {
    opacity: 1;
}


/* =========================================================
   SECURITY NOTE
========================================================= */

.security-note {
    text-align: center;
    margin-top: 18px;
    color: #8a94a6;
    font-size: 12px;
}

.security-note i {
    margin-right: 5px;
}


/* =========================================================
   EVENTS LIST PAGE
========================================================= */

.events-page {
    padding: 55px 15px;
}

.events-wrapper {
    max-width: 1150px;
    margin: 0 auto;
}

.events-header {
    margin-bottom: 35px;
}

.events-header-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.events-label {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 7px;
}

.events-header h1 {
    color: var(--primary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.events-header p {
    color: var(--muted);
    margin: 0;
    font-size: 15px;
}

.verified-user {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 9px 14px;
    border-radius: 10px;
    color: #4b5563;
    font-size: 13px;
    white-space: nowrap;
}

.verified-user i {
    color: var(--success);
}


/* =========================================================
   EVENT CARDS
========================================================= */

.event-card {
    position: relative;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease,
                box-shadow .3s ease,
                border-color .3s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    border-color: #d8e2ef;
    box-shadow: 0 18px 40px rgba(0, 34, 82, .12);
}


/* =========================================================
   EVENT CARD IMAGE
========================================================= */

.event-card-image {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #edf3f8;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.06);
}

.event-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 34, 82, .30),
        transparent 60%
    );
    pointer-events: none;
}

.event-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        #eef4fa,
        #f8fafc
    );
    color: #8da0b5;
    font-size: 42px;
}


/* =========================================================
   EVENT STATUS
========================================================= */

.event-status {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;

    display: inline-flex;
    align-items: center;

    padding: 6px 11px;
    border-radius: 30px;

    font-size: 11px;
    font-weight: 700;

    background: rgba(255, 255, 255, .95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.status-open {
    color: #166534;
    background: #ecfdf3;
}

.status-upcoming {
    color: #92400e;
    background: #fffbeb;
}

.status-closed {
    color: #991b1b;
    background: #fef2f2;
}


/* =========================================================
   EVENT CARD BODY
========================================================= */

.event-card-body {
    padding: 21px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card-title {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 14px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 50px;
}


/* =========================================================
   EVENT CARD INFO
========================================================= */

.event-card-info {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 9px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.4;
}

.event-card-info i {
    width: 17px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
    font-size: 13px;
}


/* =========================================================
   EVENT CARD DESCRIPTION
========================================================= */

.event-card-description {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 9px 0 18px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================================================
   EVENT CARD FOOTER
========================================================= */

.event-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #edf0f4;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-card-fee {
    color: var(--primary);
    font-size: 17px;
    font-weight: 700;
}


/* =========================================================
   EVENT DETAILS BUTTON
========================================================= */

.event-details-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 10px 15px;
    border-radius: 9px;

    font-size: 13px;
    text-decoration: none;
}

.event-details-btn i {
    font-size: 11px;
    transition: transform .2s ease;
}

.event-details-btn:hover i {
    transform: translateX(3px);
}


/* =========================================================
   BROWSE EVENTS
========================================================= */

.browse-events {
    max-width: 280px;
    margin: 35px auto 0;
}

.browse-events .event-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}


/* =========================================================
   NO EVENTS
========================================================= */

.no-events {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 65px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.no-events-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: #edf3fa;
    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;
}

.no-events h3 {
    color: var(--primary);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 8px;
}

.no-events p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 0;
}


.event-detail-page {
    padding: 50px 15px 70px;
    background: #f8fafc;
}

.event-detail-wrapper {
    max-width: 1150px;
    margin: 0 auto;
}

.event-detail-back {
    margin-bottom: 20px;
}

.event-detail-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #002252;
    text-decoration: none;
    font-weight: 600;
}

.event-detail-back a:hover {
    color: #0d6efd;
}

.event-detail-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
}

.event-detail-image {
    width: 100%;
    height: 430px;
    background: #eef2f7;
    overflow: hidden;
}

.event-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-detail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 70px;
}

.event-detail-content {
    padding: 40px;
}

.event-detail-label {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 30px;
    background: #eaf2ff;
    color: #002252;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.event-detail-content h1 {
    margin: 0 0 30px;
    color: #061b3a;
    font-size: 38px;
    font-weight: 700;
}

.event-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.detail-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.detail-info-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: #eef4ff;
    color: #002252;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.detail-info-item span {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 5px;
}

.detail-info-item strong {
    display: block;
    color: #172033;
    font-size: 15px;
    line-height: 1.5;
}

.event-description-section {
    margin-top: 10px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.event-description-section h2 {
    font-size: 23px;
    color: #061b3a;
    margin-bottom: 15px;
}

.event-description-content {
    color: #475569;
    line-height: 1.8;
    font-size: 15px;
}

.event-register-box {
    margin-top: 35px;
    padding: 25px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.registration-options-title {
    color: #061b3a;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.registration-option {
    position: relative;
    height: 100%;
}

.registration-option input {
    position: absolute;
    opacity: 0;
}

.registration-option label {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all .2s ease;
}

.registration-option label:hover {
    border-color: #8aa4c7;
}

.registration-option input:checked + label {
    border-color: #002252;
    background: #f2f6fc;
}

.registration-option-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #eef4ff;
    color: #002252;
    display: flex;
    align-items: center;
    justify-content: center;
}

.registration-option-details {
    flex: 1;
}

.registration-option-details .option-name {
    display: block;
    color: #172033;
    font-weight: 700;
    margin-bottom: 4px;
}

.registration-option-details .option-fee {
    color: #002252;
    font-size: 17px;
    font-weight: 700;
}

.event-register-btn {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 14px 20px;
    background: #002252;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.event-register-btn:hover {
    background: #061b3a;
}

.event-register-btn i {
    margin-left: 8px;
}

.event-register-note {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.already-registered,
.registration-closed {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-radius: 12px;
}

.already-registered {
    background: #ecfdf5;
    color: #047857;
}

.registration-closed {
    background: #fff7ed;
    color: #c2410c;
}

.already-registered > i,
.registration-closed > i {
    font-size: 25px;
}

.already-registered strong,
.registration-closed strong {
    display: block;
    margin-bottom: 3px;
}

.already-registered span,
.registration-closed span {
    display: block;
    font-size: 14px;
}

@media (max-width: 767px) {

    .event-detail-page {
        padding-top: 30px;
    }

    .event-detail-image {
        height: 260px;
    }

    .event-detail-content {
        padding: 25px 20px;
    }

    .event-detail-content h1 {
        font-size: 28px;
    }

    .event-detail-info-grid {
        grid-template-columns: 1fr;
    }

}


.registration-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.registration-option {
    position: relative;
    height: 100%;
}

.registration-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.registration-option label {
    position: relative;
    min-height: 88px;
    padding: 14px 42px 14px 14px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 11px;
    cursor: pointer;
    transition: all .2s ease;
}

.registration-option label:hover {
    border-color: var(--primary-light);
}

.registration-option input:checked + label {
    border-color: var(--primary);
    background: rgba(57, 33, 126, .04);
}

.registration-option-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f8;
    color: var(--primary);
    border-radius: 10px;
    font-size: 18px;
}

.registration-option input:checked + label .registration-option-icon {
    background: var(--primary);
    color: #fff;
}

.registration-option-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-name {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.option-fee {
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
}

.registration-option label > .fa-circle-check {
    position: absolute;
    top: 14px;
    right: 14px;
    color: var(--primary);
    font-size: 17px;
    opacity: 0;
}

.registration-option input:checked + label > .fa-circle-check {
    opacity: 1;
}



@media (max-width: 767px) {

    .registration-options-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   EMAIL VERIFICATION MODAL
========================================================= */

.event-email-modal {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.20);
}


/* HEADER */

.event-email-modal .modal-header {
    padding: 24px 25px 18px;
    border-bottom: 1px solid #edf0f4;
    background: #ffffff;
}

.event-email-modal-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 15px;
}

.event-email-modal-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(57, 33, 126, 0.08);
    color: var(--primary);

    font-size: 19px;
}

.event-email-modal .modal-title {
    margin: 0;

    color: var(--primary-dark);

    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.event-email-modal-subtitle {
    margin: 4px 0 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.5;
}


/* CLOSE BUTTON */

.event-email-modal .btn-close {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 12px;
    height: 12px;

    opacity: .55;
}

.event-email-modal .btn-close:hover {
    opacity: 1;
}


/* BODY */

.event-email-modal .modal-body {
    padding: 25px;
}


/* LABEL */

.event-email-label {
    display: block;

    margin-bottom: 8px;

    color: var(--text);

    font-size: 13px;
    font-weight: 600;
}


/* INPUT */

.event-email-input-wrapper {
    position: relative;
}

.event-email-input-wrapper > i {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #9ca3af;

    font-size: 14px;

    z-index: 2;
}

.event-email-input-wrapper input {
    width: 100%;
    height: 50px;

    padding: 0 15px 0 42px;

    border: 1px solid #d9dee7;
    border-radius: 9px;

    color: var(--text);

    font-size: 14px;

    background: #fff;

    box-shadow: none;
}

.event-email-input-wrapper input::placeholder {
    color: #a0a7b2;
}

.event-email-input-wrapper input:focus {
    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(57, 33, 126, .08);
}


/* SECURITY NOTE */

.event-email-security-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;

    margin-top: 12px;

    color: #8a94a6;

    font-size: 12px;
    line-height: 1.5;
}

.event-email-security-note i {
    margin-top: 2px;

    color: var(--primary);
}


/* BUTTON */

.event-email-verify-btn {
    width: 100%;
    height: 50px;

    margin-top: 22px;

    border: 0;
    border-radius: 9px;

    background: var(--primary);
    color: #fff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: all .2s ease;
}

.event-email-verify-btn:hover {
    background: var(--primary-dark);
}

.event-email-verify-btn i {
    margin-left: 7px;
}


/* MESSAGES */

.event-email-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    padding: 11px 13px;
    margin-bottom: 15px;

    border-radius: 8px;

    font-size: 13px;
    line-height: 1.5;
}

.event-email-message.error {
    color: #842029;

    background: #fff5f5;

    border: 1px solid #ffd6d9;
}

.event-email-message.success {
    color: #166534;

    background: #f0fdf4;

    border: 1px solid #c7f0d2;
}


/* MOBILE */

@media (max-width: 575px) {

    .event-email-modal .modal-header {
        padding: 20px 18px 16px;
    }

    .event-email-modal .modal-body {
        padding: 20px 18px;
    }

    .event-email-modal-heading {
        gap: 10px;
    }

    .event-email-modal-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .event-email-modal .modal-title {
        font-size: 18px;
    }

    .event-email-modal-subtitle {
        font-size: 12px;
    }

}
/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .alumni-banner {
        height: 330px;
    }

    .top-bar {
        padding: 10px 15px;
    }

    .top-bar-inner {
        gap: 20px;
    }

    .top-location {
        font-size: 16px;
    }

    .top-location i {
        font-size: 22px;
    }

    .top-buttons {
        gap: 12px;
    }

    .top-btn {
        min-width: auto;
        height: 48px;
        padding: 0 18px;
        font-size: 14px;
    }

    .apply-btn {
        min-width: 110px;
    }

    .alumni-logo {
        width: 140px;
    }

    .alumni-logo img {
        max-width: 120px;
        max-height: 55px;
    }

    .alumni-title h1 {
        font-size: 26px;
    }
}


@media (max-width: 991px) {

    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-detail-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 767px) {

    .alumni-banner {
        height: 250px;
    }

    .top-bar {
        padding: 12px 15px;
    }

    .top-bar-inner {
        flex-direction: column;
        gap: 12px;
    }

    .top-location {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        white-space: normal;
        text-align: center;
    }

    .top-location i {
        font-size: 20px;
    }

    .top-buttons {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .top-btn {
        min-width: auto;
        height: 42px;
        padding: 0 16px;
        font-size: 13px;
    }

    .apply-btn {
        min-width: auto;
    }

    .alumni-header {
        padding: 10px 8px;
    }

    .alumni-header-inner {
        min-height: 65px;
    }

    .alumni-logo {
        width: 85px;
    }

    .alumni-logo img {
        max-width: 75px;
        max-height: 45px;
    }

    .alumni-title h1 {
        font-size: 18px;
    }

    .event-page {
        padding: 35px 12px;
    }

    .event-header h1 {
        font-size: 27px;
    }

    .event-content {
        padding: 30px 20px;
    }

    .event-tab {
        padding: 17px 10px;
        font-size: 13px;
    }

    .event-tab-icon {
        width: 32px;
        height: 32px;
        margin-right: 5px;
    }

    .event-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-step:not(:last-child)::after {
        display: none;
    }

    .panel-heading h2 {
        font-size: 22px;
    }

    .events-page {
        padding: 35px 12px;
    }

    .events-header-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .events-header h1 {
        font-size: 27px;
    }

    .event-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-card-image {
        height: 200px;
    }

    .event-card-body {
        padding: 18px;
    }

    .event-card-title {
        font-size: 17px;
    }

    .verified-user {
        width: 100%;
    }

    .event-detail-page {
        padding: 30px 12px 50px;
    }

    .event-detail-image {
        height: 230px;
    }

    .event-detail-content {
        padding: 25px 20px;
    }

    .event-detail-content h1 {
        font-size: 26px;
    }

    .event-detail-info-grid {
        grid-template-columns: 1fr;
    }

    .success-wrapper {
        margin: 20px 12px;
    }

    .receipt-section {
        padding: 20px;
    }

    .info-row {
        flex-direction: column;
        gap: 4px;
    }

    .info-value {
        text-align: left;
    }
}


@media (max-width: 480px) {

    .alumni-banner {
        height: 200px;
    }

    .top-location {
        font-size: 13px;
    }

    .top-buttons {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .top-btn {
        width: 100%;
        height: 42px;
    }

    .alumni-logo {
        width: 65px;
    }

    .alumni-logo img {
        max-width: 60px;
    }

    .alumni-title h1 {
        font-size: 16px;
    }
}


/* =========================================================
   PRINT
========================================================= */

@media print {

    body {
        background: #fff;
    }

    .success-wrapper {
        max-width: 100%;
        margin: 0;
    }

    .success-card {
        box-shadow: none !important;
    }

    .no-print {
        display: none !important;
    }
}