/* assets/css/style.css - CGV Event Calendar System (Light Theme) */
:root {
    /* Brand Colors */
    --cgv-red: #E71A0F;
    --cgv-red-hover: #c4140a;
    --cgv-red-light: rgba(231, 26, 15, 0.08);
    --cgv-red-border: rgba(231, 26, 15, 0.25);
    
    /* Light Theme Backgrounds & Surfaces */
    --bg-dark: #F8FAFC;         /* Soft clean canvas background */
    --bg-surface: #FFFFFF;      /* Pure white elevated surface */
    --bg-card: #FFFFFF;         /* Pure white cards */
    --bg-card-hover: #F1F5F9;   /* Subtle slate hover */
    --bg-input: #FFFFFF;        /* Clean input background */
    --bg-subtle: #F1F5F9;       /* Light subtle containers */
    
    /* Borders */
    --border-color: #E2E8F0;    /* Light clean border */
    --border-light: #CBD5E1;    /* Slightly more defined border */
    --border-focus: #E71A0F;
    
    /* Typography */
    --text-main: #0F172A;       /* Rich dark slate for high contrast */
    --text-muted: #475569;      /* Readable secondary text */
    --text-dim: #64748B;        /* Muted labels & timestamps */
    --text-light: #94A3B8;
    
    /* Status Palette (Light Mode: rich text, gentle tinted pastel backgrounds, refined borders) */
    --status-new: #D97706;
    --status-new-bg: #FEF3C7;
    --status-new-border: #FCD34D;
    --status-new-text: #92400E;
    
    --status-dp: #2563EB;
    --status-dp-bg: #DBEAFE;
    --status-dp-border: #93C5FD;
    --status-dp-text: #1E40AF;
    
    --status-paid: #059669;
    --status-paid-bg: #D1FAE5;
    --status-paid-border: #6EE7B7;
    --status-paid-text: #065F46;
    
    --status-cancel: #64748B;
    --status-cancel-bg: #F1F5F9;
    --status-cancel-border: #CBD5E1;
    --status-cancel-text: #475569;
    
    /* Border Radius & Shadows */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-card-hover: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-dropdown: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 0 16px rgba(231, 26, 15, 0.2);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, .brand-text {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

a {
    color: inherit;
    text-decoration: none;
}

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

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

.brand-logo-img {
    height: 38px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.brand-logo {
    background: var(--cgv-red);
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(231, 26, 15, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-info h1 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-info span {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 18px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--cgv-red);
    background: var(--cgv-red-light);
}

.nav-link.active {
    color: var(--cgv-red);
    background: var(--cgv-red-light);
    font-weight: 700;
}

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

/* Role Badges */
.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}
.role-HQ {
    background: #FAF5FF;
    color: #7E22CE;
    border-color: #E9D5FF;
}
.role-AM {
    background: #EFF6FF;
    color: #1D4ED8;
    border-color: #BFDBFE;
}
.role-CM {
    background: #ECFDF5;
    color: #047857;
    border-color: #A7F3D0;
}
.role-MOD {
    background: #FFFBEB;
    color: #B45309;
    border-color: #FDE68A;
}

/* Quick Switcher dropdown */
.quick-switcher {
    position: relative;
}
.quick-switcher select {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}
.quick-switcher select:hover {
    border-color: var(--border-light);
    color: var(--text-main);
}
.quick-switcher select:focus {
    border-color: var(--cgv-red);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    line-height: 1.4;
}
.btn-primary {
    background: var(--cgv-red);
    color: #FFFFFF;
    border-color: var(--cgv-red);
    box-shadow: 0 2px 8px rgba(231, 26, 15, 0.3);
}
.btn-primary:hover {
    background: var(--cgv-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 26, 15, 0.4);
}
.btn-secondary {
    background: #FFFFFF;
    color: var(--text-muted);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    color: var(--text-main);
    border-color: var(--border-light);
}
.btn-danger {
    background: #FEF2F2;
    color: #DC2626;
    border-color: #FECACA;
}
.btn-danger:hover {
    background: #DC2626;
    color: #FFFFFF;
    border-color: #DC2626;
}
.btn-success {
    background: #ECFDF5;
    color: #059669;
    border-color: #A7F3D0;
}
.btn-success:hover {
    background: #059669;
    color: #FFFFFF;
    border-color: #059669;
}
.btn-sm {
    padding: 5px 11px;
    font-size: 12px;
}

/* MAIN CONTAINER */
.main-wrapper {
    flex: 1;
    padding: 24px 28px;
    max-width: 1680px;
    margin: 0 auto;
    width: 100%;
}

/* KPI STATS ROW */
.kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-card);
}
.kpi-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}
.kpi-meta .kpi-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.kpi-meta .kpi-val {
    font-size: 26px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}
