/*
Theme Name: HGS Hotel Theme
Theme URI: https://hgs-dev.com/theme
Description: Reusable premium custom theme for the HGS Hotel Multisite Platform.
Version: 1.0.0
Author: HGS Dev Team
Text Domain: hgs-hotel-theme
*/

/* ── 1. DESIGN SYSTEM VARIABLES ────────────────────────────────────────── */
:root {
    --color-bg: #fdfdfc;
    --color-bg-alt: #faf6f0;
    --color-text: #2c2b28;
    --color-text-muted: #706b64;
    --color-accent: #c5a880;
    --color-accent-hover: #b3966e;
    --color-dark: #1a1917;
    --color-dark-alt: #2a2926;
    --color-border: #eadecc;
    --color-white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1200px;
    --container-padding: 24px;
    
    --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-soft: 0 4px 20px rgba(26, 25, 23, 0.05);
    --shadow-medium: 0 8px 30px rgba(26, 25, 23, 0.08);
}

/* ── 2. BASE RESET & TYPOGRAPHY ────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.25rem;
    color: var(--color-text-muted);
}
p:last-child { margin-bottom: 0; }

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--color-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ── 3. UTILITIES & CONTAINER ────────────────────────────────────────── */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.section-padding {
    padding: 90px 0;
}
.section-padding-sm {
    padding: 50px 0;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.text-center { text-align: center; }

.section-header {
    max-width: 650px;
    margin: 0 auto 50px;
    text-align: center;
}
.section-header h2 {
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 16px;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
}
.section-header p {
    font-size: 1.05rem;
}

/* Grids */
.grid {
    display: grid;
    gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flexbox utilities */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Buttons */
.hgs-btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.hgs-btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}
.hgs-btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-white);
    transform: translateY(-2px);
}

.hgs-btn-secondary {
    background-color: var(--color-dark);
    color: var(--color-white);
}
.hgs-btn-secondary:hover {
    background-color: var(--color-dark-alt);
    color: var(--color-white);
    transform: translateY(-2px);
}

.hgs-btn-outline {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.hgs-btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

.hgs-btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* Form Controls */
.hgs-form-group {
    margin-bottom: 20px;
}
.hgs-form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-dark);
}
.hgs-form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
    transition: var(--transition-smooth);
}
.hgs-form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

/* ── 4. SITE HEADER ────────────────────────────────────────────────────── */
.site-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    padding: 16px 0;
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
}
.site-logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: -0.01em;
}
.site-logo img {
    max-height: 45px;
    width: auto;
}

.main-navigation ul {
    display: flex;
    gap: 32px;
}
.main-navigation a {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 8px 0;
}
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}
.main-navigation a:hover {
    color: var(--color-accent);
}
.main-navigation a:hover::after {
    width: 100%;
}
.main-navigation .current-menu-item a {
    color: var(--color-accent);
}
.main-navigation .current-menu-item a::after {
    width: 100%;
}

.header-cta .hgs-btn {
    font-size: 0.85rem;
    padding: 10px 22px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-dark);
    margin-bottom: 5px;
    transition: var(--transition-smooth);
}
.mobile-nav-toggle span:last-child {
    margin-bottom: 0;
}

/* ── 5. HERO & BOOKING BAR ────────────────────────────────────────────── */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 75vh;
    display: flex;
    align-items: center;
    color: var(--color-white);
    padding: 100px 0 160px; /* Leave padding below for booking bar overlap */
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26, 25, 23, 0.45) 0%, rgba(26, 25, 23, 0.65) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    text-align: left;
}
.hero-content h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 18px;
    font-weight: 500;
}
.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Floating Booking Bar */
.booking-bar-wrapper {
    margin-top: -60px; /* overlap onto hero */
    position: relative;
    z-index: 10;
}
.booking-bar {
    background-color: var(--color-white);
    box-shadow: var(--shadow-medium);
    border-radius: 6px;
    padding: 24px;
    border: 1px solid var(--color-border);
}
.booking-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 16px;
    align-items: flex-end;
}
.booking-form .hgs-form-group {
    margin-bottom: 0;
}
.booking-form input, .booking-form select {
    border-color: var(--color-border);
    height: 48px;
}
.booking-form .hgs-btn {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── 6. FRONT PAGE SECTIONS ───────────────────────────────────────────── */

/* About Section */
.about-section-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.about-content h3 {
    font-size: 0.9rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}
.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
}
.about-content p {
    font-size: 1.05rem;
    margin-bottom: 24px;
}
.about-image {
    position: relative;
}
.about-image img {
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
}
.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    bottom: -20px;
    left: 20px;
    border: 2px solid var(--color-accent);
    border-radius: 4px;
    z-index: -1;
}

/* Rooms Section */
.room-card {
    background-color: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}
.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}
.room-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.room-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.room-card:hover .room-image-wrapper img {
    transform: scale(1.08);
}
.room-info {
    padding: 24px;
}
.room-info h3 {
    margin-bottom: 10px;
}
.room-info p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.room-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
}
.room-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-dark);
    font-weight: 500;
}
.room-price span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Amenities Section */
.amenity-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--color-white);
    border-radius: 4px;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}
.amenity-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}
.amenity-icon {
    font-size: 2.25rem;
    color: var(--color-accent);
    margin-bottom: 18px;
    line-height: 1;
}
.amenity-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.amenity-card p {
    font-size: 0.9rem;
}

/* Promo Banner Section */
.promo-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: var(--color-white);
}
.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 25, 23, 0.7);
    z-index: 1;
}
.promo-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}
.promo-content h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.promo-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ── 7. CONTACT PAGE TEMPLATE ────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
}
.contact-details-card {
    background-color: var(--color-bg-alt);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}
