﻿/* ==========================================================================
   FAHAM ADMISSIONS - PREMIUM GLOBAL STYLESHEET
   ========================================================================== */

:root {
    --mud-appbar-height: 72px;
}

/* =========================================
   1. GLOBAL ANIMATIONS
   ========================================= */
.fade-in {
    animation: fadeIn 2s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 80px) scale(1.1);
    }

    100% {
        transform: translate(-30px, -50px) scale(0.9);
    }
}

/* =========================================
   2. MIDNIGHT AURORA BACKGROUND (Auth & Layout)
   ========================================= */
.premium-auth-layout,
.premium-reg-layout {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-color: #020617;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    padding: 2rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.premium-layout-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    /* Updated to the theme's subtle dot grid pattern */
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    transition: background-color 0.3s ease;
}

/* Ensure the grid dots are dark when in light mode */
.bg-light-mode.premium-layout-bg {
    background-image: radial-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1px);
}

.bg-dark-mode {
    /* Exact dark background from the auth theme */
    background-color: #090d16;
}

.bg-light-mode {
    background-color: #f8fafc;
}

.ambient-bg {
    position: absolute;
    border-radius: 50%;
    /* Adjusted blur to match the auth page's light orbs */
    filter: blur(90px);
    z-index: 0;
    opacity: 0.45;
    animation: float 25s ease-in-out infinite alternate;
}

.premium-layout-bg .ambient-bg {
    position: fixed;
    opacity: 0.4;
}

.shape-bg-1 {
    width: 550px;
    height: 550px;
    /* Theme Primary Blue Glow */
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6), transparent 70%);
    top: -100px;
    left: -50px;
}

.shape-bg-2 {
    width: 500px;
    height: 500px;
    /* Theme Secondary Purple Glow */
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 70%);
    bottom: -100px;
    right: 5%;
    animation-delay: -5s;
}

.shape-bg-3 {
    width: 450px;
    height: 450px;
    /* Theme Accent Cyan Glow */
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45), transparent 70%);
    top: 30%;
    left: 35%;
    animation-delay: -10s;
}

/* =========================================
   3. MAIN LAYOUT (Navbar, Sidebar, Banner)
   ========================================= */
.premium-layout-root {
    background-color: transparent !important;
}

.premium-navbar {
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;
}

.premium-drawer {
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-right: 1px solid rgba(128, 128, 128, 0.15) !important;
}

.premium-main-content {
    min-height: 100vh;
    position: relative;
}

.premium-page-banner {
    min-height: 110px;
    height: auto;
    padding: 16px 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
    background: var(--mud-palette-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(128, 128, 128, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.premium-banner-watermark {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%) rotate(-10deg);
    opacity: 0.04;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

    .premium-banner-watermark .mud-icon-root {
        font-size: 160px !important;
        color: var(--mud-palette-text-primary) !important;
    }

.premium-banner-profile-box {
    width: 320px;
    border-right: 1px solid rgba(128, 128, 128, 0.15);
}

.premium-banner-avatar {
    border: 2px solid var(--mud-palette-primary);
    background: var(--mud-palette-background-grey);
}

.premium-banner-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: rgba(128, 128, 128, 0.1);
    color: var(--mud-palette-text-primary) !important;
    transition: all 0.2s;
}

    .premium-banner-icon-btn:hover {
        background-color: rgba(128, 128, 128, 0.2);
        transform: translateY(-2px);
    }

    .premium-banner-icon-btn.error-btn:hover {
        background-color: rgba(239, 68, 68, 0.15);
        color: #ef4444 !important;
    }

.premium-breadcrumbs ul, .premium-breadcrumbs ol {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: 0 !important;
}

    .premium-breadcrumbs ul::-webkit-scrollbar, .premium-breadcrumbs ol::-webkit-scrollbar {
        display: none;
    }

.premium-breadcrumbs .mud-breadcrumb-item, .premium-breadcrumbs .mud-breadcrumb-item a {
    white-space: nowrap !important;
}

.premium-breadcrumbs .mud-breadcrumb-separator {
    color: var(--mud-palette-text-secondary) !important;
    opacity: 0.5;
}
.light-theme .premium-navbar,
.light-theme .premium-drawer,
.light-theme .premium-page-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(241, 245, 249, 0.3) 100%) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
}

