/* =========================================================
   SWISS-BELHOTEL SILAE PALU — LUXURY DATA KAMAR
========================================================= */

/* Optimasi performa: tanpa @import font eksternal */

:root {
    --navy-deep: #0f253e;
    --navy-mid: #1a3a5c;
    --gold: #c8a45d;
    --gold-light: #e5cc93;
    --crimson: #c81e1e;
    --emerald: #177e59;
    --ivory: #f6f4ef;
    --surface: #ffffff;
    --text-dark: #1d2733;
    --text-muted: #667085;
    --border: #e6e2d8;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 18px 45px rgba(15, 37, 62, 0.08);
    --shadow-card: 0 10px 26px rgba(15, 37, 62, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    background: var(--ivory);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
}

/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 78px;
    padding: 0 7%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 164, 93, 0.45);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-text strong {
    font-size: 15px;
    letter-spacing: 1.6px;
    color: var(--navy-deep);
}

.logo-text span {
    font-size: 11px;
    letter-spacing: 2.2px;
    color: var(--crimson);
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-pill {
    text-decoration: none;
    color: var(--navy-deep);
    background: transparent;
    border: 1px solid var(--border);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.nav-pill:hover {
    background: var(--navy-deep);
    color: #ffffff;
    border-color: var(--navy-deep);
    transform: translateY(-1px);
}

/* =========================================================
   HERO BANNER
========================================================= */

.hero-banner {
    padding: 52px 7% 92px;
    background:
        radial-gradient(circle at 82% 28%, rgba(200, 164, 93, 0.24), transparent 46%),
        linear-gradient(120deg, #0b1d33 0%, #163557 60%, #0f253e 100%);
    color: #ffffff;
}

.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(200, 164, 93, 0.16);
    border: 1px solid rgba(200, 164, 93, 0.45);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-banner h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-banner p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.80);
    font-size: 14.5px;
}

.add-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--gold), #b58d43);
    color: var(--navy-deep);
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 10px 24px rgba(200, 164, 93, 0.28);
    transition: all 0.25s ease;
}

.add-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

/* =========================================================
   CONTAINER & SUMMARY STRIP
========================================================= */

.container {
    width: 90%;
    max-width: 1180px;
    margin: -54px auto 64px;
    position: relative;
    z-index: 10;
}

.summary-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.mini-stat {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.mini-stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.mini-stat.all::before { background: var(--navy-deep); }
.mini-stat.avail::before { background: var(--emerald); }
.mini-stat.occ::before { background: var(--crimson); }
.mini-stat.maint::before { background: var(--gold); }

.mini-stat span {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.mini-stat strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    color: var(--navy-deep);
    line-height: 1.1;
}

.mini-dot {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.mini-stat.all .mini-dot { background: rgba(15, 37, 62, 0.08); color: var(--navy-deep); }
.mini-stat.avail .mini-dot { background: rgba(23, 126, 89, 0.11); color: var(--emerald); }
.mini-stat.occ .mini-dot { background: rgba(200, 30, 30, 0.10); color: var(--crimson); }
.mini-stat.maint .mini-dot { background: rgba(200, 164, 93, 0.18); color: #9c772c; }

/* =========================================================
   TABLE CARD & FILTER TOOLBAR
========================================================= */

.table-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 26px 28px 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0ede6;
}

.search-box {
    flex: 1;
    min-width: 240px;
    max-width: 360px;
}

.search-box input {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #e2ddd3;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    background: #fcfbf9;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.search-box input:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(200, 164, 93, 0.15);
}

.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    border: 1px solid var(--border);
    background: #faf8f4;
    color: var(--text-muted);
    padding: 8px 15px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--navy-deep);
    color: var(--navy-deep);
}

.filter-btn.active {
    background: var(--navy-deep);
    color: var(--gold-light);
    border-color: var(--navy-deep);
}

/* TABLE */
.table-responsive {
    overflow-x: auto;
}

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

thead th {
    text-align: left;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    background: #faf8f4;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

tbody td {
    padding: 16px;
    font-size: 14.5px;
    color: var(--text-dark);
    border-bottom: 1px solid #f1eee7;
    vertical-align: middle;
}

tbody tr {
    transition: background 0.18s ease;
}

tbody tr:hover {
    background: #fcfbf8;
}

tbody tr:last-child td {
    border-bottom: none;
}

.room-number {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 9px;
    background: rgba(15, 37, 62, 0.08);
    color: var(--navy-deep);
    font-weight: 700;
    font-size: 13.5px;
}

.type-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid rgba(200, 164, 93, 0.45);
    background: rgba(200, 164, 93, 0.10);
    color: var(--navy-deep);
    font-size: 13px;
    font-weight: 600;
}

.price {
    font-weight: 700;
    color: var(--navy-deep);
}

.price small {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.tersedia {
    background: #ecfdf5;
    color: #065f46;
}
.tersedia::before { background: var(--emerald); }

.terisi {
    background: #fff1f2;
    color: #9f1239;
}
.terisi::before { background: var(--crimson); }

.maintenance {
    background: #fef9ec;
    color: #926311;
}
.maintenance::before { background: var(--gold); }

.book-link {
    display: inline-block;
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 8px;
    background: var(--navy-deep);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.book-link:hover {
    background: var(--crimson);
    transform: translateY(-1px);
}

.book-disabled {
    font-size: 12.5px;
    color: var(--text-muted);
}

.empty {
    text-align: center;
    padding: 40px !important;
    color: var(--text-muted);
    font-style: italic;
}

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

@media (max-width: 960px) {
    .summary-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .header {
        padding: 0 5%;
    }

    .hero-banner {
        padding: 40px 5% 78px;
    }

    .hero-banner h1 {
        font-size: 30px;
    }

    .summary-strip {
        grid-template-columns: 1fr;
    }

    .table-card {
        padding: 20px 16px;
    }
}
