/* ===================================================================
   Resume Bank Management System — Teal & Slate Design System
   Based on 06_UI_Design_Document.md
   =================================================================== */

/* ── 1. CSS Custom Properties ── */
:root {
    /* Primary — Teal */
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;
    --primary-200: #99f6e4;
    --primary-400: #2dd4bf;
    --primary-600: #0d9488;
    --primary-700: #0f766e;
    --primary-800: #115e59;
    --primary-900: #134e4a;

    /* Neutrals — Slate */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Semantic */
    --success-surface: #f0fdf4;
    --success-text: #166534;
    --warning-surface: #fffbeb;
    --warning-text: #b45309;
    --danger-surface: #fef2f2;
    --danger-text: #991b1b;

    /* Overrides for Bootstrap */
    --bs-primary: #0d9488 !important;
    --bs-primary-rgb: 13, 148, 136 !important;

    /* Layout */
    --navbar-height: 70px;
    --sidebar-width: 280px;

    /* Border radius */
    --border-radius-sm: 0.5rem;
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .07);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .1);
    --shadow-primary: 0 4px 14px rgba(13, 148, 136, .35);

    /* Gradient */
    --gradient-hero: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
}

/* ── 2. Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background-color: #f8fafc !important;
    color: #334155 !important;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em;
    color: #0f172a !important;
}

a {
    color: #0d9488;
    text-decoration: none;
}

a:hover {
    color: #0f766e;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ── 3. Glass Panels ── */
.glass-panel {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04) !important;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* ── 4. Navbar (Public) ── */
.navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    height: 70px;
    padding: 0 1rem !important;
}

.navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.navbar-brand .icon-box-sm {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%) !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem;
}

.nav-link {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 0.75rem !important;
    transition: all 0.2s ease !important;
}

.nav-link:hover,
.nav-link.active {
    color: #0d9488 !important;
    background: #f0fdfa !important;
}

.dropdown-menu {
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .07) !important;
    padding: 0.5rem !important;
}

.dropdown-item {
    border-radius: 0.5rem !important;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.9rem !important;
    color: #334155 !important;
}

.dropdown-item:hover {
    background: #f0fdfa !important;
    color: #0f766e !important;
}

/* ── 5. Sidebar (Dashboard) ── */
.sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 280px !important;
    height: 100vh !important;
    background: #fff !important;
    border-right: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 1040 !important;
    transition: transform 0.3s ease !important;
    overflow: hidden !important;
}

.sidebar-header {
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.sidebar-header .icon-box-md {
    width: 40px !important;
    height: 40px !important;
    border-radius: 0.75rem !important;
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
}

.sidebar-header .brand-label {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    color: #0f172a !important;
}

.sidebar-nav {
    flex: 1 !important;
    padding: 1rem 0.75rem !important;
    overflow-y: auto !important;
}

.sidebar-nav .nav-label {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #94a3b8 !important;
    padding: 0.75rem 0.75rem 0.25rem !important;
}

.sidebar-nav .nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.6rem 0.85rem !important;
    margin-bottom: 2px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    border-radius: 0.75rem !important;
    transition: all 0.15s ease !important;
    background: transparent !important;
}

.sidebar-nav .nav-link i {
    font-size: 1.1rem !important;
    width: 1.25rem !important;
    text-align: center !important;
}

.sidebar-nav .nav-link:hover {
    background: #f0fdfa !important;
    color: #0d9488 !important;
}

.sidebar-nav .nav-link.active {
    background: #f0fdfa !important;
    color: #0d9488 !important;
    font-weight: 600 !important;
}

