/* 
   NEXA FORMAL DESIGN SYSTEM 
   Government/Enterprise Aesthetic
*/

:root {
    /* --- COLOR PALETTE (Premium Scale) --- */
    --p-h: 224;
    --p-s: 71%;
    --p-l: 25%;

    --primary: hsl(var(--p-h), var(--p-s), var(--p-l));
    --primary-light: hsl(var(--p-h), 80%, 45%);
    --primary-glow: hsla(var(--p-h), 80%, 60%, 0.15);

    /* Surfaces & Depth */
    --bg-body: #0f172a;
    /* Deep Navy Dark Mode */
    --surface-sunken: #020617;
    --surface-raised: #1e293b;
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-bright: rgba(255, 255, 255, 0.1);

    /* Text Strategy */
    --text-pure: #ffffff;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Premium Glass */
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-deep: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);

    /* Kinetic Tokens */
    --parallax-intensity: 0.02;
    --kinetic-bg: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');

    /* Atmospheric Effects */
    --accent-glow: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --mesh-bg: radial-gradient(at 0% 0%, hsla(224, 71%, 15%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(224, 71%, 20%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(224, 71%, 15%, 1) 0, transparent 50%),
        radial-gradient(at 0% 100%, hsla(224, 71%, 10%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(224, 71%, 5%, 1) 0, transparent 50%);

    /* Status (Vibrant) */
    --danger: #ff4d4d;
    --warning: #fbbf24;
    --success: #10b981;
    --info: #60a5fa;

    /* Decoration */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-inset: inset 0 1px 1px rgba(255, 255, 255, 0.05);

    --font-main: 'Outfit', 'Inter', system-ui, sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- ATMOSPHERIC UTILITIES --- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAwIDIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjY1IiBzdGlja2luZz0idHJ1ZSIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIgb3BhY2l0eT0iLjA1Ii8+PC9zdmc+');
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

.mesh-bg {
    background: var(--mesh-bg);
    position: relative;
    overflow: hidden;
}

.mesh-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 70%);
    pointer-events: none;
}

/* --- ANIMATIONS --- */
@keyframes glow-pulse {

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

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes float {

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

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.glow-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 12px var(--success);
    animation: glow-pulse 2s infinite;
}

/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(30, 58, 138, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 1) 0%, transparent 50%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 3rem 0;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .flex-between:not(.topbar .container) {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem;
    }
}

/* --- GLASSMORPHISM --- */
/* --- GLASS REFINEMENTS --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow),
        var(--shadow-inset),
        0 0 20px rgba(59, 130, 246, 0.05);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.glass-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.03),
            transparent);
    transition: 0.6s;
    pointer-events: none;
}

.glass-card:hover::after {
    left: 100%;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow),
        var(--shadow-inset),
        0 0 30px rgba(59, 130, 246, 0.1);
}

/* --- KINETIC UTILITIES --- */
.kinetic-layer {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: -2;
    pointer-events: none;
    background: var(--kinetic-bg) center/cover no-repeat;
    opacity: 0.08;
    filter: grayscale(1) contrast(1.2);
    mix-blend-mode: color-dodge;
}

.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

/* --- COMPONENTS: CARDS --- */
.card {
    background: var(--surface-raised);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--border-bright);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* --- COMPONENTS: BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-light);
    color: var(--text-pure);
}

.btn-danger {
    background: #fff;
    border: 1px solid #fee2e2;
    color: var(--danger);
}

.btn-danger:hover {
    background: var(--danger);
    color: white;
}

/* --- COMPONENTS: BADGES --- */
.badge {
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-neutral {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

/* --- COMPONENTS: FORMS --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-pure);
    font-family: inherit;
    transition: var(--transition);
}

.form-control::placeholder {
    color: var(--text-dim);
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-select {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-pure);
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.form-select option {
    background: var(--surface-raised);
    color: var(--text-pure);
}

/* --- COMPONENTS: TABLES --- */
.table-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-main);
}

.table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
    letter-spacing: 0.05em;
}

.table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

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

