/* =========================================================
   HOTEL MANAGEMENT - ADMIN PANEL
   Responsive Admin CSS
   ========================================================= */

:root {
    --hotel-primary: #206bc4;
    --hotel-primary-dark: #1a5aa8;
    --hotel-bg: #f5f7fb;
    --hotel-sidebar: #ffffff;
    --hotel-text: #1e293b;
    --hotel-muted: #64748b;
    --hotel-border: #e6eaf0;
    --hotel-white: #ffffff;
    --hotel-success: #2fb344;
    --hotel-warning: #f59f00;
    --hotel-danger: #d63939;
    --hotel-info: #4299e1;
    --hotel-purple: #ae3ec9;
    --hotel-sidebar-width: 250px;
}

/* =========================
   BASIC
   ========================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--hotel-bg);
    color: var(--hotel-text);
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* =========================
   PAGE
   ========================= */

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

/* =========================
   SIDEBAR
   ========================= */

.hotel-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;

    width: var(--hotel-sidebar-width);

    background: var(--hotel-sidebar);
    border-right: 1px solid var(--hotel-border);

    z-index: 1050;

    display: flex;
    flex-direction: column;

    transition: transform 0.25s ease;
}

.hotel-brand {
    height: 64px;

    display: flex;
    align-items: center;

    padding: 0 20px;

    border-bottom: 1px solid var(--hotel-border);

    font-size: 18px;
    font-weight: 700;

    color: var(--hotel-primary);
}

.hotel-brand-icon {
    width: 36px;
    height: 36px;

    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e8f1fc;

    margin-right: 10px;

    font-size: 20px;
}

.hotel-brand-text {
    line-height: 1.1;
}

.hotel-brand-subtitle {
    display: block;

    font-size: 10px;
    font-weight: 500;

    color: var(--hotel-muted);

    margin-top: 3px;
}

/* sidebar scroll */

.hotel-sidebar-scroll {
    flex: 1;
    overflow-y: auto;

    padding: 14px 10px 20px;
}

/* section */

.menu-section-title {
    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    color: #94a3b8;

    padding: 14px 12px 7px;
}

/* menu item */

.hotel-menu-item {
    display: flex;
    align-items: center;

    width: 100%;

    min-height: 42px;

    padding: 9px 12px;

    margin: 2px 0;

    border-radius: 7px;

    color: #475569;

    font-size: 14px;
    font-weight: 500;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.hotel-menu-item:hover {
    background: #f1f5f9;
    color: var(--hotel-primary);
}

.hotel-menu-item.active {
    background: #e8f1fc;
    color: var(--hotel-primary);

    font-weight: 600;
}

.hotel-menu-icon {
    width: 28px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    font-size: 17px;

    margin-right: 7px;
}

.hotel-menu-arrow {
    margin-left: auto;

    font-size: 11px;

    transition: transform 0.2s ease;
}

.hotel-menu-parent.open .hotel-menu-arrow {
    transform: rotate(90deg);
}

/* submenu */

.hotel-submenu {
    display: none;

    margin-left: 39px;
    margin-top: 2px;
    margin-bottom: 4px;
}

.hotel-submenu.show {
    display: block;
}

.hotel-submenu a {
    display: block;

    padding: 8px 10px;

    border-radius: 6px;

    font-size: 13px;

    color: #64748b;
}

.hotel-submenu a:hover {
    background: #f8fafc;
    color: var(--hotel-primary);
}

/* sidebar footer */

.hotel-sidebar-footer {
    padding: 12px;

    border-top: 1px solid var(--hotel-border);
}

.sidebar-user-box {
    display: flex;
    align-items: center;

    padding: 9px;

    background: #f8fafc;

    border-radius: 8px;
}

.sidebar-user-avatar {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--hotel-primary);
    color: white;

    font-weight: 700;
}

.sidebar-user-info {
    margin-left: 9px;

    min-width: 0;
}

.sidebar-user-name {
    font-weight: 600;
    font-size: 13px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    color: var(--hotel-muted);
    font-size: 11px;
}

/* =========================
   MAIN AREA
   ========================= */

.page-wrapper {
    margin-left: var(--hotel-sidebar-width);

    min-height: 100vh;
}

