/* Core Theme Variables */
:root {
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-title: 'Outfit', sans-serif;

    --bg-app: #08060d;
    --bg-gradient: linear-gradient(135deg, #08060d 0%, #120e24 100%);
    --panel-bg: rgba(255, 255, 255, 0.02);
    --panel-border: rgba(255, 255, 255, 0.06);
    --panel-border-glow: rgba(99, 102, 241, 0.2);
    
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #a855f7;
    --secondary-glow: rgba(168, 85, 247, 0.4);
    
    --success: #10b981;
    --danger: #f43f5e;
    
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    --text-inverse: #ffffff;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: var(--bg-gradient);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

/* Layout */
.app-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    padding: 24px;
    gap: 20px;
}

/* Scrollbars */
.scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
    border-radius: 4px;
}
.scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Glassmorphism Panel Utilities */
.glass-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 24px;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.header-logo h1 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.header-logo h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-status {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid var(--panel-border-glow);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Main Layout Grid */
.app-main-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 20px;
    flex: 1;
}

/* Sidebar */
.app-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.count-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* Buttons */
.btn {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 13px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 4px 12px var(--primary-glow);
}
.btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--primary-glow);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-inverse);
    box-shadow: 0 4px 12px var(--secondary-glow);
}
.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--secondary-glow);
}

.btn-danger {
    background: var(--danger);
    color: var(--text-inverse);
}
.btn-danger:hover {
    background: #e11d48;
}

.btn-text {
    background: transparent;
    color: var(--text-muted);
}
.btn-text:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-icon {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}
.btn-icon:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-full {
    width: 100%;
    padding: 10px;
}

/* Forms & Inputs */
.inline-form {
    display: flex;
    gap: 8px;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="time"],
select {
    font-family: var(--font-main);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 8px 12px;
    font-size: 13px;
    transition: all var(--transition-fast);
    outline: none;
    width: 100%;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.2);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.form-group label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Employee list styling */
.employee-list {
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
}

.employee-card {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.employee-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.employee-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.employee-name {
    font-weight: 600;
    font-size: 13px;
}

.employee-actions {
    display: flex;
    gap: 6px;
}

.feed-link-container {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.feed-url-text {
    font-family: monospace;
    font-size: 10px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    user-select: all;
    padding-right: 8px;
}

.btn-copy-url {
    background: var(--primary);
    color: white;
    border: none;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-copy-url.copied {
    background: var(--success);
}

.btn-delete-emp {
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}
.btn-delete-emp:hover {
    color: var(--danger);
}

/* Bulk Scheduler Checkboxes & Selector */
.checkbox-list {
    max-height: 120px;
    overflow-y: auto;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-sm);
    padding: 8px;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    accent-color: var(--primary);
}

.weekday-selector {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.day-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.day-btn input {
    display: none;
}

.day-btn span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.day-btn input:checked + span {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    color: white;
}

/* App Main Content Area */
.app-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.roster-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
}

.roster-navigation h2 {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    min-width: 180px;
    text-align: center;
}

/* Roster Calendar/Timeline View Grid */
.roster-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 2px;
}

.roster-timeline-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(100vh - 190px);
}

.roster-timeline {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.roster-timeline th,
.roster-timeline td {
    border: 1px solid var(--panel-border);
    padding: 12px 8px;
    text-align: center;
    vertical-align: top;
    height: 110px;
}

.roster-timeline th {
    height: 48px;
    background: rgba(255, 255, 255, 0.01);
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.employee-col-header {
    width: 180px;
    min-width: 180px;
    text-align: left !important;
    padding-left: 16px !important;
    position: sticky;
    left: 0;
    background: #0f0b1d !important;
    z-index: 2;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.employee-cell {
    width: 180px;
    min-width: 180px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    padding-left: 16px !important;
    vertical-align: middle !important;
    position: sticky;
    left: 0;
    background: #110d21;
    z-index: 2;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    border-right: 2px solid var(--panel-border) !important;
}

.timeline-day-header.today {
    color: var(--primary);
    font-weight: 800;
}

.timeline-day-header.weekend {
    background: rgba(255, 255, 255, 0.02);
}

.timeline-day-header .day-date {
    font-size: 10px;
    display: block;
    margin-top: 2px;
    font-weight: normal;
    color: var(--text-muted);
}

.roster-timeline td.day-cell {
    min-width: 100px;
}

.roster-timeline td.day-cell.weekend {
    background: rgba(255, 255, 255, 0.015);
}

/* Shift Pill in Calendar cell */
.shift-pills-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
}

.shift-pill {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid var(--panel-border-glow);
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
    animation: slideIn 0.2s ease-out;
}

.shift-pill:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.15);
    transform: translateY(-1px);
}

