:root {
    --dashboard-bg: #071826;
    --dashboard-panel: rgba(255, 255, 255, 0.92);
    --dashboard-panel-soft: rgba(255, 255, 255, 0.82);
    --dashboard-ink: #0e2235;
    --dashboard-muted: #647487;
    --dashboard-accent: #f97352;
    --dashboard-accent-2: #0f766e;
    --dashboard-line: rgba(14, 34, 53, 0.12);
    --dashboard-shadow: 0 24px 70px rgba(2, 10, 18, 0.28);
}

* {
    box-sizing: border-box;
}

body.dashboard-body,
body.dashboard-auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    color: var(--dashboard-ink);
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.28), transparent 28%),
        radial-gradient(circle at bottom right, rgba(249, 115, 82, 0.22), transparent 30%),
        linear-gradient(180deg, #f5f7fb 0%, #eef3f7 100%);
}

body.dashboard-auth-body {
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 42%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.1), transparent 38%),
        linear-gradient(180deg, #f4f8fb 0%, #eef3f7 100%);
    overflow: hidden;
    animation: authFadeIn 480ms ease;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    min-height: 100vh;
}

.dashboard-sidebar {
    background: linear-gradient(180deg, #081b2b 0%, #0b2337 100%);
    color: rgba(255, 255, 255, 0.88);
    padding: 1.25rem;
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dashboard-brand,
.auth-visual-content,
.dashboard-sidebar-footer,
.panel-head,
.dashboard-topbar,
.dashboard-hero,
.stats-grid,
.dashboard-grid,
.filter-bar,
.shortcut-grid,
.status-bars,
.auth-card-head,
.auth-note {
    position: relative;
    z-index: 1;
}

.dashboard-brand {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.dashboard-brand-logo,
.auth-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.dashboard-brand strong,
.dashboard-brand span {
    display: block;
}

.dashboard-brand strong {
    font-size: 1rem;
    font-weight: 800;
}

.dashboard-brand span,
.dashboard-sidebar-footer span,
.dashboard-kicker,
.dashboard-chip,
.auth-eyebrow,
.auth-badge,
.auth-note span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 800;
}

.dashboard-nav {
    display: grid;
    gap: 0.55rem;
}

.dashboard-nav a {
    align-items: center;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.dashboard-nav a:hover,
.dashboard-nav a.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(2px);
}

.dashboard-nav i,
.dashboard-topbar i,
.dashboard-link i,
.stat-card i,
.shortcut-card i,
.auth-card-head i {
    width: 18px;
    height: 18px;
}

.dashboard-sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-sidebar-footer strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
}

.dashboard-main {
    min-width: 0;
    padding: 1.25rem;
}

.dashboard-topbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    box-shadow: var(--dashboard-shadow);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
}

.dashboard-topbar h1,
.dashboard-hero h2,
.dashboard-panel h3,
.auth-card-head h2 {
    font-family: "Space Grotesk", sans-serif;
    margin: 0;
}

.dashboard-topbar h1 {
    font-size: 1.4rem;
}

.dashboard-kicker {
    color: var(--dashboard-accent-2);
    margin: 0 0 0.2rem;
}

.dashboard-topbar-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dashboard-link {
    align-items: center;
    background: var(--dashboard-ink);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    transition: transform 180ms ease, opacity 180ms ease;
}

.dashboard-link:hover {
    color: #fff;
    opacity: 0.92;
    transform: translateY(-1px);
}

.dashboard-link-ghost {
    background: rgba(15, 118, 110, 0.12);
    color: var(--dashboard-ink);
}

.dashboard-messages {
    margin-top: 1rem;
}

.dashboard-content {
    display: grid;
    gap: 1.2rem;
    margin-top: 1rem;
}

.dashboard-panel,
.stat-card,
.auth-card,
.auth-visual {
    background: var(--dashboard-panel);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    box-shadow: var(--dashboard-shadow);
}

.auth-backdrop {
    display: none;
}

.dashboard-panel {
    padding: 1.2rem;
}

.panel-head,
.panel-head-stack {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-head-stack {
    align-items: end;
}

.dashboard-chip,
.auth-badge {
    background: rgba(15, 118, 110, 0.12);
    border-radius: 999px;
    color: var(--dashboard-accent-2);
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.42rem 0.75rem;
}

.stats-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.stat-card {
    padding: 1.1rem;
}

.stat-card i {
    color: var(--dashboard-accent-2);
    margin-bottom: 1rem;
}

.stat-card strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    line-height: 1;
}

.stat-card span {
    color: var(--dashboard-muted);
    display: block;
    margin-top: 0.4rem;
}

.dashboard-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.dashboard-table {
    margin-bottom: 0;
    font-size: 0.93rem;
}