.contact-details-card h3 {
    margin-bottom: 24px;
}
.contact-item {
    margin-bottom: 24px;
}
.contact-item:last-child {
    margin-bottom: 0;
}
.contact-item h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 6px;
}
.contact-item p, .contact-item a {
    font-size: 1.05rem;
    color: var(--color-text);
}
.contact-form-card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}
.contact-form-card h3 {
    margin-bottom: 24px;
}
.contact-map-section {
    width: 100%;
    height: 450px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 50px;
    border: 1px solid var(--color-border);
}
.contact-map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── 8. INNER PAGES (page.php & index.php) ────────────────────────────────── */
.page-title-banner {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
}
.page-title-banner h1 {
    color: var(--color-white);
    font-size: 2.5rem;
}
.inner-page-content {
    max-width: 800px;
    margin: 50px auto;
    font-size: 1.05rem;
    line-height: 1.7;
}
.inner-page-content p {
    margin-bottom: 20px;
}

/* ── 9. SITE FOOTER ────────────────────────────────────────────────────── */
.site-footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px;
    border-top: 3px solid var(--color-accent);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--color-white);
    font-size: 1.15rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col-about p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 18px;
}

.footer-col-links ul {
    display: grid;
    gap: 12px;
}
.footer-col-links a {
    color: rgba(255, 255, 255, 0.75);
}
.footer-col-links a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-col-contact p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}
.footer-col-contact strong {
    color: var(--color-accent);
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}
.footer-socials a {
    background-color: var(--color-dark-alt);
    color: var(--color-white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.footer-socials a:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ── 10. RESPONSIVE BREAKPOINTS ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }
    
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    
    .section-padding { padding: 60px 0; }
    
    /* Header mobile */
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none; /* toggleable by JS later */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        padding: 20px;
    }
    .main-navigation ul {
        flex-direction: column;
        gap: 16px;
    }
    .main-navigation.active {
        display: block;
    }
    
    .header-cta {
        display: none;
    }
    
    /* Hero */
    .hero-section {
        min-height: 60vh;
        padding: 80px 0 120px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    /* Booking Bar mobile */
    .booking-bar-wrapper {
        margin-top: -40px;
    }
    .booking-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .booking-form .hgs-btn {
        margin-top: 10px;
    }
    
    /* About */
    .about-section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image::after {
        display: none;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Footer bottom */
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
}

/* ── 11. PORTAL DIRECTORY STYLES ────────────────────────────────────────── */
.portal-hero {
    position: relative;
    background-attachment: scroll;
}

.portal-hotel-card .room-image-wrapper {
    position: relative;
}

.portal-hotel-logo-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background-color: var(--color-white);
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    max-width: 120px;
    max-height: 48px;
    overflow: hidden;
}
.portal-hotel-logo-overlay img {
    max-width: 100%;
    max-height: 32px;
    width: auto;
    height: auto;
}

.portal-tagline {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.portal-contact-info i {
    vertical-align: middle;
}

/* ── 12. STAFF DEPARTMENT DASHBOARD STYLES ────────────────────────────── */
.dashboard-card {
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

.dashboard-table th {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-dark);
}

.dashboard-table tr:hover {
    background-color: var(--color-bg-alt);
}

/* Form disable override to show view-only elements clearly */
input:disabled, select:disabled, textarea:disabled {
    background-color: #f1f0ee !important;
    color: #9c978f !important;
    border-color: #e5dfd5 !important;
    cursor: not-allowed;
}

/* Rotate and fade-out animations for mobile menu icon toggling */
.rotate-down {
    transform: translateY(7px) rotate(45deg);
}
.fade-out {
    opacity: 0;
}
.rotate-up {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── 13. SAAS WEB CONSOLE STYLES ────────────────────────────────────────── */
.console-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--color-bg);
}

.console-sidebar {
    width: 260px;
    height: 100%;
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.console-brand {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.console-user {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: var(--color-dark-alt);
}

.console-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    text-transform: uppercase;
}

.console-user-info {
    overflow: hidden;
}
.console-user-name {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.console-user-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-top: 2px;
}

.console-menu {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.console-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
}
.console-menu-link i {
    font-size: 1.2rem;
    line-height: 1;
}
.console-menu-link:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.03);
    border-left-color: rgba(197, 168, 128, 0.4);
}
.console-menu-link.active {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.05);
    border-left-color: var(--color-accent);
}

.console-footer {
    padding: 16px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.console-footer .console-menu-link {
    padding: 10px 0;
    border-left: none;
}
.console-footer .console-menu-link:hover {
    background: none;
    color: #ef4444;
}

.console-main {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #faf9f6;
}

.console-topbar {
    height: 64px;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.01);
}

.console-breadcrumbs {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-dark);
}

.console-content {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

/* Stat Cards */
.stat-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.15;
    margin-top: 4px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: var(--color-bg-alt);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ── Interactive transitions & micro-animations ── */
.stat-card {
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent);
}
.stat-card:active {
    transform: translateY(-2px);
}
.dashboard-table tbody tr {
    transition: background-color 0.15s ease;
}
.dashboard-table tbody tr:hover {
    background-color: #faf9f6;
}
.console-menu-link {
    transition: border-left-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.console-menu-link i {
    transition: transform 0.15s ease;
}
.console-menu-link:hover i {
    transform: scale(1.12);
}
.hgs-btn {
    transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}
.hgs-btn:active {
    transform: scale(0.96);
}
.hgs-action-btn {
    transition: transform 0.12s ease, opacity 0.12s ease;
}
.hgs-action-btn:hover {
    transform: scale(1.08);
}
.hgs-action-btn:active {
    transform: scale(0.94);
}


