:root {
    --ink: #061536;
    --muted: #405072;
    --brand: #262c82;
    --brand-deep: #071536;
    --brand-soft: #f4f7fc;
    --brand-glow: rgba(38, 44, 130, 0.18);
    --surface: #ffffff;
    --outline: #dfe5f0;
    --shadow-soft: 0 24px 60px rgba(18, 32, 68, 0.12);
}

html,
body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 50% 0%, rgba(38, 44, 130, 0.06), transparent 36rem),
        linear-gradient(180deg, #f7faff 0%, #ffffff 56%, #f8fbff 100%);
}

* {
    box-sizing: border-box;
}

a,
.btn-link {
    color: var(--brand);
}

.btn {
    min-height: 46px;
    border-radius: 0.7rem;
    font-weight: 600;
}

.btn-primary {
    color: #fff;
    background-color: var(--brand);
    border-color: var(--brand);
}

.btn-outline-primary {
    border-color: var(--brand);
    color: var(--brand);
}

.content {
    padding-top: 1rem;
}

h1:focus {
    outline: none;
}

.hero {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 14px 30px rgba(12, 63, 116, 0.07);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.lead {
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 0.9rem;
    padding: 1rem;
    box-shadow: 0 10px 22px rgba(12, 63, 116, 0.05);
}

.feature-card h2 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.form-control {
    min-height: 44px;
    border-radius: 0.65rem;
    border-color: #d2dcea;
}

.form-control:focus {
    border-color: #2a67a6;
    box-shadow: 0 0 0 0.2rem rgba(42, 103, 166, 0.15);
}

.blazor-error-boundary {
    background-color: #b32121;
    padding: 1rem;
    color: #ffffff;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.page-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 0%, rgba(38, 44, 130, 0.06), transparent 36rem),
        linear-gradient(180deg, #f7faff 0%, #ffffff 56%, #f8fbff 100%);
}

.topbar-shell {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e7ecf5;
    box-shadow: 0 8px 26px rgba(10, 24, 55, 0.04);
}

.main-shell {
    width: 100%;
}

.content-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 1rem;
}

.main-shell-public .content-shell-public {
    max-width: 100%;
    padding: 0.5rem;
}

.topbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    text-decoration: none;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.brand img {
    display: block;
    width: 172px;
    max-height: 58px;
    height: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
}

.menu-button {
    display: inline-flex;
    background: transparent;
    border: 0;
    color: #23314f;
    border-radius: 0.8rem;
    padding: 0.45rem 0.65rem;
    font-size: 0;
    font-weight: 700;
    cursor: pointer;
}

.menu-button::before {
    content: "☰";
    font-size: 1.45rem;
    line-height: 1;
}

.menu-content {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.menu-toggle:checked ~ .menu-content {
    display: flex;
}

.primary-nav,
.auth-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topbar .nav-link {
    text-decoration: none;
    color: #344264;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
}

.topbar .nav-link.active,
.topbar .nav-link:hover {
    color: var(--brand);
    background: #eef2ff;
}


.logout-btn {
    border: 1px solid #d1d6e5;
    background: #ffffff;
    color: var(--brand);
    border-radius: 999px;
    padding: 0.46rem 0.9rem;
    font-weight: 500;
}

.footer-shell {
    border-top: 1px solid #e7ecf5;
    background: rgba(255, 255, 255, 0.88);
}

.footer-shell-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.4rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #65728d;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.footer-brand img {
    display: block;
    width: 132px;
    max-height: 45px;
    height: auto;
    object-fit: contain;
}

.footer-copy {
    font-size: 0.9rem;
}

.landing-hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 6.5rem) 0 5rem;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid #cfd8f6;
    background: linear-gradient(180deg, #f9fbff, #eef3ff);
    color: var(--brand);
    border-radius: 999px;
    padding: 0.42rem 1rem;
    font-weight: 900;
    font-size: 0.92rem;
    box-shadow: 0 10px 28px rgba(38, 44, 130, 0.08);
}

.hero-eyebrow-icon {
    font-size: 1.05rem;
}

