/* Luxury Dark & Gold Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #07080a;
    --bg-card: rgba(17, 19, 26, 0.75);
    --bg-card-hover: rgba(25, 28, 38, 0.85);
    
    /* Gold Palette */
    --gold-primary: #C5A880; /* Muted Champagne Gold */
    --gold-bright: #E5C494;
    --gold-dark: #8E7043;
    --gold-glow: rgba(197, 168, 128, 0.2);
    --gold-border: rgba(197, 168, 128, 0.15);
    
    /* States */
    --color-active: #05C77E; /* Emerald Jade */
    --color-active-glow: rgba(5, 199, 126, 0.25);
    --color-inactive: #EF4444; /* Ruby Red */
    --color-inactive-glow: rgba(239, 68, 68, 0.25);
    
    /* Text */
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --clock-radius: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-border) transparent;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(197, 168, 128, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(197, 168, 128, 0.02) 0%, transparent 40%);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glassmorphism Panel base */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--gold-border);
    border-radius: 16px;
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(197, 168, 128, 0.3);
    box-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.6), 0 0 15px rgba(197, 168, 128, 0.05);
}

/* Header & Brand styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.08);
    background: rgba(7, 8, 10, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #FFF 0%, var(--gold-primary) 50%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand p {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Tab Navigation buttons */
.nav-buttons {
    display: flex;
    gap: 12px;
}

.btn-nav {
    background: transparent;
    border: 1px solid rgba(197, 168, 128, 0.2);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-nav:hover, .btn-nav.active {
    border-color: var(--gold-primary);
    color: var(--text-primary);
    background: rgba(197, 168, 128, 0.08);
    box-shadow: 0 0 15px var(--gold-glow);
}

.btn-nav.active {
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.15) 0%, rgba(197, 168, 128, 0.05) 100%);
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
}

.view-section {
    display: none;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.view-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Receptionist View Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Clock & Live Info Panel */
.clock-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    text-align: center;
}

.analog-clock-container {
    position: relative;
    width: 180px;
    height: 180px;
    border: 2px solid var(--gold-border);
    border-radius: 50%;
    margin-bottom: 24px;
    background: radial-gradient(circle, rgba(17, 19, 26, 0.4) 0%, rgba(7, 8, 10, 0.9) 100%);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.clock-center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 0 8px var(--gold-bright);
}

/* Clock Dial Ticks */
.clock-tick {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 6px;
    background-color: rgba(197, 168, 128, 0.3);
    margin-left: -1px;
    margin-top: -3px;
    transform-origin: 50% 50%;
    transform: rotate(var(--rot)) translateY(calc(-1 * var(--clock-radius) + 12px));
    z-index: 1;
}

.clock-tick.major {
    width: 3px;
    height: 12px;
    background-color: var(--gold-primary);
    margin-left: -1.5px;
    margin-top: -6px;
    transform: rotate(var(--rot)) translateY(calc(-1 * var(--clock-radius) + 15px));
    z-index: 2;
}

.clock-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: 50% 100%;
    border-radius: 4px;
    transition: transform 0.5s cubic-bezier(0.4, 2.3, 0.3, 1);
    z-index: 5;
}

.hour-hand {
    width: 4px;
    height: 45px;
    background: var(--text-primary);
    margin-left: -2px;
}

.minute-hand {
    width: 3px;
    height: 65px;
    background: var(--gold-primary);
    margin-left: -1.5px;
}

.second-hand {
    width: 1.5px;
    height: 75px;
    background: #E11D48; /* Red rose second hand */
    margin-left: -0.75px;
}

.digital-time {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.digital-date {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gold-primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Status Indicator */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    border: 1px solid transparent;
}

.status-badge.active {
    background: rgba(5, 199, 126, 0.08);
    border-color: rgba(5, 199, 126, 0.25);
    color: var(--color-active);
    box-shadow: 0 0 15px var(--color-active-glow);
}

.status-badge.inactive {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    color: var(--color-inactive);
    box-shadow: 0 0 15px var(--color-inactive-glow);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-badge.active .pulse-dot {
    background-color: var(--color-active);
    animation: pulseGreen 2s infinite;
}

.status-badge.inactive .pulse-dot {
    background-color: var(--color-inactive);
    animation: pulseRed 2s infinite;
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(5, 199, 126, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(5, 199, 126, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 199, 126, 0); }
}

@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Control Panel with Luxury Buttons */
.control-panel {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

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

.receptionist-info h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.receptionist-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.btn-action {
    background: transparent;
    border: 1px solid var(--gold-border);
    padding: 18px 28px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-action::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    z-index: 0;
}

.btn-action:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-action span, .btn-action i {
    position: relative;
    z-index: 1;
}

.btn-check-in {
    border-color: rgba(5, 199, 126, 0.4);
}

.btn-check-in:hover {
    background: rgba(5, 199, 126, 0.08);
    border-color: var(--color-active);
    color: var(--color-active);
    box-shadow: 0 8px 24px rgba(5, 199, 126, 0.15);
}

.btn-check-out {
    border-color: rgba(239, 68, 68, 0.4);
}

.btn-check-out:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: var(--color-inactive);
    color: var(--color-inactive);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
}

.btn-action:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.btn-action:disabled::before {
    display: none;
}

/* Running counter display */
.live-counter-box {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(197, 168, 128, 0.05);
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.live-counter-time {
    font-size: 1.6rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--gold-bright);
}

.live-counter-money {
    font-size: 1.1rem;
    color: var(--color-active);
    font-weight: 600;
    margin-top: 4px;
}

/* Admin Dashboard layout */
.admin-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 32px;
}

@media (max-width: 950px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-panel-card {
    padding: 28px;
}

.admin-panel-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--gold-primary);
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
    padding-bottom: 8px;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-luxury {
    width: 100%;
    background: rgba(7, 8, 10, 0.5);
    border: 1px solid var(--gold-border);
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.input-luxury:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.2);
    background: rgba(7, 8, 10, 0.8);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 100%);
    border: none;
    color: #07080a;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-bright) 100%);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* History Logs & Table */