.kpi-indicator {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.ind-total { background: #F1F5F9; color: #475569; }
.ind-new { background: var(--status-new-bg); color: var(--status-new); }
.ind-dp { background: var(--status-dp-bg); color: var(--status-dp); }
.ind-paid { background: var(--status-paid-bg); color: var(--status-paid); }
.ind-cancel { background: var(--status-cancel-bg); color: var(--status-cancel); }

/* CONTROLS & FILTER BAR */
.filter-bar {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
}
.filter-groups {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}
.filter-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.filter-item label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 700;
    letter-spacing: 0.5px;
}
.filter-item select, .filter-item input {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
    min-width: 170px;
    transition: all 0.2s;
}
.filter-item select:focus, .filter-item input:focus {
    border-color: var(--cgv-red);
    box-shadow: 0 0 0 3px rgba(231, 26, 15, 0.1);
}
.filter-item select:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #F8FAFC;
    color: var(--text-dim);
}

/* CALENDAR WRAPPER */
.calendar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

/* FullCalendar Light Theme Overrides */
.fc {
    font-family: inherit;
    --fc-page-bg-color: #FFFFFF;
    --fc-neutral-bg-color: #F8FAFC;
    --fc-list-event-hover-bg-color: #F1F5F9;
    --fc-theme-standard-border-color: #E2E8F0;
    --fc-border-color: #E2E8F0;
}
.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 20px;
}
.fc .fc-toolbar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}
.fc .fc-button {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    text-transform: capitalize;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}
.fc .fc-button:hover {
    background: #F1F5F9;
    color: var(--text-main);
    border-color: var(--border-light);
}
.fc .fc-button-active, .fc .fc-button-primary:not(:disabled):active {
    background: var(--cgv-red) !important;
    border-color: var(--cgv-red) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(231, 26, 15, 0.35) !important;
}
.fc .fc-button-primary:disabled {
    opacity: 0.5;
    background: #F8FAFC;
    border-color: var(--border-color);
    color: var(--text-dim);
}
.fc-col-header-cell {
    background: #F8FAFC;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.fc-theme-standard td, .fc-theme-standard th {
    border: 1px solid #E2E8F0;
}
.fc-day-today {
    background: rgba(231, 26, 15, 0.03) !important;
}
.fc-daygrid-day-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 6px 8px;
}
.fc-day-today .fc-daygrid-day-number {
    color: var(--cgv-red);
    font-weight: 800;
}

/* Custom Event Styling */
.fc-event-custom {
    border-radius: 5px !important;
    padding: 3px 6px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fc-event-custom:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
    z-index: 10;
}
.fc-event-custom.badge-new {
    border-left: 4px solid #d97706 !important;
}
.fc-event-custom.badge-dp {
    border-left: 4px solid #2563eb !important;
}
.fc-event-custom.badge-paid {
    border-left: 4px solid #059669 !important;
}
.fc-event-custom.badge-cancel {
    border-left: 4px solid #64748b !important;
    opacity: 0.75;
    text-decoration: line-through;
}

/* MODALS */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}
.modal-backdrop.show {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}
.modal-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
    animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
}
.modal-header h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal-close {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}
.modal-close:hover {
    color: var(--text-main);
    background: #F1F5F9;
}
.modal-body {
    padding: 24px;
}
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    background: #F8FAFC;
}

