body.join-portal {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f7fa 100%);
    min-height: 100vh;
    font-family: 'Poppins', Arial, sans-serif;
}

.join-header {
    text-align: center;
    margin: 3rem 0 2rem 0;
}

.join-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.join-subtitle {
    color: #a8b2d1;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.join-main {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem 1rem;
}

.join-form {
    background: rgba(255,255,255,0.09);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.13);
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
}

.join-logo-small {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 16px 0 rgba(67,97,238,0.13);
    border: 2px solid #4ecdc4;
    background: #fff;
    z-index: 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    color: #4361ee;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.join-form input,
.join-form select,
.join-form textarea {
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
    background: rgba(255,255,255,0.13);
    color: #222;
    font-size: 1rem;
    resize: none;
    margin-top: 0.1rem;
}

.join-form textarea {
    min-height: 60px;
    max-height: 180px;
}

.join-form button {
    margin-top: 1.2rem;
    align-self: flex-end;
}

.form-success {
    margin-top: 1.2rem;
    color: #4ecdc4;
    font-weight: 700;
    text-align: center;
    font-size: 1.1rem;
    background: rgba(76,205,196,0.08);
    border-radius: 10px;
    padding: 0.7rem 1rem;
}

@media (max-width: 600px) {
    .join-main {
        padding: 1rem 0.2rem 2rem 0.2rem;
    }
    .join-form {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
    .join-logo-small {
        top: -30px;
        left: -20px;
        width: 48px;
        height: 48px;
    }
    .join-header h1 {
        font-size: 1.5rem;
    }
}

.classic-bg {
    background: #f9f7f1 url('https://www.transparenttextures.com/patterns/diamond-upholstery.png');
    min-height: 100vh;
}

.classic-logo-container {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
}
.classic-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #d4af37;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 4px 24px 0 rgba(212,175,55,0.13);
}

.classic-header h1 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.7rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
}
.classic-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37 60%, #4361ee 100%);
    margin: 0.5rem auto 1.2rem auto;
    border-radius: 2px;
}

.classic-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(44, 44, 44, 0.13);
    border: 2px solid #d4af37;
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.classic-form .form-group label {
    font-family: 'Georgia', serif;
    color: #4361ee;
    font-weight: 600;
}

.classic-form input,
.classic-form select,
.classic-form textarea {
    padding: 0.8rem 1rem;
    border-radius: 6px;
    border: 1.5px solid #d4af37;
    background: #f9f7f1;
    color: #222;
    font-size: 1rem;
    font-family: 'Poppins', Arial, sans-serif;
    margin-top: 0.1rem;
    box-shadow: none;
    transition: border 0.2s;
}
.classic-form input:focus,
.classic-form select:focus,
.classic-form textarea:focus {
    border: 1.5px solid #4361ee;
    outline: none;
}

