﻿h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

body {
    background-color: #f5f7fa;
    font-family: Segoe UI, sans-serif;
}

.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #1f2937;
    color: white;
    padding: 20px;
}

    .sidebar a {
        display: block;
        color: white;
        text-decoration: none;
        padding: 12px;
        margin-bottom: 5px;
        border-radius: 6px;
    }

        .sidebar a:hover {
            background: #374151;
        }

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.main-content {
    flex: 1;
}

.topbar {
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.page-content {
    padding: 20px;
}
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .page-header h1 {
        margin: 0;
        font-size: 1.8rem;
        font-weight: 600;
    }

.card {
    border: none;
    border-radius: 12px;
}

.card-body {
    padding: 24px;
}

.table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #6b7280;
    border-top: none;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
}

    .empty-state h4 {
        margin-bottom: 10px;
    }

.form-label {
    font-weight: 600;
}

.form-actions {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin-top: 20px;
}
.dashboard-card {
    min-height: 145px;
}

.dashboard-label {
    font-size: 0.8rem;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
}

.dashboard-value {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
}
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    font-size: 0.9rem;
    color: #555;
}

.logout-button {
    border: none;
    background: none;
    color: #0d6efd;
    cursor: pointer;
    padding: 0;
}

    .logout-button:hover {
        text-decoration: underline;
    }

.superadmin-site-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 420px;
}

.viewing-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
}

.superadmin-site-selector select {
    min-width: 190px;
}
.dashboard-card-link {
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    cursor: pointer;
}

    .dashboard-card-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.12) !important;
    }

.quick-add-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem;
}

:root {
    --am-bg: #f3f6fb;
    --am-surface: #ffffff;
    --am-border: #e5e7eb;
    --am-text: #111827;
    --am-muted: #6b7280;
    --am-primary: #2563eb;
    --am-primary-dark: #1d4ed8;
    --am-sidebar: #0f172a;
    --am-sidebar-muted: #94a3b8;
    --am-sidebar-hover: #1e293b;
}

html, body {
    background: var(--am-bg);
    color: var(--am-text);
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
}

a {
    color: var(--am-primary);
}

    a:hover {
        color: var(--am-primary-dark);
    }

.page {
    min-height: 100vh;
    background: var(--am-bg);
}

.sidebar {
    background: var(--am-sidebar);
    color: #fff;
    min-height: 100vh;
    width: 245px;
    position: fixed;
    left: 0;
    top: 0;
    padding: 1rem;
    box-shadow: 8px 0 20px rgba(15, 23, 42, 0.08);
}

    .sidebar .brand,
    .sidebar .navbar-brand {
        color: #fff;
        font-weight: 700;
        font-size: 1.1rem;
        display: block;
        margin-bottom: 1.5rem;
        text-decoration: none;
    }

    .sidebar a {
        display: block;
        color: var(--am-sidebar-muted);
        text-decoration: none;
        padding: 0.65rem 0.8rem;
        border-radius: 0.65rem;
        margin-bottom: 0.25rem;
        font-weight: 500;
    }

        .sidebar a:hover {
            background: var(--am-sidebar-hover);
            color: #fff;
        }

    .sidebar hr {
        border-color: rgba(255,255,255,0.12);
        margin: 1rem 0;
    }

main,
.content,
.main-content {
    margin-left: 245px;
    min-height: 100vh;
}