.table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* Low Risk */

/* --- AUTHENTICATION PAGES --- */
.auth-page-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.auth-card {
    background: #0f172a;
    /* Solid Background for Contrast */
    width: 100%;
    max-width: 440px;
    padding: 3.5rem 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-bright);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    color: var(--text-pure);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h2 {
    color: var(--text-pure);
    margin-bottom: 0.5rem;
    font-size: 2.25rem;
}

.auth-header p {
    color: var(--text-main);
    /* Brighter for context */
    font-size: 0.95rem;
    opacity: 0.9;
}

/* --- DASHBOARD HEADER (TOPBAR) --- */
.topbar {
    background: #0f172a;
    /* Solid Background for Contrast */
    border-bottom: 1px solid var(--border-bright);
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1001;
    height: 72px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
    z-index: 1002;
    margin-right: -10px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-pure);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-pure);
    letter-spacing: -0.05em;
}

.logo-link span {
    color: var(--primary-light);
    text-shadow: 0 0 15px var(--primary-glow);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-avatar-tiny {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.user-info {
    text-align: right;
}

.user-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.user-role {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- NAVIGATION --- */
.nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 0 2rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    height: 52px;
    position: sticky;
    top: 72px;
    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    height: 100%;
}

.nav-links a {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(30, 58, 138, 0.04);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* --- DASHBOARD LAYOUT & SIDEBAR --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.dashboard-sidebar {
    position: sticky;
    top: 110px;
    height: fit-content;
}

.profile-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-avatar-lg {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 2.25rem;
    font-weight: 800;
    border-radius: 24px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px -5px rgba(30, 58, 138, 0.3);
}

.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.profile-info-item label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.profile-info-item span {
    font-weight: 600;
    font-size: 0.9rem;
}


.dashboard-layout {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
}

.dashboard-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
}

.grid-2,
.grid-3 {
    grid-template-columns: 1fr !important;
}

.insights-rail {
    display: none !important;
}

/* Mobile Friendly Styles */
@media (max-width: 768px) {
    .topbar {
        padding: 0.75rem 1.25rem;
        height: auto;
        min-height: 72px;
    }

    .hamburger {
        display: flex;
    }

    .user-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0f172a !important;
        /* Solid Dark Navy for contrast */
        border-top: 1px solid var(--glass-border);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        text-align: center;
        z-index: 1010;
        animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .user-menu.active {
        display: flex;
    }

    .user-menu .btn {
        width: 100%;
        justify-content: center;
    }

    .user-info {
        text-align: center;
        margin: 1rem 0;
    }

    .nav {
        top: 72px;
        height: auto;
        padding: 0;
        z-index: 1000;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: var(--glass-deep);
        backdrop-filter: blur(15px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1.25rem 1.5rem;
        width: 100%;
        border-bottom: 1px solid var(--glass-border);
        height: auto;
        justify-content: flex-start;
        color: var(--text-pure) !important;
    }

    .hero-glass-hub {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .mobile-only-concerns {
        display: block !important;
    }
}

/* --- DASHBOARD DESKTOP LAYOUT --- */
.dashboard-layout {
    display: grid;
    grid-template-columns: 320px 1fr 340px;
    gap: 2.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

@media (max-width: 1400px) {
    .dashboard-layout {
        grid-template-columns: 320px 1fr;
    }

    .insights-rail {
        display: none;
    }
}

.insights-rail {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tactical-label {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--text-pure) !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.custom-icon-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

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

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


/* ============================================
   SITE FOOTER - Premium Design
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #94a3b8;
    padding: 5rem 0 0;
    margin-top: auto;
    font-size: 0.875rem;
    line-height: 1.7;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-pure);
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand-name span {
    color: var(--primary-light);
    text-shadow: 0 0 15px var(--primary-glow);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-pure);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    margin-top: 4rem;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Dashboard layout handles itself in the grid definitions above */

/* --- ANIMATIONS --- */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent 25%, rgba(255, 255, 255, 0.05) 50%, transparent 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-up {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}