:root {
    --eduportal-primary: #4f46e5;
    --eduportal-primary-hover: #4338ca;
    --eduportal-secondary: #f43f5e;
    --eduportal-accent: #10b981;
    --eduportal-bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --eduportal-text-main: #1e293b;
    --eduportal-text-muted: #64748b;
    --eduportal-glass: rgba(255, 255, 255, 0.85);
    --eduportal-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.eduportal-form-container {
    max-width: 850px;
    margin: 3rem auto;
    padding: 3rem;
    border-radius: 24px;
    background: var(--eduportal-glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--eduportal-shadow-lg);
    color: var(--eduportal-text-main);
    font-family: 'Outfit', 'Inter', sans-serif;
}

.eduportal-form-container .form-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-align: center;
    background: linear-gradient(to right, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
}

.eduportal-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.eduportal-form-container .form-group label,
.mockup-profile-container .form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--eduportal-text-main);
}

.eduportal-form-container .form-group input, 
.eduportal-form-container .form-group select, 
.eduportal-form-container .form-group textarea,
.mockup-profile-container .form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.eduportal-form-container .form-group input:focus,
.eduportal-form-container .form-group select:focus,
.eduportal-form-container .form-group textarea:focus,
.mockup-profile-container .form-group input:focus {
    outline: none;
    border-color: var(--eduportal-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
    transform: translateY(-1px);
}

body .eduportal-form-container button.submit-btn,
body .mockup-profile-container button.submit-btn,
body input[type="submit"].submit-btn {
    width: auto !important;
    display: inline-block !important;
    padding: 0.8rem 1.75rem !important;
    margin-top: 1.5rem;
    border: none !important;
    border-radius: 10px !important;
    background-color: #4f46e5 !important;
    background: linear-gradient(135deg, #4f46e5, #4338ca) !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.025em;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3) !important;
    text-align: center !important;
    text-shadow: none !important;
}

body .eduportal-form-container button.submit-btn:hover,
body .mockup-profile-container button.submit-btn:hover,
body input[type="submit"].submit-btn:hover {
    background-color: #4338ca !important;
    background: linear-gradient(135deg, #4338ca, #3730a3) !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4) !important;
}

/* REDESIGNED DASHBOARD */
.eduportal-dashboard-container {
    display: flex;
    width: 100%;
    max-width: 1550px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', sans-serif;
    min-height: 700px;
    box-sizing: border-box;
}

.dashboard-sidebar {
    width: 270px;
    background: linear-gradient(180deg, #0c1e3a 0%, #07122a 100%) !important;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    flex-shrink: 0;
    position: sticky;
    top: 32px;
    height: calc(100vh - 32px);
    overflow-y: auto;
}

/* Custom Scrollbar for Sidebar */
.dashboard-sidebar::-webkit-scrollbar {
    width: 6px;
}
.dashboard-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.dashboard-sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}
.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.student-profile-mini {
    padding: 0 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 1.25rem;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

/* Avatar Edit Button */
body .avatar-wrapper .avatar-edit-btn {
    position: absolute !important;
    bottom: 15px !important;
    right: -4px !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #6366f1 !important;
    border: 2px solid #0f172a !important;
    color: #fff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    transition: all 0.2s !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
    min-width: 0 !important;
}

body .avatar-wrapper .avatar-edit-btn:hover {
    transform: scale(1.15) !important;
    background: #4f46e5 !important;
}

body .avatar-wrapper .avatar-edit-btn .dashicons {
    font-size: 13px !important;
    width: auto !important;
    height: auto !important;
    color: #fff !important;
}

.student-avatar {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    margin-bottom: 0.75rem;
    border: 2.5px solid #4f46e5;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.25);
    object-fit: cover;
}

.student-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    text-align: center;
    line-height: 1.3;
}

.student-course-badge {
    background: rgba(79, 70, 229, 0.2);
    color: #818cf8;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.4rem;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0 0.65rem;
}

.dashboard-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    color: #8899b0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
}

.dashboard-nav .nav-item .dashicons {
    margin-right: 9px;
    font-size: 15px;
    width: 15px;
    height: 15px;
    opacity: 0.55;
}

.dashboard-nav .nav-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.045);
    transform: translateX(3px);
}