.logs-panel {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.logs-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
}

.logs-actions {
    display: flex;
    gap: 12px;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--gold-border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    border-color: var(--gold-primary);
    background: rgba(197, 168, 128, 0.05);
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.table-luxury {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.table-luxury th {
    border-bottom: 2px solid var(--gold-border);
    padding: 16px 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.75rem;
}

.table-luxury td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.table-luxury tr:last-child td {
    border-bottom: none;
}

.table-luxury tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.action-icon {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.action-icon:hover {
    color: var(--color-inactive);
    background: rgba(239, 68, 68, 0.1);
}

/* Summary Cards */
.summary-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.summary-card {
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(197, 168, 128, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.01);
}

.summary-card h4 {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.summary-card p {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-primary);
}

.summary-card p.total-salary {
    color: var(--color-active);
}

/* Custom Passcode Modal overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 8, 10, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.passcode-modal {
    padding: 40px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    animation: modalSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlide {
    from { transform: translateY(30px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.passcode-modal h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    color: var(--gold-primary);
}

.passcode-modal p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.passcode-dots {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.passcode-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--gold-border);
    transition: var(--transition-smooth);
}

.passcode-dot.filled {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-bright);
    transform: scale(1.1);
}

.passcode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 280px;
    margin: 0 auto;
}

.btn-key {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 168, 128, 0.1);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin: 0 auto;
    font-family: var(--font-body);
}

.btn-key:hover {
    border-color: var(--gold-primary);
    background: rgba(197, 168, 128, 0.08);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.1);
}

.btn-key:active {
    transform: scale(0.9);
}

.btn-key.key-action {
    font-size: 0.95rem;
    border-color: transparent;
    color: var(--text-secondary);
}

.btn-key.key-action:hover {
    color: var(--text-primary);
    background: transparent;
    box-shadow: none;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--bg-card);
    border-left: 4px solid var(--gold-primary);
    padding: 16px 24px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: var(--color-active);
}

.toast.error {
    border-left-color: var(--color-inactive);
}

.toast-msg {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Real-time Indicator sync */
.sync-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.sync-indicator.online {
    color: var(--color-active);
}

.sync-indicator.syncing {
    color: var(--gold-primary);
}

.sync-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

.syncing .sync-dot {
    animation: pulseSync 1.2s infinite ease-in-out;
}

@keyframes pulseSync {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Manual Clock-in Adjustment Modal */
.standard-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-card);
    border: 1px solid var(--gold-primary);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    width: 90%;
    max-width: 460px;
    padding: 32px;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(20px);
}

.standard-modal.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
    padding-bottom: 12px;
}

.modal-header h3 {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 1.15rem;
    letter-spacing: 0.05em;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.btn-close-modal:hover {
    color: var(--text-primary);
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* Avatar Upload Styles */
.avatar-container {
    position: relative;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    border: 1px solid var(--gold-border);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 6px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}
.avatar-container:hover {
    border-color: var(--gold-primary);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.3);
}
.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    border-radius: 50%;
}
.avatar-container:hover .avatar-overlay {
    opacity: 1;
}

/* Mobile Screen Responsiveness Optimizations */
@media (max-width: 600px) {
    header {
        padding: 16px 20px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .brand {
        flex-direction: column;
        gap: 8px;
    }
    
    .brand h1 {
        font-size: 1.25rem;
        letter-spacing: 0.1em;
    }
    
    .brand p {
        font-size: 0.7rem;
    }
    
    .nav-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .btn-nav {
        flex: 1;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .container {
        margin: 20px auto;
        padding: 0 16px;
    }
    
    .clock-panel {
        padding: 24px 16px;
    }
    
    .digital-time {
        font-size: 2.2rem;
    }
    
    .digital-date {
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }
    
    .analog-clock-container {
        width: 150px;
        height: 150px;
        margin-bottom: 16px;
        --clock-radius: 75px;
    }
    
    .hour-hand { height: 38px; }
    .minute-hand { height: 52px; }
    .second-hand { height: 60px; }
    
    .control-panel {
        padding: 24px 16px;
    }
    
    .receptionist-info h2 {
        font-size: 1.4rem;
    }
    
    .btn-action {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .live-counter-time {
        font-size: 1.3rem;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .admin-panel-card {
        padding: 20px 16px;
    }
    
    .logs-panel {
        padding: 20px 16px;
    }
    
    .summary-cards-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .summary-card {
        padding: 12px 8px;
    }
    
    .summary-card h4 {
        font-size: 0.65rem;
    }
    
    .summary-card p {
        font-size: 1.1rem;
    }
    
    .logs-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .logs-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }
    
    .table-luxury th, .table-luxury td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    
    .btn-key {
        width: 56px;
        height: 56px;
        font-size: 1.1rem;
    }
    
    .passcode-modal {
        padding: 28px 20px;
    }
    
    .passcode-grid {
        gap: 12px;
    }
}

/* Invert black parts of transparent logo to white while preserving brand red color */
.logo-lightmode-invert {
    filter: invert(1) hue-rotate(180deg);
}