.sidebar-footer {
    padding: 1rem 1.25rem !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.sidebar-footer .avatar-sm {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #ccfbf1 !important;
    color: #0f766e !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
}

.sidebar-footer .user-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.sidebar-footer .user-name {
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.sidebar-footer .user-email {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.sidebar-footer .btn-sign-out {
    color: #94a3b8 !important;
    font-size: 1.1rem !important;
    padding: 0.25rem !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: color 0.15s !important;
    text-decoration: none !important;
}

.sidebar-footer .btn-sign-out:hover {
    color: #991b1b !important;
}

/* Dashboard main area */
.dashboard-main {
    margin-left: 280px !important;
    min-height: 100vh !important;
    background: #f8fafc !important;
}

.dashboard-content {
    padding: 1.5rem 2rem !important;
}

/* Mobile header */
.mobile-header {
    display: none !important;
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    align-items: center;
    justify-content: space-between;
}

.mobile-header .icon-box-sm {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%) !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem;
}

@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%) !important;
    }

    .sidebar.show {
        transform: translateX(0) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .1) !important;
    }

    .sidebar-backdrop {
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.3) !important;
        z-index: 1035 !important;
        display: none !important;
    }

    .sidebar-backdrop.show {
        display: block !important;
    }

    .dashboard-main {
        margin-left: 0 !important;
    }

    .mobile-header {
        display: flex !important;
    }
}

/* ── 6. Hero Section ── */
section.hero-section,
.hero-section {
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%) !important;
    color: #fff !important;
    padding: 100px 0 80px !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-section * {
    color: inherit;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800 !important;
    font-size: 3.5rem !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
    color: #fff !important;
}

.hero-subtitle {
    font-size: 1.15rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

/* Hero illustration glass card */
.hero-card {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 1.5rem !important;
    padding: 2rem !important;
    position: relative !important;
}

.hero-card .progress {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15) !important;
}

.hero-card .progress-bar {
    background: #2dd4bf !important;
    border-radius: 4px;
}

.hero-card .stat-item {
    text-align: center;
}

.hero-card .stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.hero-card .stat-label {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* Floating badge */
.animate-float {
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Pulse blob behind hero */
.animate-pulse-slow {
    animation: pulseSlow 4s ease-in-out infinite;
}

@keyframes pulseSlow {

    0%,
    100% {
        opacity: 0.15;
        transform: scale(1);
    }

    50% {
        opacity: 0.25;
        transform: scale(1.05);
    }
}

/* Trust signals */
.trust-signals {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-signals .trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65) !important;
}

/* ── 7. Cards ── */
.card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04) !important;
    transition: all 0.2s ease !important;
}

.card.border-0 {
    border: none !important;
}

.card-hover:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .07) !important;
    border-color: #99f6e4 !important;
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 1rem 1.25rem !important;
    font-weight: 600 !important;
}

.card-header h5 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.card-body {
    padding: 1.25rem !important;
}

/* Stat cards */
.stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.stat-card .stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* ── 8. Buttons ── */
.btn {
    padding: 0.55rem 1.15rem !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    border-radius: 0.75rem !important;
    transition: all 0.2s ease !important;
}

.btn-primary {
    background-color: #0d9488 !important;
    border-color: #0d9488 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, .35) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0f766e !important;
    border-color: #0f766e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(13, 148, 136, .4) !important;
    color: #fff !important;
}

.btn-outline-primary {
    color: #0d9488 !important;
    border-color: #99f6e4 !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: #f0fdfa !important;
    border-color: #2dd4bf !important;
    color: #0f766e !important;
}

.btn-light {
    background: #fff !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
}

.btn-light:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.hover-lift:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .07) !important;
}

/* ── 9. Forms ── */
.form-control,
.form-select {
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.75rem !important;
    padding: 0.6rem 0.85rem !important;
    font-size: 0.9rem !important;
    background: #fff !important;
    color: #334155 !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #2dd4bf !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15) !important;
    outline: none !important;
}

.form-label {
    font-weight: 500 !important;
    color: #334155 !important;
    font-size: 0.875rem !important;
    margin-bottom: 0.35rem !important;
}