/* =========================
   TOP NAVBAR
   ========================= */

.hotel-topbar {
    height: 64px;

    background: var(--hotel-white);

    border-bottom: 1px solid var(--hotel-border);

    display: flex;
    align-items: center;

    padding: 0 24px;

    position: sticky;
    top: 0;

    z-index: 1000;
}

.hotel-mobile-menu {
    display: none;

    border: 0;
    background: transparent;

    font-size: 24px;

    margin-right: 12px;

    cursor: pointer;
}

.topbar-page-title {
    font-size: 17px;
    font-weight: 600;
}

.topbar-spacer {
    flex: 1;
}

.topbar-notification {
    position: relative;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    color: #64748b;
}

.topbar-notification:hover {
    background: #f1f5f9;
}

.notification-dot {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #d63939;

    top: 7px;
    right: 7px;

    border: 2px solid white;
}

/* profile */

.topbar-user {
    margin-left: 12px;

    position: relative;
}

.topbar-user-button {
    border: 0;
    background: transparent;

    display: flex;
    align-items: center;

    padding: 5px 7px;

    border-radius: 8px;

    cursor: pointer;
}

.topbar-user-button:hover {
    background: #f8fafc;
}

.topbar-avatar {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e8f1fc;
    color: var(--hotel-primary);

    font-weight: 700;
}

.topbar-user-details {
    margin-left: 9px;

    text-align: left;
}

.topbar-user-name {
    font-size: 13px;
    font-weight: 600;
}

.topbar-user-role {
    font-size: 11px;
    color: var(--hotel-muted);
}

.user-dropdown {
    display: none;

    position: absolute;

    top: 48px;
    right: 0;

    width: 190px;

    background: white;

    border: 1px solid var(--hotel-border);

    border-radius: 9px;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);

    padding: 7px;

    z-index: 2000;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: block;

    padding: 9px 10px;

    border-radius: 6px;

    font-size: 13px;

    color: #475569;
}

.user-dropdown a:hover {
    background: #f1f5f9;
}

.user-dropdown .logout {
    color: var(--hotel-danger);
}

/* =========================
   CONTENT
   ========================= */

.hotel-content {
    padding: 25px;
}

.page-header {
    margin-bottom: 22px;
}

.page-pretitle {
    color: var(--hotel-muted);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 0.06em;

    font-weight: 600;
}

.page-title {
    margin: 3px 0 0;

    font-size: 24px;

    font-weight: 700;

    color: #172033;
}

/* =========================
   GRID
   ========================= */

.hotel-row {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    margin-bottom: 20px;
}

.hotel-row-2 {
    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 18px;

    margin-bottom: 20px;
}

/* =========================
   CARDS
   ========================= */

.hotel-card {
    background: white;

    border: 1px solid var(--hotel-border);

    border-radius: 10px;

    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03);

    overflow: hidden;
}

.hotel-card-body {
    padding: 20px;
}

.hotel-card-header {
    min-height: 58px;

    display: flex;
    align-items: center;

    padding: 0 20px;

    border-bottom: 1px solid var(--hotel-border);
}

.hotel-card-title {
    font-size: 15px;

    font-weight: 600;

    margin: 0;
}

.hotel-card-subtitle {
    color: var(--hotel-muted);

    font-size: 12px;

    margin-top: 2px;
}

/* =========================
   STAT CARDS
   ========================= */

.stat-card {
    position: relative;

    overflow: hidden;
}

.stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-label {
    color: var(--hotel-muted);

    font-size: 12px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.03em;
}

.stat-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    font-size: 19px;
}

.stat-value {
    margin-top: 12px;

    font-size: 25px;

    font-weight: 700;

    color: #172033;
}

.stat-description {
    margin-top: 5px;

    font-size: 12px;

    color: var(--hotel-muted);
}

.stat-blue .stat-icon {
    background: #e8f1fc;
    color: #206bc4;
}

.stat-green .stat-icon {
    background: #eaf7ec;
    color: #2fb344;
}

.stat-orange .stat-icon {
    background: #fff4df;
    color: #f59f00;
}

.stat-purple .stat-icon {
    background: #f7eafa;
    color: #ae3ec9;
}