.dashboard-nav .nav-item.active {
    background: #4f46e5;
    color: white;
    box-shadow: 0 6px 14px -4px rgba(79, 70, 229, 0.35);
}

.dashboard-nav .nav-item.active .dashicons {
    opacity: 1;
}

.logout-link {
    margin-top: 2rem;
    color: #f43f5e !important;
    border: 1px solid rgba(244, 63, 94, 0.15);
}

.logout-link:hover {
    background: rgba(244, 63, 94, 0.08) !important;
    border-color: #f43f5e;
}

.dashboard-content {
    flex: 1;
    min-width: 0;
    padding: 2rem 36px;
    overflow-y: auto;
    background: #f8fafc;
    box-sizing: border-box;
}

.eduportal-dashboard-container .section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.eduportal-dashboard-container .section-title::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background: #e2e8f0;
}

/* Summary Grid */
.eduportal-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.summary-card {
    background: white;
    padding: 1.2rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.card-info h4 {
    margin: 0;
    font-size: 0.68rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.card-info p {
    margin: 0.15rem 0 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
}

.dashboard-section {
    display: none;
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.dashboard-section.active {
    display: block;
}

/* Profile Mockup Styles */
.mockup-profile-container {
    background: white;
    padding: 1rem;
    border-radius: 12px;
}

.mockup-header-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
    border-bottom: 4px solid #1e293b;
    display: inline-block;
    padding-bottom: 5px;
}

.mockup-card-border {
    border: 2px solid #64748b;
    padding: 1.5rem;
    border-radius: 8px;
    background: white;
}

.mockup-section-label {
    background: #f8fafc;
    color: #4338ca;
    font-weight: 800;
    padding: 0.5rem 1rem;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.mockup-flex-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.mockup-info-table {
    flex: 1;
}

.mock-tr {
    display: flex;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.6rem 0;
}

.mock-tr-split {
    display: flex;
    gap: 2rem;
}

.mock-tr-split .mock-tr {
    flex: 1;
}

.mock-td.label {
    width: 160px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
}

.mock-td.value {
    flex: 1;
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 600;
}

.mockup-photo-box {
    width: 150px;
    height: 180px;
    border: 1px solid #e2e8f0;
    padding: 5px;
    background: white;
}

.mockup-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mockup-section-label.center {
    border-top: 2px solid #e2e8f0;
    margin-top: 1rem;
}

/* PROFESSIONAL PRINTABLE ID CARD */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

body button.print-id-btn {
    background-color: #10b981 !important;
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2) !important;
}

body button.print-id-btn:hover {
    background-color: #059669 !important;
    background: linear-gradient(135deg, #059669, #047857) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3) !important;
}

.id-card-professional {
    width: 450px;
    height: 280px;
    background: white;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin: 0 auto;
}

.id-card-inner {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.id-card-header {
    background: #04142c !important;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 3px solid #6366f1;
}

.univ-logo-mock {
    width: 40px;
    height: 40px;
    background: #6366f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.univ-name h3 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 900;
    color: white;
    letter-spacing: 0.05em;
}

.univ-name p {
    margin: 0;
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.id-card-main {
    flex: 1;
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.id-card-photo img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f1f5f9;
}

.id-card-details {
    flex: 1;
}

.detail-item {
    margin-bottom: 0.75rem;
}

.detail-item label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 800;
    margin-bottom: 2px;
}

.detail-item h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #0f172a;
    font-weight: 800;
}

.detail-item p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
}

.id-card-footer {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qr-code-mock {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.validity label {
    display: block;
    font-size: 0.55rem;
    color: #94a3b8;
    font-weight: 800;
}

.validity p {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
}

.footer-right {
    text-align: center;
}

.signature-line {
    width: 100px;
    height: 1px;
    background: #cbd5e1;
    margin-bottom: 4px;
}

.footer-right p {
    margin: 0;
    font-size: 0.55rem;
    color: #94a3b8;
    font-weight: 700;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    .id-card-printable-area, .id-card-printable-area * {
        visibility: visible;
    }
    .id-card-printable-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding-top: 20px;
    }
    .id-card-professional {
        box-shadow: none !important;
        border: 1px solid #000 !important;
        -webkit-print-color-adjust: exact;
        margin: 0 auto !important;
    }
}

/* RESPONSIVE TABLES & CARDS */
.eduportal-table-container {
    width: 100%;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

.eduportal-responsive-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.eduportal-responsive-table th {
    background: #0f172a;
    color: #ffffff;
    padding: 1rem 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.eduportal-responsive-table td {
    padding: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
    white-space: nowrap;
}

.eduportal-responsive-table tr:last-child td {
    border-bottom: none;
}

.eduportal-responsive-table tr:hover td {
    background: #f8fafc;
}

/* Responsive Grid Utilities */
.eduportal-grid-2-1 {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 2rem !important;
    align-items: start !important;
}

.eduportal-grid-1-2 {
    display: grid !important;
    grid-template-columns: 1fr 2fr !important;
    gap: 1.25rem !important;
    align-items: start !important;
}

@media (max-width: 1024px) {
    .eduportal-grid-2-1,
    .eduportal-grid-1-2 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .eduportal-dashboard-container {
        flex-direction: column;
        min-height: auto;
        margin: 1rem auto;
        border-radius: 16px;
    }
    .dashboard-sidebar {
        width: 100%;
        padding: 1rem 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px 16px 0 0;
    }
    .student-profile-mini {
        padding: 0 0 1rem 0;
        margin-bottom: 0.75rem;
        border-bottom: none;
        flex-direction: row;
        gap: 1rem;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }
    .student-profile-mini .avatar-wrapper {
        margin-bottom: 0;
    }
    .student-profile-mini .student-name {
        text-align: left;
        margin-bottom: 0.25rem;
        font-size: 1.1rem;
    }
    .student-profile-mini .student-course-badge {
        margin-top: 0;
        display: inline-block;
    }
    .dashboard-nav {
        flex-direction: row !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        gap: 8px !important;
        padding: 0.5rem 0 1rem 0 !important;
        justify-content: flex-start !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .dashboard-nav::-webkit-scrollbar {
        display: none;
    }
    .dashboard-nav .nav-item {
        flex: 0 0 auto !important;
        margin-bottom: 0 !important;
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
        transform: none !important;
    }
    .logout-link {
        margin-top: 0 !important;
    }
    .dashboard-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .dashboard-content {
        padding: 1.25rem;
    }
    .mockup-flex-row {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    .mockup-photo-box {
        width: 120px;
        height: 140px;
        margin: 0 auto;
    }
    .course-fee-breakdown-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem !important;
        gap: 1.25rem !important;
    }
    .course-fee-breakdown-card div {
        text-align: center !important;
        width: 100%;
    }
    .mock-tr-split {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .mock-td.label {
        width: 130px;
    }
    .eduportal-summary-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .id-card-professional {
        width: 100%;
        max-width: 380px;
        height: auto;
    }
    .id-card-main {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .id-card-photo img {
        width: 90px;
        height: 110px;
    }
    .eduportal-dashboard-container .section-title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
}

/* ADMIN ACCESS LOGIN PORTAL */
.eduportal-admin-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.eduportal-admin-login-card {
    width: 100%;
    max-width: 440px;
    background: rgba(15, 23, 42, 0.95); /* Deep slate-black */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.15);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    color: #f8fafc;
    box-sizing: border-box;
    backdrop-filter: blur(20px);
}

.eduportal-admin-login-card .login-brand {
    text-align: center;
    margin-bottom: 2.5rem;
}

.eduportal-admin-login-card .login-brand .dashicons {
    font-size: 54px;
    width: 54px;
    height: 54px;
    color: #818cf8; /* Indigo accent */
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 12px rgba(129, 140, 248, 0.3));
}

.eduportal-admin-login-card .login-brand h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.025em;
}

.eduportal-admin-login-card .login-brand p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

.eduportal-admin-login-card .form-group {
    margin-bottom: 1.5rem;
}

.eduportal-admin-login-card .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.eduportal-admin-login-card .form-group input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.eduportal-admin-login-card .form-group input::placeholder {
    color: #475569;
}

.eduportal-admin-login-card .form-group input:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25);
}

.eduportal-admin-login-card .submit-btn {
    width: 100% !important;
    display: block !important;
    padding: 0.9rem 1.75rem !important;
    margin-top: 2rem;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4) !important;
    text-align: center !important;
}

.eduportal-admin-login-card .submit-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca) !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(99, 102, 241, 0.5) !important;
}

