@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* CRITICAL AUTH STYLES */
.auth-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(circle at center, #1a1f2e, #0b0e14) !important;
    z-index: 10000 !important;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    backdrop-filter: blur(20px) !important;
}

.auth-card {
    background: rgba(21, 25, 33, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 50px !important;
    border-radius: 24px !important;
    width: 480px !important;
    max-width: 90% !important;
    text-align: center !important;
    display: none;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5) !important;
    transform: scale(0.95) !important;
    transition: all 0.3s ease !important;
    flex-direction: column !important;
}

.auth-card.active {
    display: flex !important;
    transform: scale(1) !important;
    animation: fadeInScale 0.4s ease-out !important;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Password Eye Toggle */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 45px !important;
}

.eye-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
    user-select: none;
    z-index: 1000 !important;
    pointer-events: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
}

.eye-toggle:hover {
    color: var(--accent);
}

.eye-toggle::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--bg-dark);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    margin-bottom: 5px;
}

.eye-toggle:hover::after {
    opacity: 1;
}

.auth-card h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
    background: var(--primary-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.auth-card p {
    color: var(--text-muted) !important;
    margin-bottom: 30px !important;
    font-size: 0.95rem !important;
}

.auth-card .form-group {
    margin-bottom: 15px !important;
    width: 100% !important;
}

.auth-card input {
    width: 100% !important;
    padding: 14px !important;
    font-size: 0.95rem !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: #fff !important;
}

.full-width {
    width: 100% !important;
    padding: 14px !important;
    font-size: 1rem !important;
    margin-top: 10px !important;
}

.auth-switch {
    margin-top: 25px !important;
    font-size: 0.9rem !important;
}

.auth-switch span {
    color: var(--accent) !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}

.auth-switch span:hover {
    text-decoration: underline !important;
}

/* =========================================
   REFERENCE STYLES (Restored from GitHub)
   ========================================= */

:root {
    --primary: #2C83EE;
    --success: #4CAF50;
    --background: #0F1115;
    --surface: #1A1D23;
    --text: #E1E1E1;
    --border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    overflow: hidden;
}

.app-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.app-header {
    background: var(--surface);
    padding: 15px 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.home-btn {
    text-decoration: none;
    font-size: 1.5rem;
    margin-right: 15px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
}

.header-left {
    display: flex;
    align-items: center;
}

.header-left h1 {
    font-size: 1.5rem;
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #1A56A3;
    transform: translateY(-1px);
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.zoom-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
    font-size: 0.8rem;
    color: #888;
}

.zoom-controls input[type="range"] {
    width: 100px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Main Layout */
.main-content {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--border);
}

/* Sidebar Spreadsheet Layout */
.sidebar {
    width: 600px;
    min-width: 300px;
    max-width: 800px;
    background: var(--surface);
    overflow-y: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Sidebar Table Header */
.sidebar-header-row {
    background: #121418;
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar-header-row .col-header {
    padding: 10px 8px;
    border-right: 1px solid var(--border);
    text-align: left;
    position: relative;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.col-resizer {
    position: absolute;
    right: 0;
    top: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    transition: background 0.2s;
    z-index: 1;
}

.col-resizer:hover {
    background: var(--primary);
}

/* Sidebar List */
.task-list {
    display: flex;
    flex-direction: column;
}

.task-item {
    display: grid;
    grid-template-columns: 1fr 100px 100px 100px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.82rem;
    min-height: 35px;
}

.col-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.col-del-btn {
    background: none;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0 4px;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.col-del-btn:hover {
    opacity: 1;
}

.col-header-add {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 131, 238, 0.1);
    color: var(--primary);
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    border-left: 1px solid var(--border);
    transition: background 0.2s;
}

.col-header-add:hover {
    background: rgba(44, 131, 238, 0.2);
}

.col-header[draggable="true"]:hover {
    background: rgba(255, 255, 255, 0.05);
    cursor: grab;
}

.task-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.task-item>div {
    padding: 8px 10px;
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
}

/* Specific Cells */
.task-item .cell-name {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-item .cell-date {
    justify-content: center;
    font-size: 0.75rem;
    color: #888;
}

.task-item .cell-days {
    justify-content: center;
    font-weight: 600;
    color: var(--success);
}

/* Parent Styling */
.task-item.is-parent {
    background: rgba(44, 131, 238, 0.05);
}

.task-item.is-parent .cell-name {
    font-weight: 700;
    color: #fff;
}

.task-item.is-parent .cell-days {
    color: var(--primary);
}

.task-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    color: #888;
    border: 1px solid #444;
    border-radius: 2px;
    font-size: 0.6rem;
}

.task-item-name {
    flex: 1;
    font-weight: 600;
    font-size: 0.9rem;
}

.task-item-dates {
    width: 100%;
    padding-left: 28px;
    font-size: 0.75rem;
    color: #888;
    margin-top: 4px;
}

.task-item.subtask {
    margin-left: 20px;
    border-left: 3px solid #2C83EEAA;
    font-size: 0.85rem;
}

.task-item.subtask .task-item-name {
    font-weight: 400;
}

/* Drag Visuals */
.task-item.drag-source {
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.05);
}

.task-item.drag-over-target {
    background: rgba(44, 131, 238, 0.2);
    border: 1px dashed var(--primary);
}

/* Gantt Chart */
.gantt-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--background);
}

.gantt-header {
    height: 100px;
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 20;
}

/* 4-Tier Header Segments */
.header-tier {
    display: flex;
    height: 25px;
    border-bottom: 1px solid var(--border);
}

.header-tier.year {
    background: #000;
    font-size: 0.8rem;
    font-weight: 800;
}

.header-tier.month {
    background: #111;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.header-tier.date {
    background: #1a1d23;
    font-size: 0.7rem;
}

.header-tier.day {
    background: #1a1d23;
    font-size: 0.65rem;
    color: #888;
}

.header-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    flex-shrink: 0;
    overflow: hidden;
    white-space: nowrap;
}

.gantt-body {
    flex: 1;
    position: relative;
    overflow-x: scroll;
    overflow-y: auto;
}

/* Custom Horizontal Scrollbar */
.gantt-body::-webkit-scrollbar {
    height: 12px;
}

.gantt-body::-webkit-scrollbar-track {
    background: #1a1d23;
    border-top: 1px solid var(--border);
}

.gantt-body::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 6px;
    border: 3px solid #1a1d23;
}

