@import url('https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Fix Utsaah Font Size (only for Utsaah) */
@font-face {
    font-family: 'Utsaah';
    src: url('./fonts/Utsaah.ttf') format('truetype'),
         local('Utsaah'), local('Utsaah Regular'), local('mangal');
    size-adjust: 120%;
}

:root {
    --primary: #2563eb;          /* Modern Electric Royal Blue */
    --primary-hover: #1d4ed8;
    --primary-light: rgba(37, 99, 235, 0.08);
    --secondary: #10b981;    
    --success: #10b981;
    --danger: #ef4444;    
    --sidebar-bg: #0f172a;       /* Deep Luxury Slate Navy */
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md: 0 4px 14px -1px rgba(0,0,0,0.05), 0 2px 6px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 12px 28px -4px rgba(0,0,0,0.07), 0 4px 10px -2px rgba(0,0,0,0.03);

    /* Slate Palette for accessibility */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* --- Stock UI Components --- */
.stock-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
}

.stock-item-val {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    padding: 1.15rem 1rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.stock-item-val:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.12);
}

.stock-item-name {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.stock-item-qty {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
}

.stock-entry-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.2s;
}

.stock-entry-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.stock-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--slate-50);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.stock-entry-card.is-opening {
    border-left: 6px solid var(--primary);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

body, input, select, textarea, button {
    font-family: 'Utsaah', 'Hind', serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.25rem;
    transition: transform 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar.collapsed .sidebar-header h2,
.sidebar.collapsed .sidebar-school-name,
.sidebar.collapsed .sidebar-nav a span:not(.icon) {
    display: none;
}

.sidebar.collapsed .sidebar-nav a {
    justify-content: center;
    padding: 0.8rem;
}

.sidebar-collapse-btn {
    position: absolute;
    right: -12px;
    top: 3.5rem;
    width: 26px;
    height: 26px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 101;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.sidebar.collapsed .sidebar-collapse-btn {
    transform: rotate(180deg);
}

.sidebar-header {
    margin-bottom: 2rem;
    padding: 0.75rem 0.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-header h2 {
    font-size: 1.45rem;
    font-weight: 900;
    background: linear-gradient(135deg, #93c5fd 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em;
}

.sidebar-school-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 4px;
    display: block;
    line-height: 1.4;
    opacity: 0.9;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    overflow-y: auto;
}

/* Hide scrollbar for sidebar nav */
.sidebar-nav::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.sidebar-nav a {
    color: #94a3b8;
    text-decoration: none;
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(4px);
}

.sidebar-nav a.active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    font-weight: 700;
    box-shadow: 0 8px 20px -3px rgba(37, 99, 235, 0.4);
}

.mobile-close {
    display: none !important; /* Always hidden on Desktop */
}

#logoutBtn {
    margin-top: auto;
    padding: 0.85rem 1.25rem;
    color: #fca5a5;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.2s;
}

#logoutBtn:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

/* --- Main Content --- */
.main-content {
    margin-left: 280px;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: calc(100% - 280px);
    transition: all 0.3s ease;
}

.sidebar.collapsed + .main-content {
    margin-left: 80px;
    width: calc(100% - 80px);
}

.top-bar {
    height: 72px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

#topBarSchoolName {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.8rem;
    background: #ffffff;
    border-radius: 99px;
    cursor: pointer;
    font-weight: 700;
    position: relative;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.2s;
}

.user-profile:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

#topBarHmName {
    display: none;
}

/* Dropdown Menu (Premium Positioning) */
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-radius: 16px;
    width: 220px;
    border: 1px solid var(--border);
    overflow: hidden;
    z-index: 1000;
    animation: slideDown 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.85rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s;
    border-bottom: 1px solid #f8fafc;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f1f5f9;
    color: var(--primary);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.avatar {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.avatar svg {
    width: 20px;
    height: 20px;
}

/* --- Page Content --- */
.dashboard-area {
    padding: 2.5rem;
}

.welcome-box {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: white;
    padding: 3rem;
    border-radius: var(--radius);
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.1);
}

.welcome-box h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.welcome-box p { font-size: 1.1rem; opacity: 0.8; }

/* --- Calendar (Premium Style) --- */
.calendar-wrapper {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    margin: 0 auto 2rem auto;
    max-width: 450px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
}

.calendar-month-year {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--sidebar-bg);
}

.calendar-nav-btns {
    display: flex;
    gap: 0.5rem;
}

.calendar-btn {
    background: var(--bg-main);
    border: 1px solid var(--border);
    color: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.calendar-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day-head {
    text-align: center;
    font-weight: 800;
    color: var(--text-muted);
    padding-bottom: 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    background: #f8fafc;
    border: 1.5px solid transparent;
}

.calendar-day:hover:not(.other-month) {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.15);
}

