/* AURI Brand & Operator Typography + Clean Minimal Design
 *
 * Strictly adhering to the 3 official AURI website color families:
 *   1. Deep Navy / Slate Blues: #2C3E50 (rail), #3D5468 (active/bars/buttons), #536C82, #8AA5B9, #C9D7E2
 *   2. Warm Sand / Beige:       #ECC793 (AURI wordmark on navy rail, active rail indicator, primary CTA)
 *   3. Crisp White & Neutral Greys: #FFFFFF (cards), #F4F6F8 (page background), #EEF2F6 (tracks/subtle fills)
 * No gradients, no brown/tan tints on page or cards.
 */

@font-face {
    font-family: "Clash Display";
    src: url("/static/fonts/clash-display-medium.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("/static/fonts/dm-sans.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* 1. Solid Deep Navy Sidebar Rail (#2C3E50) with Warm Sand AURI Wordmark (#ECC793) */
.rail {
    background: #2C3E50 !important;
    border-right: 1px solid #3D5468 !important;
    color: #FFFFFF !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: #3D5468 transparent;
}

.rail .brand .mono {
    background: #3D5468;
    color: #ECC793;
    font-weight: 600;
}

.nav-open .rail .brand {
    gap: 0;
    margin: 2px 0 12px 4px;
}

.nav-open .rail .brand .mono {
    display: none;
}

.nav-open .rail .brand .wm {
    width: 196px;
}

.nav-open .rail .brand .wm img {
    height: 28px;
    max-height: 28px;
    width: auto;
}

/* In Hospitality Intelligence, .brand .wm contains <b>Property Name</b> instead of <img>:
 * Render the Warm Sand AURI wordmark above the white property title so there is never a dark-on-dark gap!
 */
.nav-open .rail a.brand .wm b {
    color: #FFFFFF !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.25 !important;
}

.nav-open .rail a.brand .wm b::before {
    content: "";
    display: block;
    width: 102px;
    height: 26px;
    margin-bottom: 6px;
    background: url("/static/logos/auri-wordmark-light.svg") no-repeat left center / contain;
}

.nav-open .rail .brand .wm small,
.rail .wm small {
    margin-top: 3px;
    color: #C9D7E2 !important;
    font-weight: 500;
    letter-spacing: 0.15em;
}

/* Compact sidebar navigation spacing so all items fit comfortably on standard laptop screens */
.rail a:not(.brand):not(.user),
.rail .navt {
    height: 33px !important;
    min-height: 33px !important;
    font-size: 13px !important;
}

.rail .sec {
    height: 20px !important;
    min-height: 20px !important;
    margin-top: 4px !important;
}

.rail .rmeta {
    margin: 4px 12px 2px !important;
    color: #8AA5B9 !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
}

/* Sidebar navigation links: mist/white text, #3D5468 active pill with white text & #ECC793 indicator */
.rail a,
.rail .navt {
    color: #C9D7E2 !important;
}

.rail a:not(.brand):hover,
.rail .navt:hover {
    background: #3D5468 !important;
    color: #FFFFFF !important;
}

.rail a.on {
    background: #3D5468 !important;
    color: #FFFFFF !important;
    font-weight: 600;
}

.rail a.on svg.i {
    color: #ECC793 !important;
}

.rail a.on::before {
    background: #ECC793 !important;
    width: 3px;
}

.rail .sec span {
    color: #8AA5B9 !important;
}

.rail .sec::before,
.rail a.user,
.rail .user {
    border-top-color: #3D5468 !important;
}

.rail .ui b {
    color: #FFFFFF !important;
}

.rail .ui small {
    color: #8AA5B9 !important;
}

.rail .me {
    background: #3D5468 !important;
    color: #ECC793 !important;
}

/* Quick-add button in the navy rail: Warm Sand (#ECC793) with Deep Navy (#2C3E50) text, just like "Earn more from your spa" on the website */
.rail .qadd-btn.btn.primary {
    background: #ECC793 !important;
    border-color: #ECC793 !important;
    color: #2C3E50 !important;
    font-weight: 600;
}

.rail .qadd-btn.btn.primary:hover {
    background: #F3DEC0 !important;
    border-color: #F3DEC0 !important;
}

/* 2. Clean Neutral Page Background (#F4F6F8) & Crisp White Cards (#FFFFFF) — no gradients, no brown */
body,
.app.app-flow,
.content {
    background: #F4F6F8 !important;
}

.topbar,
.subnav {
    background: #FFFFFF !important;
    border-bottom-color: #E2E8F0 !important;
}

.card,
.stats,
body:not(.bk) .hero {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    box-shadow: none !important;
}

.card-h,
.hero-h {
    background: #FFFFFF !important;
    border-bottom-color: #EEF2F6 !important;
}

/* 3. Buttons, Badges, Pills & Bars: Strong AURI Navy (#3D5468) with White text, or clean neutral grey (#EEF2F6) */
.btn.primary:not(.qadd-btn) {
    background: #3D5468 !important;
    border-color: #3D5468 !important;
    color: #FFFFFF !important;
}

.btn.primary:not(.qadd-btn):hover {
    background: #2C3E50 !important;
    border-color: #2C3E50 !important;
}

.count,
.today-badge {
    background: #3D5468 !important;
    color: #FFFFFF !important;
    border: 0 !important;
}

.badge.plain,
.badge:not(.ok):not(.warn):not(.bad):not(.info) {
    background: #EEF2F6 !important;
    color: #2C3E50 !important;
    border: 0 !important;
}

.av {
    background: #3D5468 !important;
    color: #FFFFFF !important;
}
