/* --- BASE --- */
body { background-color: #f8f9fa; color: #2d3436; font-family: 'Inter', system-ui, -apple-system, sans-serif; }

/* CARDS, CONTAINERS --- */
.filter-card, .table-container, .form-card, .shift-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 2rem;
}

.table-container { padding: 20px; }

/* --- HEADERS, PANELS --- */
.card-header-custom {
    background-color: #f8fbff;
    border-bottom: 1px solid #eef2f7;
    padding: 1.5rem 2rem;
}

.settings-panel, .adjustment-panel {
    background-color: #fcfdfe;
    border-right: 1px solid #edf2f7;
    padding: 2rem;
}

/* --- BADGES, STATUS --- */
.badge-submitted { background-color: #d1e7dd; color: #0a3622; border: 1px solid #a3cfbb; }
.badge-pending { background-color: #f8f9fa; color: #6c757d; border: 1px solid #dee2e6; }
.role-badge { background-color: #f8f9fa; color: #495057; border: 1px solid #dee2e6; font-size: 0.8rem; }
.duration-badge { background-color: #e7f1ff; color: #0a58ca; border: 1px solid #cfe2ff; }

/* --- FORMS, BUTTONS --- */
.form-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: #636e72; margin-bottom: 0.5rem; }
.form-control { border: 2px solid #eef2f7; border-radius: 8px; padding: 0.6rem 1rem; }
.form-control:focus { border-color: #0d6efd; box-shadow: none; }
.btn-pill { border-radius: 50px; padding: 0.6rem 2rem; font-weight: 600; }

/* --- TABLES --- */
.table thead th {
    background-color: #f8f9fa;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #636e72;
    padding: 1rem;
}
.employee-row-selected { background-color: #f8fbff !important; }
.cursor-pointer { cursor: pointer; }


.my-shift-row {
    background-color: #f0fff4 !important;
    border-left: 4px solid #198754;
}

/* --- USER GUIDE --- */
.guide-wrapper { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; }
.guide-sidebar { position: sticky; top: 90px; height: fit-content; }
.guide-content-area { background: white; border-radius: 1.25rem; padding: 3.5rem; }
.guide-nav-link {
    display: flex; align-items: center; padding: 0.7rem 1rem; color: #64748b;
    text-decoration: none; border-radius: 0.75rem; transition: all 0.2s; font-weight: 500;
}
.guide-nav-link:hover { background: #f1f5f9; color: #2563eb; }
.guide-nav-link i { margin-right: 12px; font-size: 1.1rem; }
.nav-path-badge {
    background: #f8fafc; border: 1px solid #e2e8f0; color: #2563eb;
    padding: 2px 8px; border-radius: 6px; font-family: ui-monospace, monospace; font-size: 0.85rem;
}
.guide-section { scroll-margin-top: 100px; margin-bottom: 4rem; }
.guide-section h2 { border-bottom: 1px solid #f1f5f9; padding-bottom: 1rem; }
.alert-note { border-left: 4px solid #2563eb; background: #f0f7ff; color: #1e40af; }

/* --- DASHBOARD --- */
.dash-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    border-radius: 1.25rem;
    background: white;
    padding: 1.5rem;
}

.dash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
    border-color: #2563eb;
}

.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f3f4f6;
    color: #2563eb;
    font-size: 1.5rem;
    transition: all 0.2s ease;
}

.dash-card:hover .icon-box {
    background: #2563eb;
    color: white;
}

.table-dashboard {
    border-radius: 1.25rem;
    overflow: hidden;
}

.badge-time {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

.bg-soft-warning { background-color: #fffbeb; color: #92400e; }
.bg-soft-danger { background-color: #fef2f2; color: #991b1b; }
.bg-soft-success { background-color: #f0fdf4; color: #166534; }

.stat-card {
    border-radius: 1.25rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
}
.stat-value { font-size: 1.75rem; font-weight: 700; letter-spacing: -1px; }