.top-row,
.topbar {
    background: var(--am-surface);
    border-bottom: 1px solid var(--am-border);
    min-height: 58px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

article.content,
.page-content {
    padding: 1.5rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

    .page-header h1 {
        font-size: 1.65rem;
        font-weight: 700;
        margin: 0;
        letter-spacing: -0.025em;
    }

.text-muted {
    color: var(--am-muted) !important;
}

.card {
    border: 1px solid var(--am-border);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
}

.card-body {
    padding: 1.25rem;
}

.table {
    margin-bottom: 0;
}

    .table thead th {
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #64748b;
        border-bottom: 1px solid var(--am-border);
        background: #f8fafc;
    }

    .table tbody td {
        border-color: #eef2f7;
        vertical-align: middle;
    }

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

.btn {
    border-radius: 0.65rem;
    font-weight: 500;
}

.btn-primary {
    background: var(--am-primary);
    border-color: var(--am-primary);
}

    .btn-primary:hover {
        background: var(--am-primary-dark);
        border-color: var(--am-primary-dark);
    }

.form-control,
.form-select {
    border-radius: 0.65rem;
    border-color: #d1d5db;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--am-primary);
        box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
    }

.badge {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.35rem 0.55rem;
}

.dashboard-card {
    border-radius: 1rem;
    min-height: 130px;
}

.dashboard-label {
    color: var(--am-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dashboard-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 0.35rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--am-muted);
}

    .empty-state h4 {
        color: var(--am-text);
        font-weight: 700;
    }

.quick-add-box {
    background: #f8fafc;
    border: 1px solid var(--am-border);
    border-radius: 0.75rem;
    padding: 0.75rem;
}

@media (max-width: 900px) {
    .sidebar {
        position: static;
        width: 100%;
        min-height: auto;
    }

    main,
    .content,
    .main-content {
        margin-left: 0;
    }

    .page-header {
        flex-direction: column;
    }
}
/* ================================
   Asset Manager layout fix
================================ */

.page,
.app-layout {
    min-height: 100vh;
    background: #f3f6fb;
}

/* Fixed left sidebar */
.sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: 245px !important;
    min-height: 100vh;
    background: #0f172a;
    color: #fff;
    padding: 1rem;
    z-index: 1000;
}

/* Main area must sit beside sidebar, not below it */
.main-content {
    margin-left: 245px !important;
    min-height: 100vh;
    background: #f3f6fb;
    width: calc(100% - 245px);
}

/* Top bar */
.topbar {
    height: 64px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 1.25rem;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Page body */
.page-content {
    padding: 1.5rem;
}

/* Sidebar brand */
.sidebar .brand,
.sidebar .logo {
    display: block;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

/* Sidebar links */
.sidebar nav a,
.sidebar .sidebar-nav a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.65rem 0.8rem;
    border-radius: 0.65rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

    .sidebar nav a:hover,
    .sidebar .sidebar-nav a:hover {
        background: #1e293b;
        color: #ffffff;
    }

.sidebar hr {
    border-color: rgba(255, 255, 255, 0.18);
    margin: 1rem 0;
}

/* Topbar details */
.topbar-title {
    font-weight: 700;
    color: #111827;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.superadmin-site-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.viewing-label {
    font-size: 0.82rem;
    color: #6b7280;
    white-space: nowrap;
}

.site-select {
    min-width: 220px;
}

.login-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
}

.logout-form {
    display: inline;
    margin: 0;
}

.logout-button {
    border: 0;
    background: transparent;
    color: #dc2626;
    padding: 0;
    font-weight: 500;
}

    .logout-button:hover {
        text-decoration: underline;
    }

/* Mobile */
@media (max-width: 900px) {
    .sidebar {
        position: static !important;
        width: 100% !important;
        min-height: auto;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100%;
    }

    .topbar {
        height: auto;
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar-actions {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        margin-left: 0;
    }

    .superadmin-site-selector,
    .login-area {
        flex-wrap: wrap;
    }

    .site-select {
        min-width: 100%;
    }
}
/* Final SaaS polish */

.sidebar {
    width: 260px !important;
}

.main-content {
    margin-left: 260px !important;
    width: calc(100% - 260px);
}

.sidebar .brand,
.sidebar .logo {
    font-size: 1rem;
    margin-bottom: 1.75rem;
}

.sidebar nav a,
.sidebar .sidebar-nav a {
    font-size: 0.9rem;
    padding: 0.7rem 0.8rem;
}

.topbar {
    min-height: 64px;
    height: auto;
    padding: 0.85rem 1.5rem;
}

.topbar-title {
    font-size: 0.95rem;
}

.page-content {
    padding: 1.75rem;
}

.page-header {
    margin-bottom: 1.5rem;
}

    .page-header h1 {
        font-size: 1.75rem;
    }

.dashboard-card {
    min-height: 120px;
}

.dashboard-value {
    font-size: 1.9rem;
}

.card {
    border-radius: 0.9rem;
}

.table thead th {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.table tbody td {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.btn-group-sm > .btn,
.btn-sm {
    border-radius: 0.45rem;
}

/* ================================
   Mobile / tablet layout fix
================================ */

@media (max-width: 1100px) {
    .sidebar {
        position: static !important;
        width: 100% !important;
        min-height: auto !important;
        padding: 1rem;
    }

        .sidebar .brand,
        .sidebar .logo {
            margin-bottom: 1rem;
        }

        .sidebar nav,
        .sidebar .sidebar-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
        }

            .sidebar nav a,
            .sidebar .sidebar-nav a {
                margin-bottom: 0;
                padding: 0.55rem 0.75rem;
            }

        .sidebar hr {
            width: 100%;
            margin: 0.5rem 0;
        }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .topbar-actions {
        width: 100%;
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .superadmin-site-selector {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-select {
        width: 100%;
        min-width: 0;
    }

    .login-area {
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .page-content {
        padding: 1rem;
    }

    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

        .page-header .btn,
        .page-header a.btn {
            width: 100%;
        }

    .dashboard-card {
        min-height: 105px;
    }

    .dashboard-value {
        font-size: 1.65rem;
    }

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

    .btn-group {
        flex-wrap: nowrap;
    }
}

@media (max-width: 600px) {
    html,
    body {
        font-size: 13px;
    }

    .sidebar nav,
    .sidebar .sidebar-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

        .sidebar nav a,
        .sidebar .sidebar-nav a {
            text-align: center;
        }

    .topbar-title {
        display: none;
    }

    .login-area {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-header h1 {
        font-size: 1.45rem;
    }

    .card-body {
        padding: 1rem;
    }

    .btn-group-sm > .btn {
        padding: 0.35rem 0.45rem;
        font-size: 0.75rem;
    }
}

/* Asset list action dropdown */
.asset-actions-cell {
    white-space: nowrap;
    min-width: 92px;
}

.asset-actions-cell .dropdown-menu {
    min-width: 190px;
}
/* Active sidebar link */
.sidebar nav a.active,
.sidebar .sidebar-nav a.active {
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
}

    .sidebar nav a.active:hover,
    .sidebar .sidebar-nav a.active:hover {
        background: #1d4ed8;
        color: #ffffff;
    }
/* -------------------------------------------------------
   Asset list / mobile polish
------------------------------------------------------- */

/* Keep tables usable on smaller screens */
.card .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Stop the Actions column getting crushed */
.assets-table th:last-child,
.assets-table td:last-child {
    white-space: nowrap;
    text-align: right;
}

/* Keep action dropdown neat */
.assets-table .dropdown,
.assets-table .btn-group {
    display: inline-flex;
}

.assets-table .dropdown-menu {
    min-width: 180px;
}

/* Slightly improve table readability */
.assets-table td,
.assets-table th {
    vertical-align: middle;
}

/* Better spacing for filter cards */
.asset-filter-card .form-label {
    font-size: 0.85rem;
    font-weight: 700;
}

.asset-filter-card .btn {
    min-height: 38px;
}


/* Tablet and smaller */
@media (max-width: 991.98px) {

    .page-header {
        gap: 1rem;
    }

    .asset-filter-card .row > div {
        margin-bottom: 0.25rem;
    }

    .asset-filter-card .d-flex {
        width: 100%;
    }

    .asset-filter-card .btn {
        flex: 1;
    }

    .assets-table {
        min-width: 1050px;
    }
}


/* Mobile */
@media (max-width: 767.98px) {

    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

        .page-header .btn,
        .page-header a.btn {
            width: 100%;
        }

    .asset-filter-card .card-body {
        padding: 1rem;
    }

    .asset-filter-card .d-flex {
        flex-direction: column;
    }

    .asset-filter-card .btn {
        width: 100%;
    }

    .assets-table {
        min-width: 1000px;
        font-size: 0.9rem;
    }

        .assets-table th,
        .assets-table td {
            padding: 0.65rem 0.75rem;
        }

        .assets-table .btn {
            padding: 0.35rem 0.6rem;
            font-size: 0.85rem;
        }

    .badge {
        font-size: 0.75rem;
    }
}


/* Very small phones */
@media (max-width: 480px) {

    .asset-filter-card .form-control,
    .asset-filter-card .form-select {
        font-size: 0.95rem;
    }

    .assets-table {
        min-width: 950px;
    }
}
/* -------------------------------------------------------
   Asset View / Asset Hub
------------------------------------------------------- */

.asset-view-page {
    max-width: 1400px;
}

.asset-hero-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.5rem;
}

.asset-hero-main {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
}

.asset-hero-card h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
}

.asset-tag {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #2563eb;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.asset-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

    .asset-meta span {
        background: #f3f4f6;
        color: #374151;
        border-radius: 999px;
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
        font-weight: 600;
    }

.asset-status-area {
    text-align: right;
}

    .asset-status-area .badge {
        font-size: 0.95rem;
        padding: 0.55rem 0.85rem;
    }

.asset-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.asset-kpi-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

    .asset-kpi-card:hover {
        border-color: #2563eb;
        text-decoration: none;
    }

.asset-kpi-number {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.asset-kpi-label {
    margin-top: 0.5rem;
    color: #6b7280;
    font-weight: 700;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

    .detail-grid div {
        background: #f9fafb;
        border-radius: 12px;
        padding: 0.85rem 1rem;
    }

    .detail-grid span {
        display: block;
        color: #6b7280;
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin-bottom: 0.25rem;
    }

    .detail-grid strong {
        display: block;
        color: #111827;
        font-size: 0.98rem;
        word-break: break-word;
    }


/* Asset view tablet */
@media (max-width: 991.98px) {

    .asset-hero-main {
        flex-direction: column;
    }

    .asset-status-area {
        text-align: left;
    }

    .asset-hero-actions .btn {
        flex: 1 1 calc(50% - 0.6rem);
    }
}


/* Asset view mobile */
@media (max-width: 767.98px) {

    .asset-hero-card {
        padding: 1rem;
        border-radius: 14px;
    }

        .asset-hero-card h1 {
            font-size: 1.5rem;
        }

    .asset-hero-actions {
        flex-direction: column;
    }

        .asset-hero-actions .btn {
            width: 100%;
        }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .asset-kpi-number {
        font-size: 1.6rem;
    }
}
/* -------------------------------------------------------
   Asset Documents
------------------------------------------------------- */

.asset-documents-page {
    max-width: 1400px;
}

.asset-documents-hero {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

    .asset-documents-hero h1 {
        margin: 0;
        font-size: 2rem;
        font-weight: 800;
        color: #111827;
    }

.asset-documents-hero-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.asset-document-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    background: #f9fafb;
}

.asset-documents-table th,
.asset-documents-table td {
    vertical-align: middle;
}

    .asset-documents-table th:last-child,
    .asset-documents-table td:last-child {
        white-space: nowrap;
    }

.document-file-name {
    display: inline-block;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}

.empty-documents-box {
    border: 2px dashed #d1d5db;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    background: #f9fafb;
}

    .empty-documents-box h5 {
        font-weight: 800;
        color: #111827;
    }


/* Tablet */
@media (max-width: 991.98px) {

    .asset-documents-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .asset-documents-hero-actions {
        width: 100%;
    }

        .asset-documents-hero-actions .btn {
            flex: 1;
        }

    .asset-documents-table {
        min-width: 1000px;
    }
}


/* Mobile */
@media (max-width: 767.98px) {

    .asset-documents-hero {
        padding: 1rem;
        border-radius: 14px;
    }

        .asset-documents-hero h1 {
            font-size: 1.5rem;
        }

    .asset-documents-hero-actions {
        flex-direction: column;
    }

        .asset-documents-hero-actions .btn {
            width: 100%;
        }

    .asset-document-actions {
        flex-direction: column;
    }

        .asset-document-actions .btn {
            width: 100%;
        }

    .asset-documents-table {
        min-width: 950px;
        font-size: 0.9rem;
    }

    .document-file-name {
        max-width: 180px;
    }
}
/* -------------------------------------------------------
   Asset Add / Edit form polish
------------------------------------------------------- */

.asset-form-page {
    max-width: 1200px;
}

.asset-form-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

    .asset-form-card .card-header {
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        padding: 1rem 1.25rem;
    }

        .asset-form-card .card-header strong {
            font-size: 1rem;
            font-weight: 800;
            color: #111827;
        }

    .asset-form-card .card-body {
        padding: 1.25rem;
        background: #ffffff;
    }

.asset-form-page .form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
}

.asset-form-page .form-control,
.asset-form-page .form-select {
    min-height: 40px;
}

.asset-form-page textarea.form-control {
    min-height: 120px;
}

.asset-form-page .input-group .btn {
    font-weight: 700;
}

.quick-add-box {
    background: #f9fafb;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.75rem;
}

    .quick-add-box .input-group {
        gap: 0.5rem;
    }

        .quick-add-box .input-group .form-control {
            border-radius: 8px !important;
        }

        .quick-add-box .input-group .btn {
            border-radius: 8px !important;
        }

.asset-form-actions {
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    box-shadow: 0 -8px 25px rgba(15, 23, 42, 0.08);
}

    .asset-form-actions .btn {
        min-width: 130px;
        font-weight: 700;
    }


/* Tablet */
@media (max-width: 991.98px) {

    .asset-form-card .card-body {
        padding: 1rem;
    }

    .asset-form-actions {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }
}


/* Mobile */
@media (max-width: 767.98px) {

    .asset-form-page {
        max-width: none;
    }

    .asset-form-card {
        border-radius: 14px;
    }

        .asset-form-card .card-header,
        .asset-form-card .card-body {
            padding: 1rem;
        }

    .asset-form-page .input-group {
        flex-direction: column;
    }

        .asset-form-page .input-group .form-select,
        .asset-form-page .input-group .form-control,
        .asset-form-page .input-group .btn {
            width: 100%;
            border-radius: 8px !important;
        }

    .quick-add-box .input-group {
        flex-direction: column;
    }

    .asset-form-actions {
        flex-direction: column;
        align-items: stretch;
        border-radius: 14px;
    }

        .asset-form-actions .btn {
            width: 100%;
            min-width: 0;
        }

        .asset-form-actions .ms-2 {
            margin-left: 0 !important;
        }
}
/* -------------------------------------------------------
   Asset Tools / Scan
------------------------------------------------------- */

.asset-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1400px;
}

.asset-tool-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.5rem;
    color: inherit;
    text-decoration: none;
    transition: transform 0.12s ease, border-color 0.12s ease;
}

    .asset-tool-card:hover {
        border-color: #2563eb;
        transform: translateY(-2px);
        text-decoration: none;
    }

    .asset-tool-card h4 {
        font-weight: 800;
        margin-bottom: 0.5rem;
        color: #111827;
    }

    .asset-tool-card p {
        color: #6b7280;
        margin-bottom: 1rem;
    }

    .asset-tool-card span {
        color: #2563eb;
        font-weight: 800;
    }

.asset-tool-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.disabled-tool {
    opacity: 0.65;
    cursor: default;
}

    .disabled-tool:hover {
        border-color: #e5e7eb;
        transform: none;
    }

    .disabled-tool span {
        color: #6b7280;
    }

.asset-scan-page {
    max-width: 1100px;
}

.asset-scan-card {
    border-radius: 18px;
    border: 1px solid #e5e7eb;
}

    .asset-scan-card .card-body {
        padding: 2rem;
        text-align: center;
    }

.scan-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1rem auto;
}

.scan-input-row {
    display: flex;
    gap: 0.75rem;
    max-width: 720px;
    margin: 1.5rem auto 0 auto;
}

    .scan-input-row .form-control {
        flex: 1;
    }


/* Tablet */
@media (max-width: 991.98px) {

    .asset-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Mobile */
@media (max-width: 767.98px) {

    .asset-tools-grid {
        grid-template-columns: 1fr;
    }

    .asset-scan-card .card-body {
        padding: 1.25rem;
    }

    .scan-input-row {
        flex-direction: column;
    }

        .scan-input-row .btn {
            width: 100%;
        }
}
/* -------------------------------------------------------
   Asset Barcode Labels
------------------------------------------------------- */

.asset-label-sheet {
    display: grid;
    align-items: start;
}

.asset-label {
    border: 1px dashed #cbd5e1;
    border-radius: 4px;
    padding: 3mm;
    background: #ffffff;
    overflow: hidden;
    page-break-inside: avoid;
}
.asset-label-title {
    font-size: 10pt;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asset-label-tag {
    font-size: 9pt;
    font-weight: 700;
    color: #2563eb;
    margin-top: 1mm;
}

.asset-label svg {
    width: 100%;
    margin-top: 1mm;
}
.asset-label-footer {
    display: flex;
    justify-content: space-between;
    gap: 2mm;
    font-size: 7pt;
    color: #475569;
    margin-top: 1mm;
}

    .asset-label-footer span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media print {

    body {
        background: #ffffff !important;
    }

    .no-print,
    .sidebar,
    .topbar,
    .app-sidebar,
    .app-topbar,
    .page-header {
        display: none !important;
    }

    .content,
    .main-content,
    .app-main,
    .app-content {
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    .asset-label-sheet {
        display: grid;
        padding: 0;
    }
    .asset-label {
        border: none;
        box-shadow: none;
    }

}
.label-print-options {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}
/* -------------------------------------------------------
   Asset Label Templates
------------------------------------------------------- */

.label-template-list .list-group-item {
    border-radius: 12px;
    margin-bottom: 0.5rem;
    border: 1px solid #e5e7eb;
}

    .label-template-list .list-group-item.active {
        background: #2563eb;
        border-color: #2563eb;
    }

.label-template-editor {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

    .label-template-editor .card-header {
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
    }

    .label-template-editor .card-footer {
        background: #f9fafb;
    }

.section-title {
    font-weight: 800;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.4rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {

    .label-template-editor .card-footer {
        flex-direction: column;
    }

        .label-template-editor .card-footer > div {
            width: 100%;
        }

        .label-template-editor .card-footer .btn {
            width: 100%;
        }

        .label-template-editor .card-footer .d-flex {
            flex-direction: column;
        }
}
/* -------------------------------------------------------
   Asset Import
------------------------------------------------------- */

.asset-import-table {
    min-width: 1100px;
}

    .asset-import-table td,
    .asset-import-table th {
        vertical-align: top;
    }

    .asset-import-table ul {
        font-size: 0.85rem;
    }

/* Quick action buttons */
.page-header .d-flex.flex-wrap .btn {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .page-header .d-flex.flex-wrap {
        flex-direction: column;
        width: 100%;
    }

        .page-header .d-flex.flex-wrap .btn {
            width: 100%;
        }
}
/* -------------------------------------------------------
   Asset Service / Maintenance action pages
------------------------------------------------------- */

.asset-action-hero {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

    .asset-action-hero h1 {
        margin: 0;
        font-size: 1.8rem;
        font-weight: 800;
        color: #111827;
    }

.asset-action-hero-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {

    .asset-action-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 14px;
    }

        .asset-action-hero h1 {
            font-size: 1.45rem;
        }

    .asset-action-hero-actions {
        flex-direction: column;
    }

        .asset-action-hero-actions .btn {
            width: 100%;
        }
}
/* -------------------------------------------------------
   Asset Status History
------------------------------------------------------- */

.status-reason-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

    .status-reason-card .card-header {
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
    }

    .status-reason-card textarea {
        min-height: 90px;
    }
/* -------------------------------------------------------
   Asset Reports
------------------------------------------------------- */

.report-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    margin: 1.25rem 0 0.75rem 0;
}

.asset-report-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1500px;
}

.asset-report-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.25rem;
    color: inherit;
    text-decoration: none;
    min-height: 180px;
}

    .asset-report-card:hover {
        border-color: #2563eb;
        text-decoration: none;
    }

    .asset-report-card .report-count {
        font-size: 2.25rem;
        font-weight: 900;
        color: #111827;
        line-height: 1;
        margin-bottom: 0.75rem;
    }

    .asset-report-card h4 {
        font-size: 1.05rem;
        font-weight: 800;
        color: #111827;
        margin-bottom: 0.5rem;
    }

    .asset-report-card p {
        color: #6b7280;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .asset-report-card span {
        color: #2563eb;
        font-weight: 800;
    }

    .asset-report-card.warning {
        border-color: #facc15;
    }

        .asset-report-card.warning .report-count {
            color: #a16207;
        }

    .asset-report-card.danger {
        border-color: #fca5a5;
    }

        .asset-report-card.danger .report-count {
            color: #dc2626;
        }

    .asset-report-card.muted {
        background: #f9fafb;
    }

@media (max-width: 1199.98px) {
    .asset-report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .asset-report-grid {
        grid-template-columns: 1fr;
    }

    .asset-report-card {
        min-height: auto;
    }
}

/* -------------------------------------------------------
   Public Landing Page
------------------------------------------------------- */

.public-page-shell {
    min-height: 100vh;
    background: #f7f9fc;
}

.landing-page {
    min-height: 100vh;
    color: #172033;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 58%, #f3f6fb 100%);
}

.landing-nav {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #172033;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

    .landing-brand:hover {
        color: #172033;
    }

.landing-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2457d6 0%, #1d8cf0 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(36, 87, 214, 0.24);
    position: relative;
    overflow: hidden;
}

    .landing-brand-mark::before {
        content: "";
        position: absolute;
        inset: 4px 5px auto auto;
        width: 14px;
        height: 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.18);
    }

.landing-brand-box {
    width: 20px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 5px;
    position: relative;
    display: inline-block;
    z-index: 1;
}

    .landing-brand-box::before {
        content: "";
        position: absolute;
        left: 4px;
        top: -6px;
        width: 8px;
        height: 6px;
        border: 2px solid #ffffff;
        border-bottom: none;
        border-radius: 5px 5px 0 0;
    }

    .landing-brand-box::after {
        content: "";
        position: absolute;
        right: -7px;
        bottom: -5px;
        width: 12px;
        height: 7px;
        border-left: 3px solid #ffffff;
        border-bottom: 3px solid #ffffff;
        transform: rotate(-45deg);
        border-radius: 1px;
    }
.landing-nav-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.landing-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3.25rem 1.25rem 2.75rem;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.landing-eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #2457d6;
    background: #eef4ff;
    border: 1px solid #c7d7fe;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.01em;
}

.landing-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3.15rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    font-weight: 750;
    color: #182236;
}

.landing-hero p {
    margin: 1.25rem 0 0;
    max-width: 650px;
    color: #46566f;
    font-size: 1.05rem;
    line-height: 1.68;
}

.landing-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.65rem;
}

.landing-trust-row {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
}

    .landing-trust-row span {
        background: #ffffff;
        border: 1px solid #dfe5ee;
        color: #344054;
        border-radius: 999px;
        padding: 0.42rem 0.75rem;
        font-weight: 650;
        font-size: 0.82rem;
    }

.landing-hero-panel {
    position: relative;
}

.mock-dashboard-card {
    background: #ffffff;
    border: 1px solid #dbe1ea;
    border-radius: 22px;
    padding: 1.2rem;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
}

.mock-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .mock-dashboard-header strong {
        display: block;
        color: #172033;
        font-size: 1.05rem;
    }

    .mock-dashboard-header small {
        display: block;
        color: #667085;
    }

.mock-badge {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
    border-radius: 999px;
    padding: 0.32rem 0.62rem;
    font-weight: 750;
    font-size: 0.78rem;
}

.mock-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

    .mock-kpi-grid div {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        padding: 1rem;
    }

    .mock-kpi-grid span {
        display: block;
        color: #5d6b82;
        font-size: 0.76rem;
        font-weight: 750;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .mock-kpi-grid strong {
        display: block;
        margin-top: 0.35rem;
        color: #172033;
        font-size: 1.7rem;
        line-height: 1;
    }

.mock-asset-list {
    margin-top: 1rem;
    display: grid;
    gap: 0.7rem;
}

    .mock-asset-list div {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 0.85rem 1rem;
    }

    .mock-asset-list span {
        display: block;
        color: #2457d6;
        font-weight: 800;
        font-size: 0.76rem;
    }

    .mock-asset-list strong {
        display: block;
        color: #172033;
    }

    .mock-asset-list em {
        display: block;
        color: #667085;
        font-style: normal;
        font-size: 0.85rem;
    }

.landing-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.75rem 1.25rem;
}

.landing-section-heading {
    max-width: 780px;
    margin-bottom: 1.75rem;
}

.landing-section h2,
.landing-cta h2 {
    margin: 0;
    color: #172033;
    font-weight: 750;
    letter-spacing: -0.03em;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.12;
}

.landing-section p,
.landing-cta p {
    color: #46566f;
    font-size: 1.02rem;
    line-height: 1.68;
}

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

.landing-feature-card {
    background: #ffffff;
    border: 1px solid #dfe5ee;
    border-radius: 18px;
    padding: 1.3rem;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.04);
}

.landing-feature-icon {
    width: 42px;
    height: 42px;
    background: #eef4ff;
    color: #2457d6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.landing-feature-card h3 {
    color: #172033;
    font-weight: 750;
    margin-bottom: 0.5rem;
}

.landing-feature-card p {
    margin: 0;
    color: #667085;
    line-height: 1.6;
}

.landing-split {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.landing-check-list {
    display: grid;
    gap: 0.75rem;
}

    .landing-check-list div {
        background: #ffffff;
        border: 1px solid #dfe5ee;
        border-radius: 14px;
        padding: 1rem;
        font-weight: 700;
        color: #344054;
    }

        .landing-check-list div::before {
            content: "✓";
            display: inline-flex;
            margin-right: 0.55rem;
            color: #039855;
            font-weight: 900;
        }

.landing-cta {
    max-width: 980px;
    margin: 2.75rem auto;
    padding: 2.75rem 1.25rem;
    text-align: center;
    background: #ffffff;
    border: 1px solid #dbe1ea;
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(16, 24, 40, 0.06);
}

.landing-footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #667085;
}

    .landing-footer a {
        font-weight: 700;
        text-decoration: none;
    }

@media (max-width: 900px) {
    .landing-hero,
    .landing-split {
        grid-template-columns: 1fr;
    }

    .landing-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .landing-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-nav-actions,
    .landing-nav-actions .btn {
        width: 100%;
    }

    .landing-hero {
        padding-top: 2rem;
    }

    .landing-feature-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero-actions .btn {
        width: 100%;
    }

    .mock-kpi-grid {
        grid-template-columns: 1fr;
    }

    .landing-footer {
        flex-direction: column;
    }
}


/* -------------------------------------------------------
   Public Contact Page
------------------------------------------------------- */

.contact-page-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
}

.contact-hero-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

    .contact-hero-card > div:first-child,
    .contact-side-card,
    .contact-form-card {
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 26px;
        box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    }

    .contact-hero-card > div:first-child {
        padding: 2rem;
    }

    .contact-hero-card h1 {
        margin: 0;
        color: #172033;
        font-size: clamp(2rem, 4vw, 3.4rem);
        line-height: 1.08;
        letter-spacing: -0.045em;
        font-weight: 800;
    }

    .contact-hero-card p {
        margin: 1rem 0 0;
        color: #475569;
        font-size: 1.05rem;
        line-height: 1.7;
    }

.contact-side-card {
    padding: 1.5rem;
}

    .contact-side-card h3 {
        margin-bottom: 1rem;
        color: #0f172a;
        font-weight: 850;
    }

.contact-form-card {
    padding: 1.5rem;
}

.contact-interest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.contact-interest-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0.75rem;
    cursor: pointer;
    font-weight: 700;
    color: #334155;
}

    .contact-interest-option input {
        width: 18px;
        height: 18px;
    }