.landing-hero h1 {
    max-width: 920px;
    margin: 1.5rem auto 0;
    color: var(--brand-deep);
    font-size: clamp(3rem, 7.8vw, 5.25rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
    font-weight: 1000;
}

.landing-hero h1 span {
    display: block;
    color: var(--brand);
}

.landing-hero-copy {
    max-width: 820px;
    margin: 1.8rem auto 0;
    color: #32466b;
    font-size: clamp(1.08rem, 2.2vw, 1.35rem);
    line-height: 1.65;
}

.landing-actions {
    margin-top: 2.8rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.landing-primary,
.landing-secondary {
    min-height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border-radius: 999px;
    padding: 0.95rem 2.3rem;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing-primary {
    background: var(--brand);
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(38, 44, 130, 0.25);
}

.landing-secondary {
    background: #ffffff;
    color: #314260;
    border: 1px solid #dce3ef;
}

.landing-primary:hover,
.landing-secondary:hover {
    transform: translateY(-2px);
}

.landing-secondary:hover {
    border-color: #bfc8dc;
    box-shadow: 0 14px 28px rgba(18, 32, 68, 0.08);
}

.hero-preview-shell {
    margin: 4rem auto 0;
    border: 1px solid #dce3ef;
    border-radius: 2rem;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    padding: clamp(1rem, 2vw, 1.6rem);
}

.hero-preview-stage {
    min-height: 21rem;
    border-radius: 1.35rem;
    background:
        linear-gradient(90deg, #eef3f8 0 30%, transparent 30% 70%, #eef3f8 70%),
        #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 6vw, 4rem);
    position: relative;
    overflow: hidden;
}

.hero-phone-card {
    width: min(19rem, 48vw);
    min-height: 21rem;
    background: #ffffff;
    border-left: 0.55rem solid #111a3a;
    border-right: 0.55rem solid #111a3a;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 45px rgba(10, 24, 55, 0.08);
}

.hero-phone-top {
    width: 100%;
    height: 5.4rem;
    background: var(--brand);
}

.hero-avatar {
    width: 4.8rem;
    height: 4.8rem;
    display: grid;
    place-items: center;
    margin-top: -2.4rem;
    border: 0.35rem solid #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, #f9b35f, #783f2f);
    color: #ffffff;
    font-weight: 1000;
    box-shadow: 0 7px 14px rgba(10, 24, 55, 0.18);
}

.hero-phone-card strong {
    margin-top: 1.15rem;
    color: var(--brand-deep);
    font-size: 1.25rem;
}

.hero-phone-card span {
    margin-top: 0.4rem;
    color: #405072;
}

.hero-line {
    width: 48%;
    height: 0.7rem;
    margin-top: 0.7rem;
    border-radius: 999px;
    background: #eef2f7;
}

.hero-line-wide {
    width: 68%;
    margin-top: 1.2rem;
}

.hero-dots {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.65rem;
}

.hero-dots i {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: #eef2f7;
}

.hero-qr {
    width: clamp(6rem, 18vw, 8.2rem);
    height: clamp(6rem, 18vw, 8.2rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    border-radius: 0.85rem;
    background: #ffffff;
    padding: 1.1rem;
    box-shadow: 0 18px 26px rgba(10, 24, 55, 0.16);
}

.hero-qr span {
    border: 0.65rem solid #1d2b46;
    border-radius: 0.35rem;
}

.landing-section,
.landing-cta {
    max-width: 1120px;
    margin: 0 auto;
    padding: 5rem 0;
}

.landing-section-heading {
    max-width: 840px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.landing-section-heading h2,
.landing-cta h2 {
    margin: 0;
    color: var(--brand-deep);
    font-size: clamp(2.1rem, 4vw, 3rem);
    letter-spacing: -0.055em;
    line-height: 1;
    font-weight: 1000;
}

.landing-section-heading p,
.landing-cta p {
    margin: 1rem auto 0;
    color: #405072;
    font-size: 1.1rem;
    line-height: 1.6;
}

.feature-grid-new {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.feature-card-new {
    min-height: 15rem;
    border: 1px solid #e1e7f0;
    border-radius: 1.35rem;
    background: #ffffff;
    padding: 1.7rem;
    box-shadow: 0 16px 40px rgba(18, 32, 68, 0.055);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card-new:hover {
    border-color: #cbd7e9;
    box-shadow: 0 22px 48px rgba(18, 32, 68, 0.085);
    transform: translateY(-2px);
}

.feature-icon {
    width: 3.15rem;
    height: 3.15rem;
    display: inline-grid;
    place-items: center;
    border-radius: 0.85rem;
    background: #eef2ff;
    color: var(--brand);
    font-weight: 1000;
    margin-bottom: 1.35rem;
}

.feature-card-new h3 {
    margin: 0;
    color: var(--brand-deep);
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.feature-card-new p {
    margin: 0.85rem 0 0;
    color: #405072;
    line-height: 1.65;
}

.landing-cta {
    margin-bottom: 3rem;
    border: 1px solid #dce3ef;
    border-radius: 2rem;
    background: linear-gradient(180deg, #ffffff, #f6f9ff);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.landing-cta .landing-primary {
    margin-top: 2rem;
}

@media (max-width: 860px) {
    .feature-grid-new {
        grid-template-columns: 1fr;
    }

    .hero-preview-stage {
        min-height: 19rem;
        gap: 1rem;
    }

    .hero-phone-card {
        width: 15rem;
    }
}

@media (max-width: 640px) {
    .footer-shell-inner,
    .landing-actions {
        flex-direction: column;
    }

    .landing-primary,
    .landing-secondary {
        width: min(100%, 20rem);
    }

    .hero-preview-stage {
        justify-content: flex-start;
        padding-left: 1rem;
    }

    .hero-qr {
        position: absolute;
        right: 1rem;
        width: 5.8rem;
        height: 5.8rem;
        padding: 0.8rem;
        gap: 0.45rem;
    }
}

.admin-page-shell {
    padding: 0.4rem 0 3rem;
    color: #101936;
}

.admin-page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(211, 220, 235, 0.86);
    border-radius: 1.2rem;
    background:
        radial-gradient(circle at 88% 18%, rgba(37, 49, 136, 0.14), transparent 16rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.94));
    box-shadow: 0 14px 38px rgba(21, 31, 66, 0.055);
    padding: clamp(1.15rem, 2.4vw, 1.7rem);
}

.admin-page-hero .eyebrow {
    display: inline-flex;
    width: fit-content;
    margin: 0;
    border: 1px solid #c9d7f8;
    border-radius: 999px;
    background: #f2f6ff;
    color: #243188;
    padding: 0.34rem 0.76rem;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.admin-page-hero h1 {
    margin: 0.7rem 0 0.35rem;
    color: #081431;
    font-size: clamp(2rem, 3.6vw, 3.35rem);
    letter-spacing: -0.055em;
    line-height: 1.02;
    font-weight: 900;
}

.admin-page-hero p:last-child {
    max-width: 660px;
    margin: 0;
    color: #4a5876;
    font-size: 0.98rem;
    line-height: 1.62;
}

.admin-page-shell .hero-tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid rgba(211, 220, 235, 0.86);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    padding: 0.28rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(21, 31, 66, 0.04);
}

.admin-page-shell .hero-tab {
    text-decoration: none;
    color: #34405c;
    padding: 0.55rem 0.92rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
}

.admin-page-shell .hero-tab.hero-tab-active,
.admin-page-shell .hero-tab.active,
.admin-page-shell .hero-tab:hover {
    background: #253188;
    color: #ffffff;
}

.admin-panel {
    border: 1px solid rgba(211, 220, 235, 0.86);
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    box-shadow: 0 12px 32px rgba(21, 31, 66, 0.045);
    overflow-x: auto;
}

.filters {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.9rem;
}

.search-input {
    width: 100%;
    min-height: 2.95rem;
    border: 1px solid #d6deec;
    border-radius: 0.85rem;
    background: #ffffff;
    color: #101936;
    padding: 0 1rem;
    outline: none;
}

.search-input:focus {
    border-color: #253188;
    box-shadow: 0 0 0 4px rgba(37, 49, 136, 0.09);
}

.admin-primary-btn,
.admin-secondary-btn,
.admin-table-action {
    min-height: 2.18rem;
    border: 1px solid #d8e0ef;
    border-radius: 999px;
    background: #ffffff;
    color: #253188;
    padding: 0.42rem 0.68rem;
    font-weight: 800;
    font-size: 0.86rem;
    text-decoration: none;
}

.admin-primary-btn {
    min-height: 2.7rem;
    padding-inline: 1rem;
    border-color: #253188;
    background: #253188;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 49, 136, 0.2);
}

.admin-secondary-btn:hover,
.admin-table-action:hover {
    background: #f2f6ff;
}

.admin-table-danger {
    border-color: #fecaca;
    color: #b91c1c;
}

.admin-panel .data-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.admin-panel .data-table th,
.admin-panel .data-table td {
    text-align: left;
    padding: 0.82rem 0.55rem;
    border-bottom: 1px solid #edf1f7;
    white-space: nowrap;
}

.admin-panel .data-table th {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7a849a;
    font-weight: 850;
}

.admin-panel .data-table td {
    color: #34405c;
    font-size: 0.88rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-panel td:last-child {
    display: table-cell;
    gap: 0.4rem;
    overflow: visible;
    white-space: normal;
}

.admin-panel td:last-child .admin-table-action,
.admin-panel td:last-child button {
    margin: 0.08rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
    color: #667491;
    font-weight: 800;
}

@media (max-width: 700px) {
    .filters,
    .pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-page-shell .hero-tabs {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        border-radius: 1rem;
    }

    .admin-page-shell .hero-tab {
        text-align: center;
    }
}

@media (max-width: 820px) {
    .admin-profile-list .data-table th:nth-child(2),
    .admin-profile-list .data-table td:nth-child(2) {
        display: none;
    }

    .admin-profile-list .data-table th:nth-child(3),
    .admin-profile-list .data-table td:nth-child(3) {
        width: 29%;
    }

    .admin-profile-list .data-table th:last-child,
    .admin-profile-list .data-table td:last-child {
        width: 38%;
    }

    .admin-profile-list .data-table th:first-child,
    .admin-profile-list .data-table td:first-child {
        width: 22%;
    }

    .admin-profile-list .data-table th:nth-child(4),
    .admin-profile-list .data-table td:nth-child(4) {
        width: 11%;
    }
}

@media (min-width: 860px) {
    .topbar-shell {
        padding: 0.9rem 1.5rem;
    }

    .content-shell {
        padding: 1.5rem;
    }
}

@media (min-width: 960px) {
    .menu-button {
        display: none;
    }

    .menu-content {
        display: flex;
        width: auto;
        margin-top: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex: 1;
    }

    .primary-nav {
        margin-left: 1.25rem;
    }

    .auth-nav {
        margin-left: auto;
    }
}

/* Control Center */
.control-center-shell {
    padding: 1.25rem 0 1.5rem;
}

.control-center-hero {
    margin-bottom: 1rem;
}

.control-center-hero h1 {
    margin: 0.2rem 0 0.35rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -0.03em;
    line-height: 0.95;
}

.hero-copy {
    margin: 0;
    color: #727b90;
    font-size: 0.98rem;
}

.hero-tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #e7e4dd;
    border: 1px solid #dfdbd2;
    border-radius: 0.65rem;
    padding: 0.25rem;
    margin-bottom: 1.4rem;
}

.hero-tab {
    text-decoration: none;
    color: #323850;
    padding: 0.55rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.87rem;
    font-weight: 700;
}

.hero-tab.hero-tab-active,
.hero-tab.active {
    background: #1a214d;
    color: #ffffff;
}

.admin-loading-state {
    border: 1px solid #d8dbe4;
    border-radius: 0.9rem;
    background: #ffffff;
    padding: 1rem;
    color: #6a7287;
}

.admin-dashboard {
    display: grid;
    gap: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.stat-card {
    border: 1px solid #d7dbe4;
    border-top: 4px solid #dce1ea;
    border-radius: 0.8rem;
    background: #ffffff;
    padding: 1rem 1.1rem;
}

.stat-card-highlight {
    border-top-color: #d2a74e;
}

.stat-label {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.66rem;
    color: #8b93a8;
    font-weight: 700;
}

.stat-value {
    margin: 0.65rem 0 0.3rem;
    color: #101522;
    font-size: 3rem;
    line-height: 0.95;
    font-weight: 900;
}

.stat-meta {
    margin: 0 0 0.45rem;
    color: #7b8398;
    font-size: 0.87rem;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #ece9e1;
    color: #545b6b;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.3rem 0.55rem;
}

.stat-pill-green {
    background: #e2efe7;
    color: #2f8050;
}

.content-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
}

.recent-logs,
.quick-actions {
    border: 1px solid #d7dbe4;
    border-radius: 0.8rem;
    background: #ffffff;
    padding: 1rem 1.1rem;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid #e5e8ef;
    padding-bottom: 0.75rem;
    margin-bottom: 0.8rem;
}

.section-head h2,
.quick-actions h2 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.section-link {
    text-decoration: none;
    color: #8c93a8;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.activity-empty {
    min-height: 250px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #6e768a;
    gap: 0.35rem;
    padding: 1.2rem;
}

.activity-empty-icon {
    height: 44px;
    width: 44px;
    border-radius: 0.7rem;
    background: #ece9e1;
    color: #777b84;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.activity-empty h3 {
    margin: 0.2rem 0 0;
    color: #1d2230;
}

.activity-empty p {
    margin: 0;
    max-width: 330px;
    font-size: 0.9rem;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 0.7rem 0.6rem;
    border-bottom: 1px solid #eceff5;
    white-space: nowrap;
}

.data-table th {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8891a8;
}

.quick-actions {
    align-self: start;
}

.quick-actions h2 {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e8ef;
    margin-bottom: 0.85rem;
}

.quick-actions-list {
    display: grid;
    gap: 0.55rem;
}

.quick-action-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: #252c3d;
    border: 1px solid #d7dbe4;
    border-radius: 0.6rem;
    padding: 0.65rem 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    background: #ffffff;
}

.quick-action-link:hover {
    background: #f7f9fd;
}

.quick-action-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.quick-action-gold {
    background: #c49f45;
}

.quick-action-green {
    background: #35885a;
}

.quick-action-navy {
    background: #1b234d;
}

.quick-action-gray {
    background: #8d94a8;
}

.quick-action-arrow {
    color: #8d94a8;
    font-size: 1rem;
}

@media (min-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .content-grid {
        grid-template-columns: minmax(0, 2.15fr) minmax(280px, 0.95fr);
    }
}
