/* abar Guidelines v1.0 — Galyon brand typeface, licensed .otf files under wwwroot/galyon.
   Inter (Google Fonts, loaded in App.razor) is the fallback for any weight/style not
   declared below. */
@font-face {
    font-family: 'Galyon';
    src: url('../galyon/Galyon-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Galyon';
    src: url('../galyon/Galyon-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Galyon';
    src: url('../galyon/Galyon-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html, body {
    font-family: 'Galyon', 'Inter', 'Roboto', sans-serif;
    background-color: #F5F1E8; /* Soft Ivory */
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.cursor-pointer {
    cursor: pointer;
}

/* ── abar admin polish ───────────────────────────────────────────────── */

.equinorth-card {
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.equinorth-card:hover {
    box-shadow: 0 6px 16px rgba(24, 43, 73, 0.12), 0 2px 6px rgba(24, 43, 73, 0.08) !important;
    transform: translateY(-1px);
}

.equinorth-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.equinorth-hero {
    background: linear-gradient(135deg, #182B49 0%, #24406B 100%);
    color: #F5F1E8;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.equinorth-hero::after {
    content: "";
    position: absolute;
    top: -60%;
    right: -10%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 159, 63, 0.22) 0%, rgba(205, 159, 63, 0) 70%);
    pointer-events: none;
}

.equinorth-navmenu .mud-nav-link {
    border-radius: 8px;
    margin: 2px 8px;
    width: calc(100% - 16px);
}

.equinorth-navmenu .mud-nav-link.active {
    background-color: rgba(205, 159, 63, 0.12);
    border-left: 3px solid #CD9F3F;
    font-weight: 600;
}

.equinorth-nav-section-label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.7rem;
    font-weight: 600;
    color: #9AA3B5;
    padding: 12px 16px 4px;
}

.mud-table-container thead .mud-table-head .mud-table-cell {
    background-color: #FAF8F2;
    color: #3B4252;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid #EDE8DC;
}

.mud-table-row:hover {
    background-color: rgba(205, 159, 63, 0.07) !important;
}

.equinorth-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    color: #6B7280;
    text-align: center;
}

.equinorth-empty-state .mud-icon-root {
    opacity: 0.35;
    margin-bottom: 8px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background-color: rgba(24, 43, 73, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(24, 43, 73, 0.35);
}