.classic-button {
    background: linear-gradient(90deg, #d4af37 60%, #4361ee 100%);
    color: #fff;
    font-family: 'Georgia', serif;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 0.9rem 2.2rem;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(67,97,238,0.08);
    transition: background 0.2s, color 0.2s;
}
.classic-button:hover {
    background: #4361ee;
    color: #fff;
}

/* Remove glass effect for classic form */
.classic-form.glass-effect {
    background: #fff !important;
    border: 2px solid #d4af37 !important;
    box-shadow: 0 8px 32px 0 rgba(44, 44, 44, 0.13) !important;
}

@media (max-width: 600px) {
    .classic-logo {
        width: 70px;
        height: 70px;
    }
    .classic-header h1 {
        font-size: 1.3rem;
    }
    .classic-form {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
}

html, body {
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    background: #FFF6E6;
    font-family: 'Poppins', Arial, sans-serif;
}

.join-dashboard-bg {
    background: #FFF6E6;
    min-height: 100vh;
    font-family: 'Poppins', Arial, sans-serif;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

.dashboard-sidebar {
    background: #8B1E3F;
    color: #fff;
    width: 320px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    border-radius: 18px 0 0 18px;
    box-shadow: 0 8px 32px 0 rgba(139,30,63,0.13);
    font-family: 'Poppins', Arial, sans-serif;
}
.sidebar-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
}
.sidebar-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 12px 0 rgba(139,30,63,0.13);
}
.sidebar-welcome {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2.2rem;
    text-align: center;
}
.sidebar-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.sidebar-link {
    background: none;
    color: #fff;
    font-size: 1.15rem;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-family: 'Poppins', Arial, sans-serif;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}
.sidebar-link.active, .sidebar-link:hover {
    background: #6A1330;
    color: #fff;
}
.sidebar-link.logout {
    color: #FFE066;
}

.dashboard-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    min-height: 100vh;
    height: auto;
    overflow: visible;
    background: #FFF6E6;
}
.dashboard-card {
    background: #fff;
    border-radius: 0 18px 18px 0;
    box-shadow: 0 12px 40px 0 rgba(139,30,63,0.18), 0 2px 8px 0 rgba(139,30,63,0.08);
    padding: 3.5rem 3.5rem 2.5rem 3.5rem;
    min-width: 600px;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2.5px solid #8B1E3F;
    position: relative;
    overflow: hidden;
}
.dashboard-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    height: 350px;
    transform: translate(-50%, -50%);
    background: url('../assets/images/SCHOOL LOGO.jpeg') no-repeat center center;
    background-size: contain;
    opacity: 0.08;
    filter: blur(1px);
    pointer-events: none;
    z-index: 0;
}
.dashboard-card > * {
    position: relative;
    z-index: 1;
}
.dashboard-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #8B1E3F;
    margin-bottom: 2.5rem;
    text-align: center;
    font-family: 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 4px 18px rgba(139,30,63,0.10), 0 1px 0 #fff;
    background: linear-gradient(90deg, #fff6e6 60%, #fbeee6 100%);
    border-radius: 12px;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    box-shadow: 0 2px 12px 0 rgba(139,30,63,0.08);
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.dashboard-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-family: 'Poppins', Arial, sans-serif;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}
.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.2rem;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.dashboard-form label {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #8B1E3F;
    letter-spacing: 1.5px;
    margin-bottom: 0.3rem;
}
.dashboard-form input,
.dashboard-form select {
    padding: 1.2rem 1.3rem;
    border-radius: 10px;
    border: 2px solid #E5C1B3;
    background: #FFF6E6;
    color: #8B1E3F;
    font-size: 1.15rem;
    margin-top: 0.1rem;
    box-shadow: none;
    transition: border 0.2s;
    height: 3.2rem;
    font-family: 'Poppins', Arial, sans-serif;
}
.dashboard-form input:focus,
.dashboard-form select:focus {
    border: 2px solid #8B1E3F;
    outline: none;
}
.dashboard-btn {
    background: #8B1E3F;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 1.2rem 2.8rem;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(139,30,63,0.08);
    transition: background 0.2s, color 0.2s;
    align-self: flex-end;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}