.shift-pill-title {
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shift-pill-time {
    color: var(--text-muted);
    font-size: 9px;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity var(--transition-smooth);
}

.modal-backdrop.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    width: 480px;
    padding: 24px;
    border-color: rgba(255, 255, 255, 0.12);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-family: var(--font-title);
    font-size: 18px;
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}
.btn-close:hover {
    color: var(--text-primary);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.modal-footer.footer-between {
    justify-content: space-between;
}

.footer-actions {
    display: flex;
    gap: 12px;
}

.readonly-field {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(18, 14, 36, 0.9);
    border: 1px solid var(--panel-border-glow);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 200;
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.3s, transform 0.3s;
    animation: slideUp 0.3s ease-out;
}
.toast.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: modalFadeIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalFadeIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.empty-state {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding: 16px 0;
}

/* Responsive adjustments */
@media(max-width: 1024px) {
    .app-main-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Tabs */
.sidebar-tabs {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-title);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 4px 10px var(--primary-glow);
}

/* Visibility toggling */
.hidden {
    display: none !important;
}

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeIn var(--transition-fast) ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.group-member-tag {
    display: inline-block;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--text-primary);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
    margin-top: 4px;
}

/* Month Calendar View */
.roster-month-wrapper {
    overflow-y: auto;
    max-height: calc(100vh - 190px);
    padding: 16px;
}

.month-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    border-top: 1px solid var(--panel-border);
    border-left: 1px solid var(--panel-border);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.month-day-header {
    text-align: center;
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--panel-border);
    border-bottom: 1px solid var(--panel-border);
}

.month-day-cell {
    background: transparent;
    border-right: 1px solid var(--panel-border);
    border-bottom: 1px solid var(--panel-border);
    min-height: 120px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.month-day-cell:hover {
    background: rgba(255, 255, 255, 0.02);
}

.month-day-cell.other-month {
    background: rgba(255, 255, 255, 0.005);
}

.month-day-cell.other-month .day-number {
    opacity: 0.25;
}

.month-day-cell.today {
    background: rgba(99, 102, 241, 0.03);
}

.month-day-cell .day-number {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.month-day-cell.today .day-number {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-glow);
}

.month-shift-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow-y: auto;
}

.month-shift-pill {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid var(--panel-border-glow);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.month-shift-pill:hover {
    border-color: rgba(168, 85, 247, 0.4);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.2);
    transform: translateY(-0.5px);
}

.month-shift-title {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.month-shift-details {
    color: var(--text-muted);
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

/* Weekly view aggregations styling */
.roster-timeline tr.aggregate-row td {
    background: rgba(99, 102, 241, 0.05) !important;
    border-bottom: 2px solid var(--panel-border) !important;
    font-weight: 700;
    color: var(--primary);
    vertical-align: middle;
    height: 48px;
}

.roster-timeline tr.aggregate-row td.employee-cell {
    background: rgba(99, 102, 241, 0.08) !important;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.total-cell {
    font-weight: 700;
    color: var(--secondary);
    vertical-align: middle !important;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.01);
}

.total-col-header {
    width: 90px;
    min-width: 90px;
}

/* Key Icon & Reset Password Button style */
.btn-reset-pass {
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 12px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.btn-reset-pass:hover {
    color: var(--primary);
}

/* List View Styles */
.roster-list-wrapper {
    overflow-y: auto;
    max-height: calc(100vh - 190px);
    padding: 0;
}

.list-shifts-container {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
}

.list-shift-row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    gap: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.list-shift-row:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(2px);
}

.list-shift-row.past {
    opacity: 0.5;
}

.list-shift-row.first-upcoming {
    border-left: 3px solid var(--primary);
    background: rgba(99, 102, 241, 0.04);
}

.list-shift-date {
    display: flex;
    flex-direction: column;
    width: 80px;
    min-width: 80px;
}

.list-shift-date .weekday {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.list-shift-date .date {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.list-shift-time {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    width: 100px;
    min-width: 100px;
}

.list-shift-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.list-shift-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-shift-members {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-shift-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border: 1px solid var(--panel-border);
}

.list-shift-badge.upcoming {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.view-switcher button.active {
    background: var(--primary) !important;
    color: var(--text-inverse) !important;
    box-shadow: 0 2px 8px var(--primary-glow);
}

/* Tag Pill Badges */
.tag-pill {
    display: inline-block;
    font-family: var(--font-main);
    font-weight: 500;
    line-height: 1.2;
    text-shadow: none;
}

.month-shift-tags .tag-pill {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--text-muted) !important;
}

.shift-pill-tags .tag-pill {
    background: rgba(99, 102, 241, 0.1) !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    color: var(--primary) !important;
}

.list-shift-tags .tag-pill {
    background: rgba(16, 185, 129, 0.08) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    color: var(--secondary) !important;
}

/* Bulk Selection Styles */
.list-shift-checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 12px;
}

.list-shift-checkbox {
    accent-color: var(--primary);
    cursor: pointer;
}