.eduportal-admin-login-card .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.eduportal-admin-login-card .form-message {
    margin-top: 1.25rem;
    text-align: center;
}

/* ===== ROLE LOGIN NOTE EFFECT ===== */
#eduportal-login-note {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    min-width: 320px;
    max-width: 420px;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 20px 40px -8px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.08);
    animation: eduportalNoteSlideIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
    font-family: 'Inter', sans-serif;
    color: #fff;
    backdrop-filter: blur(16px);
    cursor: default;
}
#eduportal-login-note.note-admin    { background: linear-gradient(135deg, rgba(239,68,68,0.92), rgba(220,38,38,0.92)); }
#eduportal-login-note.note-user     { background: linear-gradient(135deg, rgba(79,70,229,0.92), rgba(67,56,202,0.92)); }
#eduportal-login-note.note-teacher  { background: linear-gradient(135deg, rgba(37,99,235,0.92), rgba(29,78,216,0.92)); }
#eduportal-login-note.note-custom   { background: linear-gradient(135deg, rgba(16,185,129,0.92), rgba(5,150,105,0.92)); }
@keyframes eduportalNoteSlideIn {
    from { opacity: 0; transform: translateX(60px) scale(0.92); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes eduportalNoteSlideOut {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to   { opacity: 0; transform: translateX(60px) scale(0.92); }
}
#eduportal-login-note.note-hiding {
    animation: eduportalNoteSlideOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
.eduportal-note-icon {
    font-size: 28px; width: 28px; height: 28px; flex-shrink: 0; opacity: 0.95; margin-top: 2px;
}
.eduportal-note-body { flex: 1; }
.eduportal-note-greeting {
    font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.08em; opacity: 0.8; margin-bottom: 2px;
}
.eduportal-note-name {
    font-size: 1.1rem; font-weight: 900; line-height: 1.2; margin-bottom: 4px;
}
.eduportal-note-msg {
    font-size: 0.82rem; font-weight: 500; opacity: 0.85; line-height: 1.4;
}
.eduportal-note-role-tag {
    display: inline-block; margin-top: 6px; background: rgba(255,255,255,0.18);
    padding: 2px 8px; border-radius: 6px; font-size: 0.72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.eduportal-note-close {
    background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer;
    font-size: 18px; line-height: 1; padding: 2px; flex-shrink: 0;
    transition: color 0.2s ease;
}
.eduportal-note-close:hover { color: #fff; }
.eduportal-note-progress {
    position: absolute; bottom: 0; left: 0; height: 3px;
    background: rgba(255,255,255,0.35); border-radius: 0 0 16px 16px;
    animation: eduportalNoteProgress 6s linear forwards;
    width: 100%;
}
@keyframes eduportalNoteProgress {
    from { width: 100%; }
    to   { width: 0%; }
}

/* ========================================== */
/* STUDENT ADMISSION FORM REDESIGN STYLE      */
/* ========================================== */

.eduportal-admission-wrapper {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2.5rem;
    border-radius: 16px;
    background-color: #fffdeb;
    border: 1px solid #f1eec8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-family: 'Inter', sans-serif;
    color: #4b3802;
    box-sizing: border-box;
}

.eduportal-admission-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5dfa4;
    padding-bottom: 1rem;
}

.eduportal-admission-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #382902;
}

.eduportal-admission-header p {
    margin: 4px 0 0 0;
    font-size: 1rem;
    color: #705b1c;
    font-style: italic;
}

.eduportal-admission-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem 1rem;
}

/* Col helper classes */
.eduportal-admission-grid .form-group {
    display: flex;
    flex-direction: column;
}

.eduportal-admission-grid .col-12 { grid-column: span 12; }
.eduportal-admission-grid .col-6  { grid-column: span 6; }
.eduportal-admission-grid .col-4  { grid-column: span 4; }

.eduportal-admission-grid .form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #5d4808;
    display: block;
}