.dashboard-table thead th {
    color: var(--dashboard-muted);
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dashboard-table td,
.dashboard-table th {
    border-color: rgba(14, 34, 53, 0.08);
    padding: 0.9rem 0.75rem;
}

.status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.35rem 0.7rem;
}

.status-new { background: rgba(15, 118, 110, 0.12); color: var(--dashboard-accent-2); }
.status-contacted { background: rgba(249, 183, 5, 0.16); color: #9a6a00; }
.status-quotation_sent { background: rgba(59, 130, 246, 0.12); color: #1d4ed8; }
.status-confirmed { background: rgba(34, 197, 94, 0.14); color: #15803d; }
.status-closed { background: rgba(100, 116, 139, 0.12); color: #475569; }
.status-pending { background: rgba(249, 183, 5, 0.16); color: #9a6a00; }
.status-approved { background: rgba(34, 197, 94, 0.14); color: #15803d; }
.status-rejected { background: rgba(239, 68, 68, 0.14); color: #b91c1c; }

.shortcut-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shortcut-grid-muted {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shortcut-card {
    align-items: center;
    background: rgba(8, 27, 43, 0.04);
    border: 1px solid rgba(14, 34, 53, 0.08);
    border-radius: 18px;
    color: var(--dashboard-ink);
    display: flex;
    gap: 0.85rem;
    padding: 1rem;
    text-decoration: none;
}

.shortcut-card-soft {
    background: rgba(15, 118, 110, 0.08);
}

.status-bars {
    display: grid;
    gap: 0.9rem;
}

.status-bar-row {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: 120px 1fr 40px;
}

.status-bar-label,
.status-bar-count {
    font-weight: 700;
}

.status-bar-track {
    background: rgba(14, 34, 53, 0.08);
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.status-bar-track span {
    background: linear-gradient(90deg, var(--dashboard-accent-2), var(--dashboard-accent));
    border-radius: inherit;
    display: block;
    height: 100%;
}

.dashboard-hero {
    align-items: end;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 247, 246, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    box-shadow: var(--dashboard-shadow);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem;
}

.dashboard-hero h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    margin-bottom: 0.5rem;
}

.dashboard-hero p {
    color: var(--dashboard-muted);
    margin-bottom: 0;
    max-width: 760px;
}

.filter-bar {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: minmax(0, 1fr) 220px auto;
}

.filter-bar .form-control,
.filter-bar .form-select,
.settings-form .form-control,
.settings-form .form-select,
.settings-form textarea,
.settings-form input[type="url"],
.settings-form input[type="text"],
.settings-form input[type="email"],
.settings-form input[type="file"],
.enquiry-action-form .form-select,
.enquiry-action-form textarea {
    border-color: rgba(14, 34, 53, 0.12);
    border-radius: 16px;
    box-shadow: none;
}

.settings-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96));
    border: 1px solid rgba(14, 34, 53, 0.1);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(12, 24, 39, 0.08);
    padding: 1rem;
}

.form-card-head {
    border-bottom: 1px solid rgba(14, 34, 53, 0.08);
    margin-bottom: 0.9rem;
    padding-bottom: 0.65rem;
}

.form-card-head h4 {
    align-items: center;
    display: flex;
    gap: 0.55rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0;
}

.form-card-head i {
    color: var(--dashboard-accent-2);
}

.form-card-body {
    display: grid;
    gap: 0.9rem;
}

.form-card-wide {
    grid-column: 1 / -1;
}

.form-card-body-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.premium-field {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(14, 34, 53, 0.1);
    border-radius: 14px;
    padding: 0.78rem;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.premium-field .form-label {
    color: #1e344a;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.input-shell {
    position: relative;
}

.input-shell i {
    color: #6d8096;
    left: 0.85rem;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.settings-form .input-shell input,
.settings-form .input-shell select,
.settings-form .input-shell textarea {
    background: #f7fafd;
    border: 1px solid rgba(14, 34, 53, 0.14);
    border-radius: 13px;
    color: var(--dashboard-ink);
    min-height: 50px;
    padding: 0.76rem 0.9rem;
    transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
    width: 100%;
}

.settings-form .input-shell i + input,
.settings-form .input-shell i + select,
.settings-form .input-shell i + textarea {
    padding-left: 2.35rem;
}

.settings-form .input-shell textarea {
    min-height: 140px;
    resize: vertical;
}

.settings-form .input-shell input::placeholder,
.settings-form .input-shell textarea::placeholder {
    color: #8ca0b4;
    opacity: 1;
}

.settings-form .input-shell input:focus,
.settings-form .input-shell select:focus,
.settings-form .input-shell textarea:focus {
    background: #fff;
    border-color: rgba(15, 118, 110, 0.6);
    box-shadow: 0 0 0 0.22rem rgba(15, 118, 110, 0.14);
    outline: none;
    transform: translateY(-1px);
}

.premium-field.has-error {
    border-color: rgba(220, 38, 38, 0.42);
    box-shadow: 0 0 0 0.18rem rgba(220, 38, 38, 0.08);
}

.premium-field.has-error .input-shell input,
.premium-field.has-error .input-shell select,
.premium-field.has-error .input-shell textarea {
    border-color: rgba(220, 38, 38, 0.52);
}

.premium-field.has-success {
    border-color: rgba(34, 197, 94, 0.35);
}

.premium-field.has-success .input-shell input,
.premium-field.has-success .input-shell select,
.premium-field.has-success .input-shell textarea {
    border-color: rgba(34, 197, 94, 0.45);
}

.settings-form .form-text {
    color: #6f8398;
    font-size: 0.8rem;
    margin-top: 0.4rem;
}

.upload-shell {
    align-items: center;
    background: #f7fafd;
    border: 1px dashed rgba(14, 34, 53, 0.26);
    border-radius: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    min-height: 56px;
    padding: 0.65rem;
}

.upload-shell input[type="file"] {
    display: none;
}

.upload-trigger {
    background: rgba(15, 118, 110, 0.12);
    border: 1px solid rgba(15, 118, 110, 0.35);
    border-radius: 10px;
    color: #0d6059;
    cursor: pointer;
    font-weight: 700;
    padding: 0.45rem 0.72rem;
}

.upload-name {
    color: #5e738a;
    font-size: 0.88rem;
    min-width: 130px;
}

.upload-preview {
    align-items: center;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    margin-left: auto;
    overflow: hidden;
    width: 46px;
}

.upload-preview img {
    border-radius: 9px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.settings-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.2rem;
}

.settings-actions .btn {
    border-radius: 12px;
    min-height: 50px;
    min-width: 150px;
}

.settings-actions .btn-primary {
    background: linear-gradient(135deg, #0f766e, #1d4ed8);
    border: 0;
    box-shadow: 0 12px 24px rgba(29, 78, 216, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.settings-actions .btn-primary:hover {
    box-shadow: 0 14px 26px rgba(29, 78, 216, 0.22);
    transform: translateY(-1px);
}

.settings-actions .btn-outline-primary {
    background: rgba(15, 118, 110, 0.07);
    border-color: rgba(15, 118, 110, 0.38);
}

.settings-actions .btn.is-loading {
    opacity: 0.75;
    pointer-events: none;
}

.settings-form textarea {
    min-height: 120px;
}

.enquiries-table .enquiry-request {
    min-width: 240px;
    white-space: normal;
}

.enquiry-action-form {
    min-width: 180px;
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    min-height: 100vh;
    align-items: stretch;
    gap: clamp(1rem, 2vw, 1.8rem);
    padding: clamp(0.9rem, 2vw, 1.35rem);
}

.auth-visual {
    background-image: linear-gradient(135deg, rgba(8, 27, 43, 0.52), rgba(8, 27, 43, 0.2)), url("../images/kashmir-6.jpg");
    background-position: center;
    background-size: cover;
    border-radius: 28px;
    color: #fff;
    margin: 0;
    overflow: hidden;
    min-height: calc(100vh - 2.7rem);
    position: relative;
    display: flex;
    align-items: center;
    animation: heroZoom 5.5s ease both;
}

.auth-visual-overlay {
    background: linear-gradient(130deg, rgba(8, 27, 43, 0.26), rgba(15, 118, 110, 0.1));
    inset: 0;
    position: absolute;
    pointer-events: none;
}

.auth-visual-content {
    display: grid;
    gap: 1.2rem;
    max-width: 520px;
    padding: clamp(1.6rem, 3vw, 2.9rem);
    position: relative;
    top: 0;
}

.auth-visual-content h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4.4vw, 3.65rem);
    line-height: 1.02;
    margin: 0;
}

.auth-visual-content p {
    margin: 0;
    line-height: 1.55;
}

.auth-panel {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 0;
    background: transparent;
}

.auth-login-wrap {
    width: min(100%, 500px);
    display: grid;
    gap: 1rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(14, 34, 53, 0.08);
    border-radius: 22px;
    padding: clamp(1.45rem, 2.3vw, 2.1rem);
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 14px 34px rgba(12, 24, 39, 0.12);
    animation: authSlideUp 520ms ease 80ms both;
}

.auth-card-head p,
.auth-note {
    color: var(--dashboard-muted);
}

.auth-card-head {
    margin-bottom: 1.35rem;
}

.auth-card-head p {
    margin-top: 0.65rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.auth-form .form-label {
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.auth-form .form-control {
    background: #fff;
    border: 1px solid rgba(14, 34, 53, 0.16);
    border-radius: 14px;
    color: var(--dashboard-ink);
    caret-color: var(--dashboard-ink);
    min-height: 56px;
    padding: 0.82rem 1rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.auth-form .form-control::placeholder {
    color: #8c9bab;
    opacity: 1;
}

.auth-form .form-control:focus {
    border-color: rgba(15, 118, 110, 0.65);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.12);
    transform: translateY(-1px);
}

.auth-form .btn-primary {
    background: linear-gradient(135deg, #0f766e, #1d4ed8);
    border: 0;
    border-radius: 14px;
    min-height: 54px;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
    transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.auth-form .btn-primary:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 15px 28px rgba(15, 118, 110, 0.24);
}

.auth-credentials {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(14, 34, 53, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(12, 24, 39, 0.08);
    padding: 1rem 1.1rem;
}

.auth-credentials .auth-note {
    margin: 0;
}

.auth-credentials .auth-note strong {
    display: block;
    color: var(--dashboard-ink);
    line-height: 1.45;
}

.auth-credentials .auth-note strong span {
    color: var(--dashboard-muted);
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    margin-right: 0.4rem;
    text-transform: uppercase;
}

.dashboard-toggle {
    align-items: center;
    background: rgba(15, 118, 110, 0.12);
    border: 0;
    border-radius: 16px;
    color: var(--dashboard-ink);
    display: none;
    height: 48px;
    justify-content: center;
    width: 48px;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid,
    .auth-grid {
        grid-template-columns: 1fr;
    }

    .auth-grid {
        min-height: auto;
        gap: 1rem;
    }

    .form-card-body-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: fixed;
        left: -320px;
        top: 0;
        width: 290px;
        z-index: 1040;
        transition: left 200ms ease;
    }

    body.dashboard-sidebar-open .dashboard-sidebar {
        left: 0;
    }

    .dashboard-toggle {
        display: inline-flex;
    }

    .auth-visual {
        border-radius: 20px;
        margin: 0;
        min-height: 360px;
    }

    body.dashboard-auth-body {
        overflow: auto;
    }
}

@media (max-width: 768px) {
    .dashboard-main,
    .auth-panel {
        padding: 0.9rem;
    }

    .dashboard-topbar,
    .dashboard-hero,
    .panel-head,
    .panel-head-stack,
    .filter-bar {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .filter-bar {
        display: grid;
    }

    .shortcut-grid,
    .shortcut-grid-muted {
        grid-template-columns: 1fr;
    }

    .status-bar-row {
        grid-template-columns: 1fr;
    }

    .auth-card,
    .auth-visual-content {
        padding: 1.25rem;
    }

    .auth-visual-content h1 {
        font-size: clamp(1.8rem, 9vw, 2.7rem);
    }

    .auth-login-wrap {
        width: 100%;
    }

    .auth-visual {
        min-height: 300px;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .settings-actions {
        flex-direction: column-reverse;
        justify-content: stretch;
    }

    .settings-actions .btn {
        width: 100%;
    }
}

@keyframes authFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes authSlideUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.018);
    }
    to {
        transform: scale(1);
    }
}

/* Final Admin Visual Polish */
.dashboard-panel,
.stat-card,
.shortcut-card,
.auth-card,
.auth-credentials,
.dashboard-topbar {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.dashboard-panel:hover,
.stat-card:hover,
.shortcut-card:hover,
.auth-card:hover,
.auth-credentials:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 56px rgba(2, 10, 18, 0.18);
}

.dashboard-link,
.upload-trigger,
.auth-form .btn-primary {
    position: relative;
    overflow: hidden;
}

.dashboard-link::after,
.upload-trigger::after,
.auth-form .btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.26), transparent 48%);
    opacity: 0;
    transition: opacity 220ms ease, transform 220ms ease;
    transform: scale(0.7);
    pointer-events: none;
}

.dashboard-link:hover::after,
.upload-trigger:hover::after,
.auth-form .btn-primary:hover::after {
    opacity: 1;
    transform: scale(1);
}

.dashboard-nav a {
    position: relative;
}

.dashboard-nav a::before {
    content: "";
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.45rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15, 118, 110, 0.92), rgba(249, 115, 82, 0.9));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms ease;
}

.dashboard-nav a:hover::before,
.dashboard-nav a.is-active::before {
    transform: scaleX(1);
}

.dashboard-table tbody tr {
    transition: background-color 200ms ease;
}

.dashboard-table tbody tr:hover {
    background: rgba(15, 118, 110, 0.04);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .dashboard-panel:hover,
    .stat-card:hover,
    .shortcut-card:hover,
    .auth-card:hover,
    .auth-credentials:hover {
        transform: none;
    }
}