/* Light mode specific button overrides for the Banner */
.light-theme .premium-banner-icon-btn {
    background-color: rgba(37, 99, 235, 0.08);
    color: #2563eb !important;
}

    .light-theme .premium-banner-icon-btn:hover {
        background-color: rgba(37, 99, 235, 0.15);
    }

    .light-theme .premium-banner-icon-btn.error-btn {
        background-color: rgba(239, 68, 68, 0.08);
        color: #ef4444 !important;
    }

        .light-theme .premium-banner-icon-btn.error-btn:hover {
            background-color: rgba(239, 68, 68, 0.15);
        }
/* =========================================
   4. AUTH CARDS (Login, Register, Recover)
   ========================================= */
.premium-auth-card, .premium-reg-card {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 1100px;
    background: transparent;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.premium-brand-side {
    flex: 1.1;
    position: relative;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.brand-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.brand-logo {
    height: 165px;
    margin: 165px auto;
    display: block;
}

.brand-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    outline: none !important;
}

.brand-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    outline: none !important;
}

.brand-footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* FIXED: Missing Brand Stats Styles */
.brand-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    display: block;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255,255,255,0.2);
}

.premium-form-side {
    flex: 1;
    background-color: #ffffff;
    padding: 4rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.form-title {
    color: #0f172a;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.form-subtitle {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

/* Instructions */
.instructions-glass-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1rem;
    text-align: left;
}

.instructions-header {
    display: flex;
    align-items: center;
    color: #60a5fa;
    font-size: 0.9rem;
}

.instructions-list {
    margin: 0;
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.7;
}

    .instructions-list li {
        margin-bottom: 0.5rem;
    }

.mobile-instructions-panel {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f8fafc;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

/* =========================================
   5. FORM INPUTS & ELEMENTS
   ========================================= */
.premium-input .mud-input-root,
.premium-input .mud-input-root-outlined {
    background-color: rgba(128, 128, 128, 0.06) !important;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.premium-input .mud-input-outlined-border {
    border-color: rgba(128, 128, 128, 0.2) !important;
    border-radius: 10px;
}

.premium-input .mud-input-root:hover .mud-input-outlined-border {
    border-color: rgba(128, 128, 128, 0.4) !important;
}

.premium-input .mud-input-root.mud-input-root-outlined:focus-within .mud-input-outlined-border {
    border-color: var(--mud-palette-primary) !important;
    border-width: 2px;
}

/* Fix for text color inside Inputs, Autocompletes, and Select Dropdowns */
.premium-input input,
.premium-input .mud-select-input,
.premium-input .mud-input-slot {
    color: var(--mud-palette-text-primary) !important;
    -webkit-text-fill-color: var(--mud-palette-text-primary) !important;
}

/* =========================================
   DISABLED STATE FIXES (Removes the White Box)
   ========================================= */
.premium-input.mud-disabled .mud-input-root,
.premium-input .mud-input-root.mud-disabled {
    background-color: rgba(128, 128, 128, 0.04) !important;
    border: 1px dashed rgba(128, 128, 128, 0.2) !important;
}

    /* Fix for disabled text color */
    .premium-input.mud-disabled input,
    .premium-input.mud-disabled .mud-select-input,
    .premium-input.mud-disabled .mud-input-slot,
    .premium-input .mud-input-root.mud-disabled .mud-input-slot {
        color: var(--mud-palette-text-secondary) !important;
        -webkit-text-fill-color: var(--mud-palette-text-secondary) !important;
        opacity: 0.7 !important;
    }

.validation-message, .mud-input-helper-text.mud-input-error {
    color: #ef4444 !important;
    font-size: 0.8rem;
    margin-top: 4px;
    padding-left: 14px;
}

.error-alert {
    display: flex;
    align-items: center;
    background-color: #fef2f2;
    color: #ef4444;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #fecaca;
}

/* Profile Image Upload */
.profile-upload-container {
    text-align: center;
}

.profile-pics-wrapper {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #f8fafc;
}

.profile-pics {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.empty-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.profile-pics-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #ffffff;
    transition: all 0.2s ease;
    margin: 0;
}

    .profile-pics-overlay:hover {
        background: #1d4ed8;
        transform: scale(1.1);
    }

/* Password Strength */
.password-strength-panel {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
}

.strength-title {
    display: flex;
    align-items: center;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
}

.strength-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    color: #475569;
    font-size: 0.85rem;
}

    .strength-list li {
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
    }

/* Buttons */
.premium-btn-primary {
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 12px;
    height: 44px;
    font-weight: 600;
    font-size: 14px;
    text-transform: none;
    padding: 10px !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.2s ease;
}

    .premium-btn-primary:hover:not(:disabled) {
        background: #1d4ed8 !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35) !important;
    }

.premium-btn-success {
    background: #10b981 !important;
    color: #ffffff !important;
    border-radius: 12px;
    height: 52px;
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
    transition: all 0.2s ease;
}

    .premium-btn-success:hover:not(:disabled) {
        background: #059669 !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35) !important;
    }

/* FIXED: Outlined Secondary Button */
.premium-btn-secondary {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-radius: 10px;
    height: 48px;
    font-weight: 600;
    text-transform: none;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    transition: all 0.2s ease;
}

    .premium-btn-secondary:hover {
        background-color: #f1f5f9 !important;
        border-color: #94a3b8 !important;
    }

.logout-btn-styled {
    background-color: #fff1f2;
    color: #e11d48;
    border: 2px solid #fecdd3;
    border-radius: 10px;
    height: 48px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

    .logout-btn-styled:hover {
        background-color: #ffe4e6;
        border-color: #fda4af;
        color: #be123c;
    }

/* Social Icons & Registration Panel */
.social-label {
    display: block;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f8fafc;
    color: #475569 !important;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

    .social-btn .mud-icon-root {
        fill: currentColor;
    }

    .social-btn:hover {
        background-color: #2563eb;
        color: #ffffff !important;
        border-color: #2563eb;
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }

.registration-panel {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
}

.reg-title {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.reg-badge {
    background-color: #dbeafe;
    color: #1e40af;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reg-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =========================================
   6. DASHBOARD CARDS & STATS
   ========================================= */
.dashboard-content {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin: 0 auto;
}

.premium-text-primary {
    color: var(--mud-palette-text-primary) !important;
}

.premium-text-muted {
    color: var(--mud-palette-text-secondary) !important;
}

.hover-lift {
    transition: transform 0.2s ease;
}

    .hover-lift:hover {
        transform: scale(1.05);
    }

.glass-card {
    background: var(--mud-palette-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(128, 128, 128, 0.15);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .glass-card:hover {
        border-color: rgba(128, 128, 128, 0.3);
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2), 0 0 20px rgba(59, 130, 246, 0.1);
    }

.stat-card {
    padding: 20px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.premium-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 9px;
    border-radius: 20px;
}

.badge-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-orange {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-red {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.bg-blue-light {
    background: rgba(59, 130, 246, 0.1);
}

.bg-orange-light {
    background: rgba(245, 158, 11, 0.1);
}

.bg-red-light {
    background: rgba(239, 68, 68, 0.1);
}

.bg-green-light {
    background: rgba(16, 185, 129, 0.1);
}

.verification-panel {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
}

.verify-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
    margin: 0;
}

.verify-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: rgba(128, 128, 128, 0.05);
    border: 1px solid rgba(128, 128, 128, 0.1);
}

    .breakdown-item:hover {
        background: rgba(128, 128, 128, 0.1);
        border-color: rgba(128, 128, 128, 0.2);
    }

.breakdown-label {
    color: var(--mud-palette-text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.breakdown-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}


.table-container {
    border: 1px solid rgba(128, 128, 128, 0.15);
    border-radius: 16px;
    overflow: hidden; /* Clips the table corners */
}

.premium-table {
    background: transparent !important;
}

    .premium-table .mud-table-head {
        background-color: rgba(128, 128, 128, 0.05) !important;
    }

    .premium-table .mud-table-cell {
        border-bottom: 1px solid rgba(128, 128, 128, 0.1);
        padding: 16px;
        color: var(--mud-palette-text-primary);
    }

    .premium-table .mud-table-row:hover {
        background-color: rgba(128, 128, 128, 0.03) !important;
    }

/* -----------------------------------------
   2. STATUS CHIPS
   ----------------------------------------- */
.premium-status-chip {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.active-chip {
    background-color: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pending-chip {
    background-color: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.inactive-chip {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* -----------------------------------------
   3. ACTION ICON BUTTONS (View, Edit, Delete)
   ----------------------------------------- */
.premium-icon-btn-view {
    background-color: rgba(59, 130, 246, 0.1) !important;
    color: #3b82f6 !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .premium-icon-btn-view:hover {
        background-color: #3b82f6 !important;
        color: white !important;
        transform: translateY(-2px);
    }

.premium-icon-btn-edit {
    background-color: rgba(59, 130, 246, 0.1) !important;
    color: #3b82f6 !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .premium-icon-btn-edit:hover {
        background-color: #3b82f6 !important;
        color: white !important;
        transform: translateY(-2px);
    }

.premium-icon-btn-delete {
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .premium-icon-btn-delete:hover {
        background-color: #ef4444 !important;
        color: white !important;
        transform: translateY(-2px);
    }

/* -----------------------------------------
   5. DRAG & DROP FILE UPLOAD AREA
   ----------------------------------------- */
.premium-file-upload {
    border: 2px dashed rgba(128, 128, 128, 0.3);
    border-radius: 12px;
    background-color: rgba(128, 128, 128, 0.02);
    transition: all 0.3s ease;
}

    .premium-file-upload:hover {
        background-color: rgba(37, 99, 235, 0.05);
        border-color: rgba(37, 99, 235, 0.4);
    }

.file-preview-box {
    background-color: var(--mud-palette-surface);
    border-radius: 10px;
    border: 1px solid rgba(128, 128, 128, 0.2);
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* =========================================
           BEAUTIFUL ICON PILL TABS
           ========================================= */
.premium-pill-tabs .mud-tabs-toolbar {
    background-color: rgba(128, 128, 128, 0.08) !important;
    border-radius: 16px;
    padding: 8px;
    margin-bottom: 2rem;
    border-bottom: none !important; /* Forces the bottom line to disappear */
}

.premium-pill-tabs .mud-tab {
    border-radius: 12px;
    text-transform: none;
    font-weight: 600;
    font-size: 13px;
    padding: 4px 7px;
    /* min-width: 153px; */
    transition: all 0.3s ease;
    color: var(--mud-palette-text-secondary);
    border-bottom: none !important;
}

    .premium-pill-tabs .mud-tab.mud-tab-active {
        background-color: var(--mud-palette-primary) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    }

.premium-pill-tabs .mud-tabs-toolbar-inner .mud-tab-slider {
    display: none !important; /* Hides the default underline slider */
}

/* Remove residual bottom border from MudTabs */
.premium-pill-tabs .mud-tabs-toolbar-inner {
    border-bottom: none !important;
}
/* =========================================
   7. RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 959.98px) {
    .premium-auth-layout, .premium-reg-layout {
        padding: 1rem;
    }

    .premium-auth-card, .premium-reg-card {
        height: auto !important;
        max-height: none;
        border-radius: 20px;
        flex-direction: column;
    }

    .premium-brand-side {
        border-radius: 20px 20px 0 0;
        padding: 3rem 1.5rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .premium-form-side {
        padding: 3rem 1.5rem;
        overflow-y: visible;
        border-radius: 0 0 20px 20px;
    }

    .premium-dashboard-layout {
        padding: 1.5rem 1rem;
    }
}
.light-theme .glass-card {
    background: rgba(255, 255, 255, 0.4);
}

.dark-theme .glass-card {
    background: rgba(15, 23, 42, 0.6);
}