/* =========================
   QUICK ACTIONS
   ========================= */

.quick-actions {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;
}

.quick-action {
    padding: 14px;

    border: 1px solid var(--hotel-border);

    border-radius: 8px;

    background: #fff;

    text-align: center;

    cursor: pointer;

    transition: all 0.15s ease;
}

.quick-action:hover {
    border-color: #b8d1ef;

    background: #f8fbff;

    transform: translateY(-1px);
}

.quick-action-icon {
    font-size: 22px;

    margin-bottom: 7px;
}

.quick-action-title {
    font-size: 12px;

    font-weight: 600;

    color: #475569;
}

/* =========================
   TABLE STATUS
   ========================= */

.table-status-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;
}

.table-status {
    padding: 15px 10px;

    border-radius: 8px;

    text-align: center;

    border: 1px solid;
}

.table-status-number {
    font-size: 20px;

    font-weight: 700;
}

.table-status-name {
    font-size: 11px;

    margin-top: 3px;
}

.table-available {
    background: #edf9ef;
    border-color: #c8e8ce;
    color: #238b45;
}

.table-occupied {
    background: #fff0f0;
    border-color: #f1c8c8;
    color: #c92a2a;
}

.table-reserved {
    background: #fff7e6;
    border-color: #f4ddb1;
    color: #d97706;
}

.table-cleaning {
    background: #edf5ff;
    border-color: #c8dcf5;
    color: #206bc4;
}

/* =========================
   SALES PLACEHOLDER
   ========================= */

.chart-area {
    height: 250px;

    display: flex;
    align-items: flex-end;

    gap: 10px;

    padding: 20px 10px 10px;

    background:
        linear-gradient(
            to bottom,
            transparent 24%,
            #edf1f5 25%,
            transparent 25%,
            transparent 49%,
            #edf1f5 50%,
            transparent 50%,
            transparent 74%,
            #edf1f5 75%,
            transparent 75%
        );
}

.chart-bar {
    flex: 1;

    max-width: 55px;

    margin: 0 auto;

    background: #206bc4;

    border-radius: 5px 5px 0 0;

    min-height: 10px;

    position: relative;
}

.chart-bar:hover {
    background: #1a5aa8;
}

.chart-label {
    position: absolute;

    bottom: -22px;

    left: 0;
    right: 0;

    text-align: center;

    font-size: 10px;

    color: #64748b;
}

/* =========================
   WELCOME
   ========================= */

.welcome-box {
    padding: 22px;

    background:
        linear-gradient(
            135deg,
            #eaf3ff,
            #f8fbff
        );

    border: 1px solid #d5e5f8;

    border-radius: 10px;
}

.welcome-title {
    font-size: 18px;

    font-weight: 700;

    margin-bottom: 5px;
}

.welcome-text {
    color: #64748b;

    font-size: 13px;

    margin: 0;
}

/* =========================
   BADGES
   ========================= */

.badge {
    display: inline-block;

    padding: 4px 8px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 600;
}

.badge-success {
    background: #eaf7ec;
    color: #238b45;
}

.badge-danger {
    background: #fff0f0;
    color: #c92a2a;
}

.badge-warning {
    background: #fff7e6;
    color: #d97706;
}

.badge-info {
    background: #edf5ff;
    color: #206bc4;
}

/* =========================
   MOBILE OVERLAY
   ========================= */

.sidebar-overlay {
    display: none;

    position: fixed;

    inset: 0;

    background: rgba(15, 23, 42, 0.4);

    z-index: 1040;
}

.sidebar-overlay.show {
    display: block;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1200px) {

    .hotel-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    :root {
        --hotel-sidebar-width: 240px;
    }

    .hotel-sidebar {
        transform: translateX(-100%);
    }

    .hotel-sidebar.show {
        transform: translateX(0);
    }

    .page-wrapper {
        margin-left: 0;
    }

    .hotel-mobile-menu {
        display: block;
    }

    .hotel-row-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .hotel-topbar {
        padding: 0 14px;
    }

    .hotel-content {
        padding: 16px;
    }

    .hotel-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .table-status-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .topbar-user-details {
        display: none;
    }

    .page-title {
        font-size: 21px;
    }
}

