/* ============================================================
   Smooth Moves — Main Stylesheet
   ============================================================ */

/* ── Variables ── */
:root {
    --primary:    #2e7d5e;
    --primary-dk: #1f5c44;
    --primary-lt: #e8f5f0;
    --secondary:  #f0a500;
    --bg:         #f0f4f2;
    --accent:     #e07b2a;
    --danger:     #c0392b;
    --success:    #27ae60;
    --text:       #2c3e50;
    --muted:      #7f8c8d;
    --border:     #d0dde3;
    --white:      #ffffff;
    --radius:     6px;
    --shadow:     0 4px 16px rgba(0,0,0,.18);
}

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

/* ── Body ── */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Today Banner ── */
.today-banner {
    background: var(--primary);
    color: var(--white);
    text-align: right;
    padding: 4px 20px;
    font-size: 0.82rem;
    flex-shrink: 0;
}

/* ── Top Nav ── */
.topnav {
    background: var(--primary-dk);
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 0;
    box-shadow: var(--shadow);
    position: relative;
    flex-shrink: 0;
}
.topnav .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    border-right: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap;
}
.topnav .brand img { height: 38px; }
.topnav nav { display: flex; flex: 1; }
.topnav nav::-webkit-scrollbar { display: none; }
.topnav nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 0 14px;
    line-height: 54px;
    font-size: 0.88rem;
    transition: background .15s;
    white-space: nowrap;
}
.topnav nav a:hover,
.topnav nav a.active { background: rgba(255,255,255,0.12); color: var(--white); }
.topnav .userinfo {
    padding: 0 12px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}
.topnav .userinfo a { color: rgba(255,255,255,0.7); text-decoration: none; }
.topnav .userinfo a:hover { color: var(--white); }
.user-mobile-icon { display: none; }
.user-chevron { display: inline; }

/* ── Nav Dropdowns ── */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-trigger {
    cursor: pointer;
    padding: 0 14px;
    line-height: 54px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    background: var(--primary-dk);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    min-width: 180px;
    z-index: 500;
}
.nav-dropdown-menu a {
    display: block;
    padding: 8px 14px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: normal;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* ── Header — Brand ── */
.brand-img { height: 40px; width: auto; vertical-align: middle; margin-right: -0.3rem; }
.brand-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.brand-accent { color: #c8882a; }

/* ── Header — User Menu ── */
.userinfo { position: relative; }
.user-menu-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
}
.user-role { font-size: 0.75rem; opacity: 0.7; }
.user-mobile-icon { font-size: 0.95rem; line-height: 1; }
.user-chevron { font-size: 0.7rem; }
.user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--primary-dk);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    min-width: 160px;
    z-index: 100;
    margin-top: 4px;
}
.user-menu a {
    display: block;
    padding: 4px 12px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: normal;
}
.user-menu a:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.user-menu-logout { font-weight: 600; }

/* ── Header — Flash Alerts ── */
.alert-flash { margin: 12px 20px 0; }

/* ── Header — Dropdown menus (outside nav) ── */
.topnav-dropdown {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    background: var(--primary-dk);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    min-width: 160px;
    z-index: 500;
}
.topnav-dropdown a {
    display: block;
    padding: 4px 12px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: normal;
}
.topnav-dropdown a:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* ── Page Wrapper ── */
.page {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 20px;
    flex: 1;
}
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}
.page-header h1 { font-size: 1.4rem; color: var(--primary-dk); }

/* ── Cards ── */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
    border-top: 3px solid var(--primary);
}
.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* ── Stat Boxes ── */
.stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}
.stat {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 20px;
    border-left: 4px solid var(--primary);
}
.stat .label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stat .value { font-size: 1.3rem; font-weight: 700; color: var(--primary-dk); margin-top: 2px; }
.stat .sub   { font-size: 0.8rem; color: var(--muted); }
.stat.accent  { border-left-color: var(--accent); }
.stat.accent .value  { color: var(--accent); }
.stat.success { border-left-color: var(--success); }
.stat.success .value { color: var(--success); }
.stat.warning { border-left-color: var(--secondary); }
.stat.warning .value { color: var(--secondary); }
.stats > a { display: flex; text-decoration: none; color: inherit; flex: 1; }
.stats > a > .stat { flex: 1; }

/* ── Tables ── */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
thead th {
    background: var(--primary-dk);
    color: var(--white);
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--border); font-size: 0.85rem; }
tbody tr:hover { background: var(--primary-lt); }
tbody td { padding: 9px 12px; vertical-align: middle; }
tfoot td { padding: 8px 12px; }
.td-right  { text-align: right; }
.td-center { text-align: center; }