.contact-form-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

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

    .contact-interest-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .contact-page-wrap {
        padding-top: 1.5rem;
    }

    .contact-interest-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-actions .btn {
        width: 100%;
    }
}
/* -------------------------------------------------------
   Sales Enquiries
------------------------------------------------------- */

.enquiry-detail-panel {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1rem;
}

    .enquiry-detail-panel strong {
        display: block;
        color: #0f172a;
        margin-bottom: 0.25rem;
    }

    .enquiry-detail-panel p {
        margin-bottom: 0;
        color: #475569;
    }

.enquiry-message {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    white-space: pre-wrap;
    color: #334155;
}
/* -------------------------------------------------------
   Sidebar Badge
------------------------------------------------------- */

.sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.nav-badge {
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.account-manage-nav {
    gap: 0.25rem;
}

    .account-manage-nav .nav-link {
        color: #344054;
        border-radius: 0.5rem;
        padding: 0.55rem 0.75rem;
    }

        .account-manage-nav .nav-link:hover {
            background: #f2f4f7;
            color: #182236;
        }

        .account-manage-nav .nav-link.active {
            background: #eef4ff;
            color: #2457d6;
            font-weight: 700;
        }

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--am-bg);
}

.login-card {
    background: white;
    border: 1px solid var(--am-border);
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}