.calendar-day.selected {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: white !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.4) !important;
    border-color: transparent !important;
}

.calendar-day.is-holiday {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

.calendar-day.has-entry {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #d1fae5 !important;
}

.calendar-day.other-month {
    opacity: 0;
    pointer-events: none;
}

.calendar-day.today {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    border-radius: 12px 12px 4px 4px;
}

/* --- Calendar Legend --- */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    flex-shrink: 0;
}

.legend-color.holiday { background: #fef2f2; border: 1.5px solid #ef4444; }
.legend-color.pending { background: #f1f5f9; border: 1.5px solid var(--primary); }
.legend-color.completed { background: #ecfdf5; border: 1.5px solid #059669; }

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-xs {
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    border-radius: 8px;
    font-weight: 700;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    line-height: 1;
    border-radius: 10px;
    transition: all 0.2s;
}

.btn-danger {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #fecaca;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

.btn-outline {
    background: white;
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #eff6ff;
}

/* --- Inputs & Buttons --- */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #334155;
    font-size: 0.95rem;
}
.form-group input, 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
    outline: none;
    font-size: 0.98rem;
    color: #1e293b;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.15);
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.97) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* --- Modals (Result App Style) --- */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.setup-box {
    background: white;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Better Mobile --- */
.mobile-toggle {
    display: none;
    background: white;
    padding: 10px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2.5px;
    background: var(--primary);
    margin: 4px 0;
    border-radius: 2px;
}

@media (max-width: 992px) {
    .sidebar { transform: translateX(-300px); width: 280px !important; }
    .sidebar.show { transform: translateX(0); z-index: 2000; }
    .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1999; }
    .sidebar-overlay.show { display: block; }
    .sidebar.show .mobile-close { display: block !important; position: absolute; right: 1.25rem; top: 1.25rem; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }
    .main-content { margin-left: 0 !important; width: 100% !important; }
    .mobile-toggle { display: block; z-index: 101; }
    .top-bar { padding: 0 1rem; height: 64px; }
    .sidebar-collapse-btn { display: none; }
    .dashboard-area { padding: 1.25rem 1rem !important; }
    .card { padding: 1.25rem 1.15rem !important; border-radius: 18px !important; }
}

.hidden { display: none !important; }



/* --- Official Friendly Setup Wizard (Light & Reassuring Theme) --- */
.wizard-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.wizard-card {
    background: #ffffff;
    width: 100%;
    max-width: 760px;
    max-height: 92vh;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Utsaah', 'Hind', serif;
    border: 1px solid #cbd5e1;
}

.wizard-header-bar {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
}

.wizard-header-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wizard-step-indicator {
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
}

.wizard-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.25);
    margin-top: 0.75rem;
    border-radius: 3px;
    overflow: hidden;
}

.wizard-progress-fill {
    height: 100%;
    background: #10b981;
    transition: width 0.3s ease;
}

.wizard-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
}

.wizard-intro-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.wizard-intro-box h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 700;
}

.wizard-intro-box p {
    margin: 0;
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.5;
}

.wizard-step-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 10px 14px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.6rem;
}

.wizard-step-list-item.done {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.wizard-step-list-item.pending {
    background: #fff7ed;
    border-color: #fed7aa;
}

.wizard-footer-bar {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.setup-lock-card {
    background: #fff7ed;
    border: 2px dashed #f97316;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.setup-lock-card h3 {
    color: #c2410c;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.setup-lock-card p {
    color: #9a3412;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.setup-dashboard-banner {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.setup-banner-text h4 {
    margin: 0;
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 700;
}

.setup-banner-text p {
    margin: 4px 0 0 0;
    color: #1e3a8a;
    font-size: 1.05rem;
}

/* ===== MONTHLY BULK TABLE STYLES ===== */
.view-mode-tabs .active-tab {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3) !important;
}

.bulk-monthly-table th {
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 2;
}

.bulk-monthly-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.bulk-monthly-table tr.row-sunday {
    background-color: #fff1f2 !important;
}

.bulk-monthly-table tr.row-holiday {
    background-color: #fff7ed !important;
}

.bulk-monthly-table tr.row-working:hover {
    background-color: #f8fafc;
}

.bulk-input, .bulk-select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1e293b;
    background: white;
    box-sizing: border-box;
    transition: all 0.2s;
}

.bulk-input:focus, .bulk-select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.bulk-input:disabled, .bulk-select:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.bulk-row-check {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ef4444;
}

/* Modern Smooth Scrollbar for Entire App */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Universal Page Titles & Action Headers */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.page-header h2 {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