/* ── Badges ── */
.badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 0.78rem; font-weight: 600; }
.badge-stayed    { background: #d5f5e3; color: #1e8449; }
.badge-cancelled { background: #fadbd8; color: #922b21; }
.badge-future    { background: #eafaf1; color: #27ae60; }
.badge-cash      { background: #d6eaf8; color: #1a5276; }
.badge-other     { background: #f2f3f4; color: #555; }
.badge-warning   { background: #fef9e7; color: #9a7d0a; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: filter .15s;
    white-space: nowrap;
}
.btn:hover { filter: brightness(0.9); }
.btn-primary   { background: var(--primary);   color: var(--white); }
.btn-success   { background: var(--success);   color: var(--white); }
.btn-danger    { background: var(--danger);     color: var(--white); }
.btn-secondary { background: var(--secondary); color: var(--text); }
.btn-warning   { background: var(--secondary); color: var(--white); }
.btn-sm { padding: 4px 10px; font-size: 0.82rem; }

/* ── Forms ── */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--primary-dk); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 8px 10px;
    border: 1.5px solid #8faabb;
    border-radius: var(--radius);
    font-size: 0.92rem;
    color: var(--text);
    background: #d6eaf5;
    transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group input:focus::placeholder,
.form-group select:focus::placeholder,
.form-group textarea:focus::placeholder { color: transparent !important; }
.form-group textarea { resize: vertical; min-height: 70px; }
.form-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

/* ── Alerts ── */
.alert { padding: 10px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 0.9rem; }
.alert-success { background: #d5f5e3; color: #1e8449; border: 1px solid #a9dfbf; }
.alert-danger  { background: #fadbd8; color: #922b21; border: 1px solid #f1948a; }
.alert-info    { background: #d6eaf8; color: #1a5276; border: 1px solid #85c1e9; }
.alert-warning { background: #fef9e7; color: #9a7d0a; border: 1px solid #f9e79f; }

/* ── Search Bar ── */
.search-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.search-bar input,
.search-bar select { padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.88rem; }
.search-bar input[type=text] { flex: 1; min-width: 180px; }

/* ── Guest Autocomplete ── */
.guest-result {
    padding: 9px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
}
.guest-result:hover { background: var(--primary-lt); color: var(--primary-dk); }

/* ── Pagination ── */
.pagination { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }
.pagination a,
.pagination span {
    padding: 5px 11px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    border: 2px solid var(--primary);
    text-decoration: none;
    color: var(--primary);
    outline: none;
}
.pagination span.current { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination a:hover { background: var(--primary-lt); }

/* ── Modal ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.modal-box {
    background: var(--white);
    border-radius: 10px;
    padding: 32px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.modal-box h2 { font-size: 1.2rem; color: var(--primary-dk); margin-bottom: 8px; }
.modal-box p  { color: var(--muted); margin-bottom: 20px; }
.modal-icon { font-size: 2rem; margin-bottom: 12px; }
.modal-actions { display: flex; gap: 10px; justify-content: center; }

/* ── Layout Grids ── */
.responsive-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: 16px;
    align-items: start;
}
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.finance-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 16px;
}

/* ── GST Input — hide spinner arrows ── */
input[name="gst_rate"]::-webkit-outer-spin-button,
input[name="gst_rate"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ============================================================
   Login Page
   — Replaces the separate login.css file. All login styles
     are scoped under .login-box or the login body rule to
     avoid affecting other pages. login.php loads style.css only.
   ============================================================ */

/* Login page body — full-screen background image with overlay */
.login-page body,
body.login-page {
    background: url(/img/login-bg.jpg) center center / cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
}

/* Dark overlay behind the login box */
body.login-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 0;
}

/* Back to home link — top right corner */
.nav-back {
    position: fixed;
    top: 1.2rem;
    right: 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}
.nav-back:hover { color: #fff; }

/* Login card */
.login-box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
    padding: 40px 36px;
    width: 90%;
    max-width: 380px;
    margin: 1rem;
}
.login-box h1 { text-align: center; color: var(--primary-dk); font-size: 1.3rem; margin-bottom: 24px; }

/* Subtitle below the logo/heading */
.login-subtitle { text-align: center; color: #7f8c8d; font-size: 0.82rem; margin-bottom: 24px; }

/* Form fields — scoped to login-box to avoid global label/input override */
.login-box label { display: block; font-size: .82rem; font-weight: 600; color: #7f8c8d; margin-bottom: 4px; }
.login-box input {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .95rem;
    margin-bottom: 14px;
    background: #e8f5f0;
}
.login-box input:focus { outline: none; border-color: var(--primary); }

/* Sign In button — scoped to login-box to avoid global button override */
.login-box button {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}
.login-box button:hover { background: var(--primary-dk); }

/* Error message box */
.login-box .error {
    background: #fadbd8;
    color: #922b21;
    border: 1px solid #f1948a;
    border-radius: var(--radius);
    padding: 9px 14px;
    margin-bottom: 14px;
    font-size: .88rem;
}

/* ============================================================
   Demo Welcome Pages
   ============================================================ */
.demo-welcome {
    max-width: 820px;
    margin: 24px auto;
    padding: 0 20px 20px;
    flex: 1;
}
.demo-hero {
    background: linear-gradient(135deg, #1d5c44 0%, #2e7d5e 100%);
    border-radius: 8px;
    padding: 40px 48px;
    color: #fff;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.demo-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.demo-hero .eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #c8882a;
    margin-bottom: 12px;
}
.demo-hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.demo-hero p  { font-size: 1.05rem; color: rgba(255,255,255,0.8); line-height: 1.65; max-width: 560px; }
.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}
.demo-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    padding: 16px;
    border-top: 3px solid var(--primary);
}
.demo-card.warning { border-top-color: #e07b39; }
.demo-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dk);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.demo-card.warning h3 { color: #c0622a; }
.demo-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.demo-card ul li {
    font-size: 0.9rem;
    color: #444;
    padding-left: 18px;
    position: relative;
    line-height: 1.45;
}
.demo-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.demo-card.warning ul li::before { content: '✕'; color: #e07b39; }
.demo-steps {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    padding: 16px 20px;
    margin-bottom: 12px;
}
.demo-steps h3 { font-size: 0.95rem; font-weight: 700; color: var(--primary-dk); margin-bottom: 18px; }
.steps-list { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
    background: var(--primary);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}
.step-text { font-size: 0.92rem; color: #444; line-height: 1.55; }
.step-text strong { color: #1a1a1a; }
.demo-notice {
    background: #fff8f0;
    border: 1px solid #f0c890;
    border-left: 4px solid #c8882a;
    border-radius: 6px;
    padding: 16px 20px;
    font-size: 0.88rem;
    color: #7a4a10;
    margin-bottom: 28px;
    line-height: 1.55;
}
.demo-cta { text-align: center; padding: 8px 0 0 0; }
.btn-go {
    background: var(--primary);
    color: #fff;
    padding: 14px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    transition: background 0.2s;
    display: inline-block;
}
.btn-go:hover { background: var(--primary-dk); }

/* ============================================================
   Housekeeping Print Page
   ============================================================ */
.hk-print-body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #2c2c2c;
    background: #daeaf5;
    padding: 24px 28px;
    display: block;
    min-height: 100vh;
}
.hk-print-body h1 {
    font-size: 26px;
    font-weight: bold;
    color: #2e4a8e;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hk-print-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
}
.hk-print-body thead th {
    background: transparent;
    padding: 4px 12px 8px 12px;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    color: #2c2c2c;
}
.hk-print-body tbody tr td {
    padding: 8px 12px;
    background: #daeaf5;
    vertical-align: middle;
}
.hk-print-body .date-in  { background: #c6efce !important; color: #1a1a1a; font-weight: bold; border-radius: 3px; text-align: center; width: 110px; }
.hk-print-body .date-out { background: #ffcccc !important; color: #1a1a1a; border-radius: 3px; text-align: center; width: 110px; }
.hk-print-body .col-guests  { text-align: center; width: 70px; }
.hk-print-body .col-nights  { text-align: center; width: 70px; font-weight: bold; }
.hk-print-body .col-cleaner { font-weight: bold; width: 130px; }
.hk-print-body .footer { margin-top: 20px; font-size: 12px; color: #444; display: flex; justify-content: space-between; }
.hk-print-body .no-print { margin-top: 20px; }
@media print {
    .hk-print-body { background: #daeaf5; -webkit-print-color-adjust: exact; print-color-adjust: exact; padding: 14px 18px; }
    .hk-print-body .no-print { display: none; }
}

/* ============================================================
   Mobile — max-width: 768px
   ============================================================ */
@media (max-width: 768px) {

    /* Nav */
    .topnav { flex-wrap: nowrap; }
    .topnav .brand { padding: 8px 10px; border-right: none; flex-shrink: 0; }
    .topnav .brand img { height: 32px; }
    .topnav .brand strong { display: none; }
    .topnav nav { flex: 1; overflow-x: auto; -webkit-overflow-scrolling: touch; overflow-y: visible; }
    .topnav nav a { padding: 0 10px; font-size: 0.82rem; }
    .topnav .userinfo { display: flex; padding: 0 4px; flex-shrink: 0; }
    .topnav .userinfo .user-label { display: none; }
    .topnav .userinfo .user-role  { display: none; }
    .user-mobile-icon { display: inline; }
    .user-chevron     { display: none; }

    /* Page */
    .page { padding: 12px 10px; }

    /* Grids — all stack to single column */
    .responsive-grid { grid-template-columns: 1fr !important; }
    .two-col-grid    { grid-template-columns: 1fr !important; }
    .finance-grid    { grid-template-columns: 1fr !important; }
    .demo-grid       { grid-template-columns: 1fr !important; }

    /* Remove top margin on edit panels when stacked */
    .responsive-grid > .card { margin-top: 0 !important; }

    /* Stats — 2 columns on mobile */
    .stats { grid-template-columns: repeat(2, 1fr) !important; }

    /* Hide less critical table columns */
    .hide-mobile { display: none !important; }

    /* Payments form wrapping */
    .payment-form { flex-wrap: wrap; }

    /* Demo hero */
    .demo-hero { padding: 28px 24px; }
    .demo-hero h1 { font-size: 1.5rem; }

    /* Login box */
    .login-box { padding: 28px 20px; }
}

/* ── Site Footer ── */
.site-footer { text-align: center; padding: 12px 24px; color: var(--muted); font-size: 0.8rem; flex-shrink: 0; }

/* ============================================================
   Properties Page
   ============================================================ */
.properties-wrap { max-width: 520px; }
.properties-h1 { font-size: 1.4rem; color: var(--primary-dk); margin-bottom: 16px; }
.properties-demo-note { font-size: .85rem; margin-bottom: 12px; }
.properties-field { margin-bottom: 12px; }
.properties-gst-note { color: #555; font-size: 0.9rem; margin-bottom: 12px; }
.properties-gst-input { width: 120px; -moz-appearance: textfield; }
.properties-gst-input::-webkit-outer-spin-button,
.properties-gst-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Multiple properties note */
.properties-multi-note { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }
.properties-multi-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.properties-multi-link:hover { text-decoration: underline; }

/* GST Modal */
.gst-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.gst-modal-box {
    background: var(--white);
    border-radius: 10px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.gst-modal-title { font-size: 1.1rem; color: var(--primary-dk); margin-bottom: 8px; }
.gst-modal-body { color: #555; font-size: 0.9rem; margin-bottom: 6px; }
.gst-modal-body:last-of-type { margin-bottom: 16px; }
.gst-modal-input {
    width: 100%;
    padding: 10px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 12px;
}
.gst-modal-error { color: var(--danger); font-size: 0.85rem; margin-bottom: 10px; display: none; }
.gst-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Contact Us page — form top spacing */
/* NOTE: contact_us.php also contains inline styles inside the PHP $body email string.
   Those MUST remain inline — email clients (Gmail, Outlook, Apple Mail) strip external
   stylesheets and <style> blocks from HTML emails. Moving them to style.css would
   break email rendering for recipients. */
.contact-form { margin-top: 16px; }

/* ============================================================
   Dashboard
   ============================================================ */

/* Clickable stat boxes (onclick navigate) */
.stat.clickable { cursor: pointer; }

/* In-house guest sub-items */
.stat .sub { white-space: nowrap; }
.stat .sub a { color: inherit; }

/* In-house status notes */
.stat-note-out { color: var(--accent); font-size: .78rem; }
.stat-note-in  { color: var(--success); font-size: .78rem; }

/* Outstanding unpaid amount in stat */
.stat-unpaid-amt { color: var(--accent); }

/* Future bookings value text */
.stat-future-val { color: var(--success); }

/* Empty state message (no records) */
.empty-state { color: var(--muted); font-size: .9rem; }

/* Reference column in booking tables */
.td-ref { font-size: .8rem; color: var(--muted); }

/* ============================================================
   Finance Page
   ============================================================ */

/* Year filter form */
.finance-year-form { display: flex; gap: 8px; align-items: center; }
.finance-year-label { font-size: .88rem; color: var(--muted); }
.finance-year-select { padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius); }

/* Table links (primary colour, bold) */
.tbl-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.tbl-link:hover { text-decoration: underline; }

/* Accent table cell (e.g. commission) */
.td-accent { color: var(--accent); }

/* Empty table message */
.td-empty { color: var(--muted); text-align: center; padding: 16px; }

/* Card title — flex layout (title + action side by side) */
.card-title-flex { display: flex; justify-content: space-between; align-items: center; }

/* Card title — back/secondary link */
.card-title-back { font-size: .82rem; font-weight: 400; color: var(--muted); text-decoration: none; }

/* Card title — accent colour */
.card-title-accent { color: var(--accent); }

/* Card title — small note */
.card-title-note { font-size: .8rem; color: var(--muted); font-weight: 400; }

/* Drill-down totals row */
.tbl-totals-row { font-weight: 600; border-top: 2px solid var(--border); }

/* Drill-down pagination */
.drill-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; padding-bottom: 8px; }
.pagination-info { color: var(--muted); font-size: .9rem; }

/* ============================================================
   Utilities
   ============================================================ */

/* Muted italic notice — e.g. "Best viewed on desktop" messages */
.notice-muted {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: #555;
    font-style: italic;
}
