/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --accent: #10b981;
    --surface: #ffffff;
    --bg-page: #f8fafc;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-page);
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.table-hover tbody tr:hover {
    background-color: #f8fafc;
}

/* Digital Clock Style */
.digital-clock {
    font-family: 'Space Grotesk', monospace;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Animations */
@keyframes pulse-subtle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.02); }
}

.animate-pulse-subtle {
    animation: pulse-subtle 2.5s infinite ease-in-out;
}

/* Schedule Matrix Styles */
.schedule-cell {
    min-height: 85px;
    transition: all 0.2s ease;
}
.schedule-cell:hover {
    background-color: #f1f5f9;
}

.shift-badge {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.shift-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Print Styles */
@media print {
    aside, header, .no-print, button, .btn-action {
        display: none !important;
    }
    main {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    .print-only {
        display: block !important;
    }
}

/* ================= MOBILE APP & TABLET OPTIMIZATIONS ================= */
button, a, input, select, textarea, .cat-pill, .order-type-btn, .pos-pay-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Slide Up Drawer Animation */
@keyframes slide-up {
    from {
        transform: translateY(100%);
        opacity: 0.8;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slide-up 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Safe Area Padding for Modern Devices (iPhone notch / gesture bar) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .pb-safe {
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    }
}

