/* ============================================
   GLOBAL VARIABLES & THEME
   ============================================ */

:root {
    /* Dark Mode as Default */
    --bg-primary: #0a0e27;
    --bg-secondary: #0f1535;
    --bg-tertiary: #151e3f;
    --text-primary: #e8ecf1;
    --text-secondary: #a0afc0;
    --text-tertiary: #7a8aa0;
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-1: #3b82f6;
    --accent-2: #10b981;
    --accent-3: #f59e0b;
    --danger: #ef4444;
    --success: #10b981;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
    --radius: 12px;
    --transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode */
[data-theme="light"] {
    --bg-primary: #f8fafb;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Readex Pro', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    min-height: 100vh;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.brand-info h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.brand-info .subtitle {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Search */
.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    gap: 8px;
    min-width: 200px;
    transition: var(--transition);
}

.search-wrapper:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: var(--bg-secondary);
}

.search-wrapper:focus-within {
    border-color: var(--accent-1);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    min-width: 120px;
}

.search-input::placeholder {
    color: var(--text-tertiary);
}

.search-icon {
    font-size: 1.1rem;
    color: var(--text-tertiary);
}

/* Theme Button */
.theme-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-family: inherit;
    font-weight: 600;
}

.theme-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-1);
    transform: scale(1.05);
}

.theme-btn:active {
    transform: scale(0.98);
}

/* ============================================
   MAIN CONTAINER
   ============================================ */

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 16px;
}

/* ============================================
   LEGEND SECTION
   ============================================ */

.legend-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ============================================
   STATS GRID
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-1);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 6px;
    font-weight: 500;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================
   TABLE SECTION
   ============================================ */