/* FORM ELEMENTS */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.form-grid-full {
    grid-column: 1 / -1;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}
.form-group label .required {
    color: var(--cgv-red);
}
.form-control {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
}
.form-control:focus {
    border-color: var(--cgv-red);
    box-shadow: 0 0 0 3px rgba(231, 26, 15, 0.12);
}
.form-control:disabled, .form-control[readonly] {
    opacity: 0.7;
    background: #F8FAFC;
    cursor: not-allowed;
    color: var(--text-dim);
}
textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Anti-Clash Alert Banner */
.clash-alert {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
}
.clash-alert.clash-error {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
    animation: shake 0.4s ease-in-out;
}
.clash-alert.clash-ok {
    background: #ECFDF5;
    border: 1px solid #6EE7B7;
    color: #065F46;
}
.clash-alert.clash-checking {
    background: #EFF6FF;
    border: 1px solid #93C5FD;
    color: #1E40AF;
}

/* Event Details Modal Elements */
.detail-item {
    margin-bottom: 16px;
}
.detail-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.detail-value {
    font-size: 14px;
    color: var(--text-main);
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.status-pill.new { background: var(--status-new-bg); color: var(--status-new-text); border: 1px solid var(--status-new-border); }
.status-pill.dp { background: var(--status-dp-bg); color: var(--status-dp-text); border: 1px solid var(--status-dp-border); }
.status-pill.paid { background: var(--status-paid-bg); color: var(--status-paid-text); border: 1px solid var(--status-paid-border); }
.status-pill.cancel { background: var(--status-cancel-bg); color: var(--status-cancel-text); border: 1px solid var(--status-cancel-border); }

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--cgv-red);
    color: var(--text-main);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.15);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.toast-success { border-left-color: #10b981; }
.toast.toast-error { border-left-color: #ef4444; }
.toast.toast-info { border-left-color: #3b82f6; }

/* Status Update Bar inside View Modal */
.status-quick-action {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* ====================================================
   DATA TABLES & MASTER DATA / REPORTS UI
   ==================================================== */
.card-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}

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

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}
.nav-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-tab-btn:hover {
    color: var(--cgv-red);
}
.nav-tab-btn.active {
    color: var(--cgv-red);
    border-bottom-color: var(--cgv-red);
    font-weight: 700;
}

/* Data Table */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
    background: #FFFFFF;
}

.data-table th {
    background: #F8FAFC;
    color: var(--text-dim);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    vertical-align: middle;
}

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

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

.table-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Search input */
.search-box {
    position: relative;
    max-width: 280px;
    width: 100%;
}
.search-box input {
    width: 100%;
    padding: 8px 12px 8px 34px;
    font-size: 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    background: #FFFFFF;
    color: var(--text-main);
}
.search-box input:focus {
    border-color: var(--cgv-red);
}
.search-box i {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 13px;
}

/* Report Summary Row */
.report-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.metric-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.metric-box .metric-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 6px;
}
.metric-box .metric-value {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* PRINT STYLES */
@media print {
    body {
        background: #FFFFFF !important;
        color: #000000 !important;
    }
    .navbar, .filter-bar, .nav-actions, .modal-backdrop, .toast-container,
    .btn, .quick-switcher, .search-box, .nav-tabs, #btnResetFilter, .no-print {
        display: none !important;
    }
    .main-wrapper {
        padding: 0 !important;
        max-width: 100% !important;
    }
    .card-section, .calendar-card {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .print-header {
        display: block !important;
        border-bottom: 2px solid #000;
        padding-bottom: 12px;
        margin-bottom: 20px;
    }
    .data-table {
        border: 1px solid #333 !important;
    }
    .data-table th, .data-table td {
        border: 1px solid #ccc !important;
        color: #000 !important;
        padding: 8px !important;
    }
    .data-table th {
        background: #f0f0f0 !important;
    }
    .table-actions {
        display: none !important;
    }
}

.print-header {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 14px;
    }
    .nav-links {
        margin-left: 0;
        width: 100%;
        overflow-x: auto;
    }
    .nav-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
}