.eduportal-admission-grid .required-star {
    color: #d9381e;
    margin-left: 2px;
}

.eduportal-admission-grid .form-group input[type="text"],
.eduportal-admission-grid .form-group input[type="email"],
.eduportal-admission-grid .form-group input[type="tel"],
.eduportal-admission-grid .form-group input[type="number"],
.eduportal-admission-grid .form-group input[type="date"],
.eduportal-admission-grid .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d3cfa3;
    border-radius: 4px;
    background-color: #ffffff;
    font-size: 0.95rem;
    color: #2b1f02;
    transition: all 0.2s ease;
    box-sizing: border-box;
    height: 42px;
}

.eduportal-admission-grid .form-group input:focus,
.eduportal-admission-grid .form-group select:focus {
    outline: none;
    border-color: #8c7f20;
    box-shadow: 0 0 0 3px rgba(140, 127, 32, 0.15);
}

/* Styled file upload buttons */
.eduportal-admission-grid .file-group input[type="file"] {
    font-size: 0.85rem;
    color: #705b1c;
    background: #fdfcf3;
    padding: 6px;
    border: 1px dashed #d3cfa3;
    border-radius: 4px;
}

.eduportal-admission-grid .terms-group {
    margin-top: 1rem;
    display: flex;
    align-items: center;
}