.dashboard-btn:hover {
    background: #6A1330;
    color: #fff;
}
.form-success {
    margin-top: 1.5rem;
    color: #8B1E3F;
    font-weight: 700;
    text-align: center;
    font-size: 1.2rem;
    background: rgba(139,30,63,0.08);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-family: 'Poppins', Arial, sans-serif;
}
@media (max-width: 900px) {
    .dashboard-container {
        flex-direction: column;
    }
    .dashboard-sidebar {
        flex-direction: row;
        width: 100%;
        border-radius: 0;
        padding: 1.2rem 0.5rem;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .dashboard-main {
        padding: 1.2rem 0;
    }
    .dashboard-card {
        border-radius: 0 0 18px 18px;
        min-width: unset;
        max-width: 100vw;
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
}
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    .dashboard-card {
        padding: 0.7rem 0.2rem 0.5rem 0.2rem;
        min-width: unset;
    }
    .dashboard-title {
        font-size: 1.1rem;
    }
    .sidebar-logo {
        width: 40px;
        height: 40px;
    }
}

.billing-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 10, 20, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.billing-modal-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px 0 rgba(139,30,63,0.18);
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    min-width: 700px;
    max-width: 900px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.close-billing {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #8B1E3F;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
}
.billing-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
}
.billing-steps .step {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 1.3rem;
    color: #8B1E3F;
    opacity: 0.5;
    position: relative;
    padding-bottom: 0.2rem;
    transition: opacity 0.2s;
}
.billing-steps .step.active {
    opacity: 1;
    color: #8B1E3F;
    border-bottom: 3px solid #8B1E3F;
}
.billing-flex {
    display: flex;
    gap: 2.5rem;
}
.billing-summary {
    background: #FFF6E6;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(139,30,63,0.06);
    padding: 1.5rem 1.5rem 1.2rem 1.5rem;
    min-width: 220px;
    flex: 1;
}
.billing-summary h3 {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 1.2rem;
    color: #8B1E3F;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
    color: #8B1E3F;
}
.summary-row.total {
    font-weight: 700;
    color: #8B1E3F;
    font-size: 1.15rem;
    border-top: 1.5px solid #E5C1B3;
    padding-top: 0.7rem;
    margin-top: 0.7rem;
}
.billing-payment {
    background: #FFF6E6;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(139,30,63,0.06);
    padding: 1.5rem 1.5rem 1.2rem 1.5rem;
    flex: 2;
    min-width: 320px;
}
.billing-payment h3 {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 1.2rem;
    color: #8B1E3F;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}
.payment-methods {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}
.payment-methods img {
    height: 32px;
    width: auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px 0 rgba(139,30,63,0.08);
    padding: 0.2rem 0.5rem;
}
.payment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.payment-form input {
    padding: 1rem 1.1rem;
    border-radius: 8px;
    border: 1.5px solid #E5C1B3;
    background: #fff;
    color: #8B1E3F;
    font-size: 1.1rem;
    font-family: 'Poppins', Arial, sans-serif;
    margin-bottom: 0.2rem;
    transition: border 0.2s;
}
.payment-form input:focus {
    border: 1.5px solid #8B1E3F;
    outline: none;
}
.payment-row {
    display: flex;
    gap: 1rem;
}
.pay-btn {
    background: linear-gradient(90deg, #8B1E3F 60%, #E5C1B3 100%);
    color: #fff;
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 1.1rem 0;
    margin-top: 0.7rem;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(139,30,63,0.08);
    transition: background 0.2s, color 0.2s;
    width: 100%;
    letter-spacing: 1.5px;
}
.pay-btn:hover {
    background: linear-gradient(90deg, #6A1330 60%, #E5C1B3 100%);
    color: #fff;
}
@media (max-width: 900px) {
    .billing-modal-content {
        min-width: unset;
        max-width: 98vw;
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
    .billing-flex {
        flex-direction: column;
        gap: 1.2rem;
    }
    .billing-summary, .billing-payment {
        min-width: unset;
        width: 100%;
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
}

.momo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1.5px solid #E5C1B3;
    color: #8B1E3F;
    border-radius: 8px;
    padding: 0.4rem 1rem;
    font-size: 1rem;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    margin-right: 0.5rem;
    margin-bottom: 0.2rem;
    transition: background 0.2s, border 0.2s, color 0.2s;
}
.momo-btn:hover {
    background: #8B1E3F;
    color: #fff;
    border: 1.5px solid #8B1E3F;
}

.momo-btn img {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px 0 rgba(139,30,63,0.08);
    margin-right: 0.5rem;
    height: 32px !important;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    padding: 0;
    object-fit: contain;
}

.cancel-billing {
    position: absolute;
    top: 1.2rem;
    left: 1.5rem;
    width: 2.2rem;
    height: 2.2rem;
    background: #8B1E3F;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 11;
    box-shadow: 0 2px 8px 0 rgba(139,30,63,0.10);
    transition: background 0.2s, color 0.2s;
}
.cancel-billing:hover {
    background: #6A1330;
    color: #FFE066;
} 