/* Auth pages — uppercase labels */
.auth-form .form-label {
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

.input-group-text {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-right: none !important;
    color: #94a3b8 !important;
}

.input-group .form-control {
    border-left: none !important;
}

.form-check-input:checked {
    background-color: #0d9488 !important;
    border-color: #0d9488 !important;
}

/* ── 10. Tables ── */
.table {
    margin-bottom: 0 !important;
}

.table thead th {
    background: #f8fafc !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    color: #64748b !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 0.85rem 1rem !important;
}

.table tbody td {
    padding: 0.85rem 1rem !important;
    color: #334155 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
    font-size: 0.9rem !important;
}

.table-hover tbody tr:hover {
    background: #f8fafc !important;
}

/* ── 11. Badges & Status ── */
.badge {
    padding: 0.35em 0.75em !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    border-radius: 9999px !important;
    font-size: 0.8rem !important;
}

.status-badge {
    display: inline-block !important;
    padding: 0.3rem 0.75rem !important;
    border-radius: 9999px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
}

.status-placed,
.bg-success-surface {
    background: #f0fdf4 !important;
    color: #166534 !important;
}

.status-in_process,
.bg-warning-surface {
    background: #fffbeb !important;
    color: #b45309 !important;
}

.status-not_placed {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.status-applied {
    background: #f0fdfa !important;
    color: #0d9488 !important;
}

.status-shortlisted {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

.status-rejected {
    background: #fef2f2 !important;
    color: #991b1b !important;
}

.status-offered {
    background: #f0fdf4 !important;
    color: #166534 !important;
}

.skill-badge {
    background: #f0fdfa !important;
    color: #0f766e !important;
    border: 1px solid #ccfbf1 !important;
    padding: 0.2rem 0.65rem !important;
    border-radius: 9999px !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    display: inline-block !important;
    margin: 2px !important;
    transition: all 0.15s !important;
}

.skill-badge:hover {
    background: #ccfbf1 !important;
    border-color: #99f6e4 !important;
}

/* ── 12. Avatars & Icon Boxes ── */
.avatar-sm {
    width: 32px !important;
    height: 32px !important;
}

.avatar-md {
    width: 48px !important;
    height: 48px !important;
}

.avatar-lg {
    width: 96px !important;
    height: 96px !important;
}

.avatar-sm,
.avatar-md,
.avatar-lg {
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    background: #ccfbf1 !important;
    color: #0f766e !important;
}

.icon-box-sm {
    width: 32px;
    height: 32px;
}

.icon-box-md {
    width: 40px;
    height: 40px;
}

/* Feature icon wrapper */
.feature-icon-wrapper {
    width: 56px !important;
    height: 56px !important;
    border-radius: 0.75rem !important;
    background: #f0fdfa !important;
    color: #0d9488 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.4rem !important;
    margin-bottom: 1rem !important;
    transition: all 0.25s ease !important;
}

.card-hover:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg) !important;
}

/* Legacy .feature-icon kept for backward compat */
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0fdfa;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.25s ease;
}

/* ── 13. Alerts ── */
.alert {
    border-radius: 0.75rem !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 0.9rem !important;
}

.alert-success {
    background: #f0fdf4 !important;
    color: #166534 !important;
    border-color: #bbf7d0 !important;
}

.alert-warning {
    background: #fffbeb !important;
    color: #b45309 !important;
    border-color: #fde68a !important;
}

.alert-danger {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-color: #fecaca !important;
}

.alert-info {
    background: #f0fdfa !important;
    color: #115e59 !important;
    border-color: #ccfbf1 !important;
}

/* ── 14. Footer ── */
.footer {
    background: #fff !important;
    color: #64748b !important;
    padding: 3rem 0 1.5rem !important;
    margin-top: 4rem !important;
    border-top: 1px solid #e2e8f0 !important;
}

.footer h5 {
    color: #1e293b !important;
    margin-bottom: 0.75rem !important;
    font-size: 1.05rem !important;
}

/* ── 15. Bootstrap Overrides ── */
.bg-primary {
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%) !important;
    color: #fff !important;
}

.text-primary {
    color: #0d9488 !important;
}

.text-gradient {
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.bg-light-subtle {
    background-color: #f8fafc !important;
}

/* Section labels */
.section-label {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #0d9488 !important;
}

/* Stats bar (landing page) */
.stats-bar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    padding: 2rem;
}

.stats-bar .stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #0d9488 !important;
}

.stats-bar .stat-text {
    font-size: 0.85rem;
    color: #64748b;
}

/* CTA gradient section */
.cta-gradient {
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%) !important;
    border-radius: 1.5rem !important;
    padding: 3.5rem 2rem !important;
    color: #fff !important;
}

/* ── 16. Animations ── */
.animate-fade-in {
    animation: fadeIn 0.4s ease both;
}