@media (max-width: 480px) {

    .hotel-content {
        padding: 12px;
    }

    .quick-actions {
        grid-template-columns: 1fr 1fr;
    }

    .hotel-card-body {
        padding: 15px;
    }

    .stat-value {
        font-size: 22px;
    }
}
/* =========================================================
   ITIAN ERP THEME CUSTOMIZER
   ========================================================= */
:root {
    --erp-accent: #206bc4;
    --erp-accent-dark: #1a5aa8;
    --erp-accent-soft: #eaf2ff;
}
body[data-erp-theme="teal"] { --erp-accent:#008b8b; --erp-accent-dark:#006f70; --erp-accent-soft:#e3f7f6; }
body[data-erp-theme="green"] { --erp-accent:#16845b; --erp-accent-dark:#116746; --erp-accent-soft:#e6f6ee; }
body[data-erp-theme="purple"] { --erp-accent:#7546c8; --erp-accent-dark:#5e35a7; --erp-accent-soft:#f0eaff; }
body[data-erp-theme="orange"] { --erp-accent:#e87820; --erp-accent-dark:#c65e10; --erp-accent-soft:#fff0e3; }
body[data-erp-theme="slate"] { --erp-accent:#344256; --erp-accent-dark:#202b3c; --erp-accent-soft:#e9edf2; }
body[data-erp-theme] { --hotel-primary:var(--erp-accent); --hotel-primary-dark:var(--erp-accent-dark); }
body[data-erp-mode="dark"] { --hotel-bg:#111827; --hotel-sidebar:#182233; --hotel-text:#e6edf7; --hotel-muted:#a6b4c8; --hotel-border:#2d3a4e; --hotel-white:#182233; color-scheme:dark; }
body[data-erp-mode="dark"] .hotel-content { color:var(--hotel-text); }
body[data-erp-mode="dark"] .hotel-card,
body[data-erp-mode="dark"] .theme-drawer,
body[data-erp-mode="dark"] .user-dropdown,
body[data-erp-mode="dark"] #lowStockBellPanel { background:#182233; color:#e6edf7; border-color:#2d3a4e; }
body[data-erp-mode="dark"] .hotel-card,
body[data-erp-mode="dark"] .hotel-card-body,
body[data-erp-mode="dark"] .table { color:var(--hotel-text); }
body[data-erp-mode="dark"] .table { --bs-table-bg:transparent; --bs-table-color:var(--hotel-text); --bs-table-border-color:var(--hotel-border); }
body[data-erp-mode="dark"] input, body[data-erp-mode="dark"] select, body[data-erp-mode="dark"] textarea { background:#111827; color:#e6edf7; border-color:#3b4960; }
.theme-customizer-trigger { width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--hotel-border);border-radius:11px;background:var(--hotel-white);color:var(--erp-accent);font-size:21px;cursor:pointer;margin-right:12px;transition:all .2s ease; }
.theme-customizer-trigger:hover { background:var(--erp-accent-soft);border-color:var(--erp-accent);transform:translateY(-1px); }
.theme-drawer-backdrop { position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:1190;opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease; }
.theme-drawer-backdrop.show { opacity:1;visibility:visible; }
.theme-drawer { position:fixed;top:0;right:0;bottom:0;width:360px;max-width:92vw;background:#fff;color:#1e293b;z-index:1200;box-shadow:-12px 0 35px rgba(15,23,42,.16);transform:translateX(105%);transition:transform .25s ease;display:flex;flex-direction:column; }
.theme-drawer.show { transform:translateX(0); }
.theme-drawer-header { display:flex;align-items:flex-start;justify-content:space-between;padding:22px 20px 18px;border-bottom:1px solid #e8edf4; }
.theme-drawer-title { font-size:17px;font-weight:800;display:flex;align-items:center;gap:8px; }
.theme-drawer-title i { color:var(--erp-accent);font-size:22px; }
.theme-drawer-subtitle { font-size:12px;color:#748197;margin-top:5px; }
.theme-drawer-close { border:0;background:#f1f5f9;color:#475569;border-radius:9px;width:32px;height:32px;font-size:18px; }
.theme-drawer-body { padding:22px 20px;overflow-y:auto; }
.theme-setting-label { font-size:10px;letter-spacing:1.1px;font-weight:800;color:#7a879a;margin-bottom:12px; }
.theme-setting-label-spaced { margin-top:25px; }
.theme-swatch-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
.theme-swatch { text-align:left;border:1px solid #e0e7ef;border-radius:12px;padding:12px;background:#fff;color:#26364a;display:grid;grid-template-columns:24px 1fr;column-gap:9px;align-items:center;cursor:pointer;min-height:67px; }
.theme-swatch > span { grid-row:span 2;width:24px;height:36px;border-radius:7px;background:var(--swatch);box-shadow:inset 0 -9px rgba(0,0,0,.08); }
.theme-swatch b { font-size:12px;font-weight:750; }
.theme-swatch small { font-size:10px;color:#8591a3;margin-top:2px; }
.theme-swatch:hover,.theme-swatch.active { border-color:var(--erp-accent);box-shadow:0 0 0 2px var(--erp-accent-soft); }
.theme-mode-options { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
.theme-mode-option { display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e0e7ef;border-radius:10px;padding:12px;background:#fff;color:#344256;font-weight:700;font-size:12px; }
.theme-mode-option i { font-size:18px; }
.theme-mode-option.active { color:var(--erp-accent);border-color:var(--erp-accent);background:var(--erp-accent-soft); }
.theme-preview-note { display:flex;gap:10px;align-items:flex-start;margin-top:22px;padding:12px;border-radius:10px;background:#f5f8fc;color:#637187;font-size:11px;line-height:1.5; }
.theme-preview-note i { color:var(--erp-accent);font-size:18px; }
.theme-reset-button { width:100%;margin-top:15px;padding:11px;border:1px solid #e0e7ef;border-radius:10px;background:#fff;color:#536176;font-weight:700;font-size:12px; }
.theme-reset-button:hover { border-color:var(--erp-accent);color:var(--erp-accent); }
body[data-erp-mode="dark"] .theme-drawer { background:#182233;color:#e6edf7; }
body[data-erp-mode="dark"] .theme-drawer-header { border-color:#2d3a4e; }
body[data-erp-mode="dark"] .theme-swatch,body[data-erp-mode="dark"] .theme-mode-option,body[data-erp-mode="dark"] .theme-reset-button { background:#202d40;color:#e6edf7;border-color:#35445a; }
body[data-erp-mode="dark"] .theme-preview-note { background:#202d40;color:#b6c2d3; }
@media(max-width:480px) { .theme-customizer-trigger { margin-right:7px;width:34px;height:34px; } .theme-drawer-header { padding:18px 16px; } .theme-drawer-body { padding:18px 16px; } }


/* ITIAN ERP custom Forecolor / Backcolor controls */
:root { --erp-forecolor:#1769d2; --erp-shell-bg:#ffffff; --erp-shell-border:#dbe4ef; }
body[data-erp-forecolor="blue"] { --erp-forecolor:#1769d2; }
body[data-erp-forecolor="white"] { --erp-forecolor:#ffffff; }
body[data-erp-forecolor="slate"] { --erp-forecolor:#334155; }
body[data-erp-backcolor="white"] { --erp-shell-bg:#ffffff; --erp-shell-border:#dbe4ef; }
body[data-erp-backcolor="blue"] { --erp-shell-bg:#1769d2; --erp-shell-border:#1259b5; }
body[data-erp-backcolor="slate"] { --erp-shell-bg:#26364a; --erp-shell-border:#1c2939; }
/* Apply colors only to the application shell. Main page/content remains white. */
body[data-erp-backcolor] .hotel-sidebar,
body[data-erp-backcolor] .hotel-topbar,
body[data-erp-backcolor] .hotel-sidebar-footer,
body[data-erp-backcolor] .hotel-footer,
body[data-erp-backcolor] footer.erp-footer {
    background:var(--erp-shell-bg) !important;
    border-color:var(--erp-shell-border) !important;
    color:var(--erp-forecolor) !important;
}
body[data-erp-backcolor] .hotel-sidebar a,
body[data-erp-backcolor] .hotel-sidebar button,
body[data-erp-backcolor] .hotel-sidebar .hotel-menu-label,
body[data-erp-backcolor] .hotel-topbar,
body[data-erp-backcolor] .hotel-topbar a,
body[data-erp-backcolor] .hotel-topbar button,
body[data-erp-backcolor] .hotel-sidebar-footer,
body[data-erp-backcolor] .hotel-sidebar-footer *,
body[data-erp-backcolor] .hotel-footer,
body[data-erp-backcolor] footer.erp-footer { color:var(--erp-forecolor) !important; }
body[data-erp-backcolor="blue"] .hotel-sidebar .active,
body[data-erp-backcolor="blue"] .hotel-sidebar .show > a,
body[data-erp-backcolor="slate"] .hotel-sidebar .active,
body[data-erp-backcolor="slate"] .hotel-sidebar .show > a { background:rgba(255,255,255,.15) !important; }
body[data-erp-backcolor] .hotel-content { background:#ffffff !important; color:#173b63; }
.theme-color-options { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px; }
.theme-color-choice { min-width:0;min-height:86px;padding:10px 6px;border:1px solid #dfe7f1;border-radius:12px;background:#fff;color:#26364a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer; }
.theme-color-choice .theme-color-dot { width:27px;height:27px;border-radius:8px;background:var(--choice);border:1px solid rgba(100,116,139,.35);box-shadow:inset 0 -5px rgba(0,0,0,.08); }
.theme-color-choice b { font-size:12px; }
.theme-color-choice small { font-size:10px;color:#8491a5; }
.theme-color-choice:hover,.theme-color-choice.active { border-color:#1769d2;box-shadow:0 0 0 2px #e7f0ff; }
.theme-apply-button { width:100%;margin-top:18px;padding:12px;border:0;border-radius:10px;background:#1769d2;color:#fff;font-size:13px;font-weight:800;cursor:pointer; }
.theme-apply-button:hover { background:#1259b5; }
.theme-reset-button { margin-top:10px; }
@media(max-width:480px) { .theme-color-options { gap:6px; } .theme-color-choice { min-height:80px; } }


/* ITIAN ERP: accessible shell contrast + Sky Blue / Orange preset */
body[data-erp-backcolor="skyorange"] { --erp-shell-bg:#38bdf8; --erp-shell-border:#0ea5e9; --erp-forecolor:#17324d; --erp-accent:#f97316; --erp-accent-dark:#ea580c; --erp-accent-soft:#fff1e8; }
body[data-erp-backcolor="white"] { --erp-shell-bg:#ffffff; --erp-shell-border:#dbe4ef; }
/* Ensure every brand/user label remains readable, including the logo title and subtitles. */
body[data-erp-backcolor] .hotel-brand,
body[data-erp-backcolor] .hotel-brand-text,
body[data-erp-backcolor] .hotel-brand-subtitle,
body[data-erp-backcolor] .hotel-topbar .topbar-page-title,
body[data-erp-backcolor] .hotel-topbar .topbar-user-name,
body[data-erp-backcolor] .hotel-topbar .topbar-user-role,
body[data-erp-backcolor] .hotel-sidebar-footer .sidebar-user-box,
body[data-erp-backcolor] .hotel-sidebar-footer .sidebar-user-box * { color:var(--erp-forecolor) !important; }
/* Readable automatic contrast for dark and bright shell backgrounds. */
body[data-erp-backcolor="blue"], body[data-erp-backcolor="slate"] { --erp-forecolor:#ffffff; }
body[data-erp-backcolor="skyorange"] { --erp-forecolor:#17324d; }
body[data-erp-backcolor="white"] { --erp-forecolor:#334155; }
body[data-erp-backcolor="blue"] .hotel-sidebar .hotel-menu-item,
body[data-erp-backcolor="slate"] .hotel-sidebar .hotel-menu-item { color:#ffffff !important; }
body[data-erp-backcolor="skyorange"] .hotel-sidebar .hotel-menu-item { color:#17324d !important; }
body[data-erp-backcolor="skyorange"] .theme-color-choice[data-backcolor="skyorange"] .theme-color-dot { background:linear-gradient(135deg,#38bdf8 0 50%,#f97316 50% 100%); }