.gantt-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Holiday Grid Stripe - Professional Hatched Overlay */
.grid-stripe.holiday {
    position: absolute;
    top: 0;
    height: 10000px;
    background: repeating-linear-gradient(-45deg,
            rgba(255, 77, 77, 0.03),
            rgba(255, 77, 77, 0.03) 5px,
            rgba(255, 77, 77, 0.08) 5px,
            rgba(255, 77, 77, 0.08) 10px);
    border-right: 1px solid rgba(255, 77, 77, 0.15);
    z-index: 6;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.gantt-row {
    height: 60px;
    position: relative;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
}

.day-column {
    height: 100%;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    flex-shrink: 0;
}

.day-column.weekend {
    background: rgba(255, 255, 255, 0.02);
}

.day-column .month-group {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.day-number {
    font-size: 0.9rem;
    font-weight: 600;
}

.day-month {
    font-size: 0.7rem;
    color: #666;
}

/* Hide text when too small */
.day-column.compact .day-number,
.day-column.compact .day-month {
    display: none;
}

.day-column.compact:nth-child(5n) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Plan Bar (Baseline - Top Half) */
.task-bar.plan-bar {
    position: absolute;
    height: 18px;
    top: 8px;
    background: rgba(44, 131, 238, 0.1);
    border: 2px dashed rgba(44, 131, 238, 0.5);
    border-radius: 4px;
    cursor: move;
    z-index: 3;
    display: flex;
    align-items: center;
}

.task-bar.plan-bar:hover {
    border-color: var(--primary);
    background: rgba(44, 131, 238, 0.2);
}

/* Actual Bar (Live - Bottom Half) */
.task-bar.actual-bar {
    position: absolute;
    height: 22px;
    top: 30px;
    background: linear-gradient(90deg, var(--success), #2e7d32);
    border-radius: 11px;
    cursor: move;
    user-select: none;
    display: flex;
    align-items: center;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.task-bar.actual-bar:hover {
    box-shadow: 0 4px 12px rgba(44, 131, 238, 0.4);
    transform: translateY(-1px);
}

.task-bar.dragging {
    opacity: 0.8;
    cursor: grabbing;
    z-index: 100;
}

.task-label {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    pointer-events: none;
    padding: 0 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resize-handle {
    position: absolute;
    top: 0;
    width: 6px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    cursor: ew-resize;
    z-index: 10;
}

.resize-handle.left {
    left: 0;
    border-radius: 4px 0 0 4px;
}

.resize-handle.right {
    right: 0;
    border-radius: 0 4px 4px 0;
}

.task-bar.actual-bar .resize-handle {
    width: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0 15px 15px 0;
}

.task-bar.actual-bar .resize-handle.left {
    border-radius: 15px 0 0 15px;
}

.task-bar.actual-bar .resize-handle.right {
    border-radius: 0 15px 15px 0;
}

.resize-handle:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Live Tooltip */
.tooltip {
    position: fixed;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    pointer-events: none;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Today Marker */
.today-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ff4d4d;
    z-index: 100;
    pointer-events: none;
}

.today-marker::after {
    content: 'Today';
    position: absolute;
    top: 0;
    left: 4px;
    background: #ff4d4d;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--surface);
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.2rem;
}

.close-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    background: var(--background);
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 6px;
    color: white;
    font-family: inherit;
}

.form-section {
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--primary);
    border-radius: 0 6px 6px 0;
}

.form-section h4 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mt-15 {
    margin-top: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.modal-footer {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-right {
    display: flex;
    gap: 10px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-danger {
    background: #ff4d4d22;
    color: #ff4d4d;
    border: 1px solid #ff4d4d44;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.btn-danger:hover {
    background: #ff4d4d;
    color: white;
}

.btn-secondary.small,
.btn-primary.small,
.btn-danger.small {
    padding: 5px 10px;
    font-size: 0.8rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Settings Table */
.settings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.85rem;
}

.settings-table th,
.settings-table td {
    padding: 10px;
    border: 1px solid var(--border);
    text-align: left;
}

.settings-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.settings-table input[type="text"],
.settings-table input[type="number"] {
    background: #1a1d23;
    border: 1px solid var(--border);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    width: 100%;
}

/* Work Week Picker */
.work-week-picker {
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.day-check {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    cursor: pointer;
    color: #888;
}

.day-check input {
    margin-bottom: 5px;
}

.day-check:hover {
    color: var(--text);
}

/* Holiday Table */
.holiday-table-container {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
}

.holiday-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.holiday-table th {
    text-align: left;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
}

.holiday-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.holiday-table input {
    background: transparent !important;
    border: none !important;
    padding: 4px !important;
    width: 100%;
    color: var(--text);
}

.holiday-table input:focus {
    background: rgba(255, 255, 255, 0.05) !important;
}

.holiday-table .btn-text {
    color: #ff4d4d;
    font-size: 0.8rem;
}

/* Settings Tabs */
.modal-content.large {
    max-width: 800px;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

.settings-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.settings-nav {
    width: 200px;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid var(--border);
    padding: 20px;
}

.settings-nav h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.tab-list {
    list-style: none;
}

.tab-item {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 6px;
    margin-bottom: 5px;
    color: #888;
    transition: all 0.2s;
}

.tab-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.tab-item.active {
    background: var(--primary);
    color: white;
}

.settings-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.calendar-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.calendar-controls select {
    flex: 1;
    padding: 8px;
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 4px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-10 {
    margin-top: 10px;
}

textarea {
    width: 100%;
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
    resize: vertical;
}

/* Resource List */
.resource-input-group {
    display: flex;
    gap: 10px;
}

.resource-input-group input,
.resource-input-group select {
    flex: 1;
    padding: 8px;
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 4px;
}

.resource-list {
    border: 1px solid var(--border);
    border-radius: 6px;
    max-height: 300px;
    overflow-y: auto;
}

.resource-item {
    padding: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resource-item:last-child {
    border-bottom: none;
}

/* Holidays */
.day-column.holiday {
    background: rgba(255, 77, 77, 0.1);
}

.grid-stripe.holiday {
    background: rgba(255, 77, 77, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* Settings Modal */
.holiday-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.holiday-input-group input {
    flex: 1;
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px;
    border-radius: 4px;
}

.holiday-list {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.holiday-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.holiday-item:last-child {
    border-bottom: none;
}

.btn-text {
    background: none;
    border: none;
    color: #ff4d4d;
    font-size: 0.8rem;
    cursor: pointer;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Duration Inputs */
.duration-input-group {
    display: flex;
    gap: 5px;
}

.duration-input-group input {
    width: 60px;
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px;
    border-radius: 4px;
}

.duration-input-group select {
    flex: 1;
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 4px;
    padding: 0 10px;
}

.form-group.half {
    width: 48%;
}

.form-row {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}