.eduportal-admission-grid .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b3802;
    cursor: pointer;
}

.eduportal-admission-grid .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}

.eduportal-admission-footer {
    margin-top: 2rem;
    border-top: 1px solid #e5dfa4;
    padding-top: 1.5rem;
    text-align: left;
}

.eduportal-admission-wrapper button.submit-btn {
    padding: 0.75rem 2.5rem !important;
    border-radius: 4px !important;
    background: #1e1b4b !important; /* Dark indigo */
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.eduportal-admission-wrapper button.submit-btn:hover {
    background: #12102f !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 768px) {
    .eduportal-admission-wrapper {
        padding: 1.5rem;
        margin: 1rem;
    }
    .eduportal-admission-grid .col-6,
    .eduportal-admission-grid .col-4 {
        grid-column: span 12;
    }
}

/* ===== SPINNER ANIMATION ===== */
@keyframes eduportal-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.submit-btn .spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: eduportal-spin 0.8s linear infinite;
    vertical-align: middle;
    margin-left: 8px;
}

/* ===== ALERT MESSAGE STYLES ===== */
.eduportal-alert {
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.97rem;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUp 0.4s ease;
}

.eduportal-alert.success {
    background: #d1fae5;
    color: #065f46;
    border: 1.5px solid #6ee7b7;
}

.eduportal-alert.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1.5px solid #fca5a5;
}

.eduportal-alert.info {
    background: #dbeafe;
    color: #1e40af;
    border: 1.5px solid #93c5fd;
}

/* ===== PENDING APPROVAL NOTICE ===== */
.eduportal-pending-notice {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

.eduportal-pending-notice h3 {
    color: #92400e;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.eduportal-pending-notice p {
    color: #78350f;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== SUCCESS MESSAGE AFTER REGISTRATION ===== */
.eduportal-registration-success {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid #10b981;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 560px;
    margin: 3rem auto;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    animation: slideUp 0.5s ease;
}

.eduportal-registration-success h2 {
    color: #065f46;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.eduportal-registration-success p {
    color: #047857;
    font-size: 1rem;
    line-height: 1.7;
}