.table-section {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

/* Table Header */
.schedule-table thead {
    background: linear-gradient(90deg, var(--bg-tertiary), var(--bg-secondary));
    position: sticky;
    top: 0;
    z-index: 100;
}

.schedule-table thead th {
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    white-space: nowrap;
}

.schedule-table thead th:first-child {
    border-right: none;
    text-align: right;
    padding-right: 16px;
    position: sticky;
    right: 0;
    background: linear-gradient(90deg, var(--bg-tertiary), var(--bg-secondary));
    z-index: 101;
}

.schedule-table thead th.today {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    color: var(--accent-1);
    box-shadow: inset 0 -2px 0 var(--accent-1);
    border-left: 3px solid var(--accent-1);
    border-right: 3px solid var(--accent-1);
}

/* Table Body */
.schedule-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.schedule-table tbody tr:hover {
    background: var(--bg-tertiary);
}

.schedule-table tbody tr:last-child {
    border-bottom: none;
}

.schedule-table tbody td {
    padding: 12px;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    border-right: 1px solid var(--border-color);
}

.schedule-table tbody td:first-child {
    position: sticky;
    right: 0;
    background: var(--bg-secondary);
    text-align: right;
    padding-right: 16px;
    font-weight: 700;
    color: var(--text-primary);
    border-right: none;
    z-index: 50;
    min-width: 140px;
    overflow: hidden;
}

.schedule-table tbody tr:hover td:first-child {
    background: var(--bg-tertiary);
}

.schedule-table tbody tr.current-user {
    background: rgba(59, 130, 246, 0.08);
    border-top: 3px solid var(--accent-1);
    border-bottom: 3px solid var(--accent-1);
}

.schedule-table tbody tr.current-user:hover {
    background: rgba(59, 130, 246, 0.12);
}

.schedule-table tbody tr.current-user td:first-child {
    background: var(--bg-secondary);
    border-right: 3px solid var(--accent-1);
    color: var(--accent-1);
    font-weight: 800;
}

.schedule-table tbody tr.current-user td:first-child:hover {
    background: var(--bg-secondary);
    border-right: 3px solid var(--accent-1);
}

.schedule-table tbody td.today {
    background: rgba(59, 130, 246, 0.08);
    border-left: 3px solid var(--accent-1);
    border-right: 3px solid var(--accent-1);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: default;
    position: relative;
    z-index: -1;
}

.badge:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.badge-1 {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.badge-2 {
    background: linear-gradient(135deg, #10b981, #6ee7b7);
}

.badge-3 {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.badge-holiday {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.badge.same-shift {
    box-shadow: 0 0 0 2px var(--bg-secondary), 0 0 0 4px #fbbf24, var(--shadow-md);
}

/* No Data */
.no-data {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-tertiary);
    font-size: 1.1rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(12px);
    animation: revealUp 0.5s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN (Mobile First)
   ============================================ */

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 4px 8px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--accent-1);
}

.theme-btn-mobile {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 4px 8px;
    transition: var(--transition);
}

.theme-btn-mobile:hover {
    color: var(--accent-1);
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 12px;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .mobile-menu-btn {
        display: block;
    }

    .theme-btn-mobile {
        display: block;
    }

    .logo-section {
        min-width: auto;
        flex: 0 0 auto;
    }

    .logo {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .brand-info h1 {
        font-size: 1rem;
    }

    .brand-info .subtitle {
        font-size: 0.75rem;
    }

    .nav-controls {
        display: none;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        position: absolute;
        top: 65px;
        right: 0;
        left: 0;
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-color);
        padding: 12px 12px;
        z-index: 999;
    }

    .nav-controls.mobile-open {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
    }

    .search-wrapper {
        width: 100%;
        min-width: 0;
        padding: 8px 12px;
    }

    .search-input {
        font-size: 0.9rem;
    }

    .theme-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 12px;
    }

    .stat-card {
        padding: 10px;
        gap: 10px;
    }

    .stat-icon {
        font-size: 1.3rem;
        min-width: 35px;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    /* Mobile Menu Button */
    .nav-controls::before {
        content: '';
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: -1;
    }

    .main-container {
        padding: 16px 12px;
    }

    .legend-section {
        gap: 12px;
        padding: 12px 12px;
        margin-bottom: 16px;
    }

    .legend-item {
        font-size: 0.8rem;
        gap: 6px;
    }

    .legend-dot {
        width: 12px;
        height: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 16px;
    }

    .stat-card {
        padding: 12px;
        gap: 12px;
    }

    .stat-icon {
        font-size: 1.5rem;
        min-width: 40px;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .schedule-table {
        min-width: 800px;
        font-size: 0.85rem;
    }

    .schedule-table thead th {
        padding: 10px 6px;
        font-size: 0.75rem;
    }

    .schedule-table thead th:first-child {
        padding-right: 12px;
        min-width: 120px;
    }

    .schedule-table tbody td {
        padding: 10px 6px;
        font-size: 0.8rem;
    }

    .schedule-table tbody td:first-child {
        padding-right: 12px;
        min-width: 120px;
    }

    .badge {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 10px;
        gap: 8px;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        position: relative;
    }

    .logo-section {
        gap: 10px;
        flex: 1;
        min-width: 0;
    }

    .mobile-menu-btn {
        flex-shrink: 0;
        order: 3;
    }

    .logo {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .brand-info h1 {
        font-size: 0.95rem;
    }

    .brand-info .subtitle {
        font-size: 0.7rem;
    }

    .nav-controls {
        width: 100%;
        gap: 8px;
    }

    .search-wrapper {
        flex: 1;
        min-width: 0;
    }

    .main-container {
        padding: 12px 10px;
    }

    .legend-section {
        gap: 8px;
        padding: 10px;
        margin-bottom: 12px;
    }

    .legend-item {
        font-size: 0.75rem;
    }

    .legend-dot {
        width: 11px;
        height: 11px;
    }

    .stats-grid {
        gap: 10px;
        margin-bottom: 12px;
    }

    .stat-card {
        padding: 10px;
        gap: 10px;
    }

    .stat-icon {
        font-size: 1.3rem;
        min-width: 35px;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .schedule-table {
        min-width: 700px;
        font-size: 0.8rem;
    }

    .schedule-table thead th {
        padding: 8px 4px;
        font-size: 0.7rem;
    }

    .schedule-table thead th:first-child {
        padding-right: 10px;
        min-width: 100px;
    }

    .schedule-table tbody td {
        padding: 8px 4px;
        font-size: 0.75rem;
    }

    .schedule-table tbody td:first-child {
        padding-right: 10px;
        min-width: 100px;
    }

    .badge {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .no-data {
        padding: 30px 15px;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .header-content {
        flex-direction: column;
        gap: 8px;
    }

    .logo-section {
        width: 100%;
    }

    .search-wrapper {
        width: 100%;
    }

    .schedule-table {
        min-width: 600px;
    }

    .schedule-table thead th:first-child,
    .schedule-table tbody td:first-child {
        min-width: 90px;
        padding-right: 8px;
    }
}

@media (max-width: 360px) {
    .header-content {
        padding: 0 8px;
        gap: 6px;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
    }

    .logo-section {
        flex: 1;
        min-width: 0;
        gap: 8px;
    }

    .mobile-menu-btn {
        flex-shrink: 0;
        padding: 4px 6px;
        font-size: 1.2rem;
    }

    .logo {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .brand-info h1 {
        font-size: 0.85rem;
    }

    .brand-info .subtitle {
        font-size: 0.65rem;
    }

    .legend-section {
        gap: 6px;
        padding: 8px;
    }

    .legend-item {
        font-size: 0.7rem;
    }

    .legend-dot {
        width: 10px;
        height: 10px;
    }

    .stats-grid {
        gap: 8px;
    }

    .stat-card {
        padding: 8px;
        gap: 8px;
    }

    .stat-icon {
        font-size: 1.2rem;
        min-width: 30px;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .schedule-table {
        min-width: 550px;
    }

    .schedule-table thead th {
        padding: 6px 2px;
        font-size: 0.65rem;
    }

    .schedule-table thead th:first-child {
        min-width: 80px;
        padding-right: 6px;
    }

    .schedule-table tbody td {
        padding: 6px 2px;
        font-size: 0.7rem;
    }

    .schedule-table tbody td:first-child {
        min-width: 80px;
        padding-right: 6px;
    }

    .badge {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
}

/* ============================================
   NAVIGATION LINKS
   ============================================ */

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-1);
    transform: translateY(-2px);
}

.nav-link.active {
    background: var(--accent-1);
    color: white;
    border-color: var(--accent-1);
}

/* ============================================
   SHIFTS PAGE
   ============================================ */

.today-info {
    margin-bottom: 24px;
}

.today-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
}

.today-icon {
    font-size: 2.5rem;
}

.today-text {
    flex: 1;
}

.today-day {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.today-date {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* Shifts Grid */
.shifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.shift-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.shift-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.shift-card.shift-1 {
    border-top: 4px solid #3b82f6;
}

.shift-card.shift-2 {
    border-top: 4px solid #10b981;
}

.shift-card.shift-3 {
    border-top: 4px solid #f59e0b;
}

.shift-header {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.shift-icon {
    font-size: 2rem;
}

.shift-info h2 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.shift-count {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

.shift-body {
    padding: 16px;
    flex: 1;
    min-height: 150px;
}

.employees-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.employee-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
    text-align: center;
}

.employee-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-1);
    transform: scale(1.05);
}

.employee-card.current-user {
    border: 2px solid var(--accent-1);
    background: rgba(59, 130, 246, 0.15);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

.employee-card.current-user:hover {
    border-color: var(--accent-1);
    background: rgba(59, 130, 246, 0.25);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
    transform: scale(1.08);
}

.employee-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.employee-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}

.shift-footer {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-align: center;
}

.shift-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.no-employees {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE - SHIFTS PAGE
   ============================================ */

@media (max-width: 768px) {
    .shifts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .today-card {
        padding: 12px 16px;
    }

    .today-icon {
        font-size: 2rem;
    }

    .shift-header {
        padding: 12px;
    }

    .shift-icon {
        font-size: 1.5rem;
    }

    .shift-info h2 {
        font-size: 1rem;
    }

    .shift-body {
        padding: 12px;
        min-height: 120px;
    }

    .employees-list {
        gap: 10px;
    }

    .employee-card {
        padding: 10px;
    }

    .employee-avatar {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .employee-name {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
    }

    .shifts-grid {
        gap: 12px;
    }

    .today-card {
        flex-direction: column;
        text-align: center;
    }

    .shift-header {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }

    .shift-info h2 {
        font-size: 0.95rem;
    }

    .employees-list {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }

    .shift-body {
        padding: 10px;
    }

    .employee-card {
        padding: 8px;
    }
}