.animate-fade-up {
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-100 {
    animation-delay: 0.08s;
}

.delay-200 {
    animation-delay: 0.16s;
}

.delay-300 {
    animation-delay: 0.24s;
}

.delay-400 {
    animation-delay: 0.32s;
}

.scale-hover {
    transition: transform 0.2s ease;
}

.scale-hover:hover {
    transform: scale(1.05);
}

/* ── 17. Auth Pages ── */
.auth-container {
    min-height: calc(100vh - 70px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem 1rem !important;
}

.auth-card {
    width: 100%;
    max-width: 440px;
}

.auth-icon-circle {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    margin: 0 auto 1rem !important;
}

/* ── 18. Responsive ── */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-section {
        padding: 60px 0 50px !important;
    }

    .dashboard-content {
        padding: 1rem !important;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem !important;
    }

    .stats-bar {
        padding: 1.25rem !important;
    }

    .trust-signals {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}

/* ── 19. Pagination ── */
.pagination .page-link {
    border-radius: 0.5rem !important;
    margin: 0 2px !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 0.875rem !important;
}

.pagination .page-item.active .page-link {
    background: #0d9488 !important;
    border-color: #0d9488 !important;
    color: #fff !important;
}

.pagination .page-link:hover {
    background: #f0fdfa !important;
    color: #0f766e !important;
    border-color: #99f6e4 !important;
}

/* ── 20. Misc ── */
.letter-spacing-2 {
    letter-spacing: 0.05em;
}

.list-group-item {
    border-color: #f1f5f9 !important;
    padding: 0.85rem 1rem !important;
}

.list-group-item:hover {
    background: #f0fdfa !important;
}

/* ── 21. Utility & Weight ── */
.fw-500 {
    font-weight: 500 !important;
}

/* ── 22. Scroll-to-Top Button ── */
.scroll-top-btn {
    position: fixed !important;
    bottom: 2rem !important;
    right: 2rem !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #0d9488 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.3s ease !important;
    z-index: 1050 !important;
}

.scroll-top-btn.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.scroll-top-btn:hover {
    background: #0f766e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45) !important;
}

/* ── 23. Enhanced Table Hover ── */
.table-hover tbody tr {
    transition: all 0.15s ease !important;
    border-left: 3px solid transparent !important;
}

.table-hover tbody tr:hover {
    background: #f0fdfa !important;
    border-left-color: #0d9488 !important;
}

/* ── 24. Breadcrumbs ── */
.breadcrumb-nav {
    padding: 0.5rem 0 !important;
    margin-bottom: 1rem !important;
}

.breadcrumb-nav .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.85rem !important;
}

.breadcrumb-nav .breadcrumb-item a {
    color: #64748b !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: #0d9488 !important;
}

.breadcrumb-nav .breadcrumb-item.active {
    color: #0f172a !important;
    font-weight: 500 !important;
}

.breadcrumb-nav .breadcrumb-item+.breadcrumb-item::before {
    color: #cbd5e1 !important;
    content: "›" !important;
}

/* ── 25. Profile Completion Bar ── */
.profile-completion {
    background: #fff !important;
    border-radius: 0.75rem !important;
    padding: 1rem 1.25rem !important;
    border: 1px solid #e2e8f0 !important;
}

.profile-completion .progress {
    height: 8px !important;
    border-radius: 4px !important;
    background: #f1f5f9 !important;
}

.profile-completion .progress-bar {
    background: linear-gradient(90deg, #0d9488, #2dd4bf) !important;
    border-radius: 4px !important;
    transition: width 0.6s ease !important;
}

/* ── 26. Richer Empty States ── */
.empty-state {
    text-align: center !important;
    padding: 3rem 1rem !important;
}

.empty-state-icon {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    background: #f0fdfa !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1rem !important;
}

.empty-state-icon i {
    font-size: 2rem !important;
    color: #0d9488 !important;
}

/* ── 27. Alert Animations ── */
.alert-dismissible {
    animation: slideDown 0.4s ease !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── 28. Search Bar ── */
.drive-search {
    position: relative !important;
}

.drive-search input {
    padding-left: 2.5rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 0.9rem !important;
    transition: border-color 0.2s !important;
}

.drive-search input:focus {
    border-color: #0d9488 !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1) !important;
}

.drive-search .search-icon {
    position: absolute !important;
    left: 0.85rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    pointer-events: none !important;
}