/* =========================================================================
   PHÂN HỆ LỊCH CÔNG TÁC TUẦN (WEEKLY SCHEDULE MATRIX MODULE)
   ========================================================================= */

.schedule-page-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    min-height: calc(100vh - 65px);
    box-sizing: border-box;
}

/* 1. THANH ĐIỀU HƯỚNG VÀ CÔNG CỤ TUẦN (ĐỘC LẬP, KHÔNG ĐÈ LÊN BẢNG) */
.schedule-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.schedule-nav-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.schedule-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.schedule-nav-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.schedule-nav-btn.btn-today {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #0369a1;
    font-weight: 700;
}

.schedule-nav-btn.btn-today:hover {
    background: #e0f2fe;
    border-color: #0284c7;
}

.schedule-nav-btn.btn-export-excel {
    background: linear-gradient(135deg, #107c41, #0b5e31);
    border-color: #0b5e31;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(16, 124, 65, 0.25);
    transition: all 0.2s ease;
}

.schedule-nav-btn.btn-export-excel svg {
    stroke: #ffffff;
}

.schedule-nav-btn.btn-export-excel:hover {
    background: linear-gradient(135deg, #15803d, #0369a1);
    border-color: #14532d;
    color: #ffffff;
    box-shadow: 0 3px 6px rgba(16, 124, 65, 0.35);
    transform: translateY(-1px);
}

.schedule-week-title-box {
    display: flex;
    flex-direction: column;
}

.schedule-week-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-week-subtitle {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.schedule-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-schedule-create {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-schedule-create:hover {
    background: linear-gradient(135deg, #0369a1 0%, #065f46 100%);
    box-shadow: 0 5px 14px rgba(5, 150, 105, 0.35);
    transform: translateY(-1px);
}

/* 2. KHUNG CHỨA BẢNG MA TRẬN LỊCH TUẦN (RỘNG RÃI, THOÁNG ĐÃNG) */
.schedule-matrix-wrapper {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.schedule-matrix-table {
    width: 100%;
    min-width: 1350px;
    border-collapse: collapse;
    table-layout: fixed;
}

/* 1. Tiêu đề cột (Header) - RÕ RÀNG, KHÔNG BỊ ĐÈ CHỒNG */
.schedule-matrix-table thead th {
    background: #f8fafc;
    border-bottom: 2px solid #cbd5e1;
    border-right: 1px solid #e2e8f0;
    padding: 12px 10px;
    text-align: center;
}

/* Cột đầu tiên: Thành viên */
.schedule-matrix-table thead th.schedule-header-member-col {
    width: 210px;
    min-width: 210px;
    background: #edf2f7;
    border-right: 2px solid #cbd5e1;
    font-weight: 800;
    color: #334155;
    font-size: 13px;
    text-transform: uppercase;
}

/* 7 Cột ngày (Thứ Hai -> Chủ Nhật) */
.schedule-header-day {
    min-width: 150px;
    transition: background 0.15s ease;
}

.schedule-header-day.is-today-col {
    background: #f0f9ff !important;
    border-top: 3px solid #0284c7;
}

.schedule-header-day-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.schedule-day-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.schedule-header-day.is-today-col .schedule-day-title {
    color: #0369a1;
}

.schedule-day-subtitle {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.schedule-today-badge {
    margin-top: 4px;
    display: inline-block;
    padding: 1px 7px;
    background: #0284c7;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

/* 2. Thân bảng: Từng hàng Thành viên */
.schedule-matrix-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.12s ease;
}

.schedule-matrix-table tbody tr:hover {
    background: rgba(248, 250, 252, 0.7);
}

/* Ô Thành viên (Cột cố định bên trái) */
.schedule-member-col {
    background: #f8fafc;
    border-right: 2px solid #cbd5e1;
    padding: 12px 14px;
    vertical-align: top;
}

.schedule-matrix-table tbody tr:hover .schedule-member-col {
    background: #f1f5f9;
}

.schedule-member-cell-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.25);
}

.schedule-member-avatar.role-truong {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.schedule-member-avatar.role-pho {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.schedule-member-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.schedule-member-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
}

.schedule-member-role-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 10.5px;
    padding: 1px 7px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #475569;
    font-weight: 600;
}

.schedule-member-role-badge.role-truong {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
}

.schedule-member-role-badge.role-pho {
    background: #ffedd5;
    color: #c2410c;
    font-weight: 700;
}

/* Các ô ngày trong tuần: RỘNG RÃI, THOÁNG ĐÃNG, KHÔNG CUỘN LỒNG NHAU */
.schedule-cell {
    border-right: 1px solid #e2e8f0;
    padding: 8px;
    vertical-align: top;
    min-height: 80px;
    background: #ffffff;
    transition: background 0.15s ease;
}

.schedule-cell.is-today-cell {
    background: #fbfdfc;
}

.schedule-cell-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 60px;
}

.schedule-cell-empty {
    height: 100%;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 700;
    border: 1px dashed transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.schedule-cell-empty:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0284c7;
}

/* 3. THẺ NHIỆM VỤ / CÔNG TÁC (TASK CARDS) */
.schedule-task-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 6px 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-left: 3px solid #3b82f6;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    text-align: left;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}

.schedule-task-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* Thẻ nhiệm vụ là văn bản điều hành */
.schedule-task-card.type-directive {
    border-left-color: #8b5cf6;
    background: #fdfaff;
}

.schedule-task-card.type-directive:hover {
    border-color: #8b5cf6;
}

/* Thẻ có độ ưu tiên khẩn / trọng tâm */
.schedule-task-card.priority-urgent {
    border-left-color: #ef4444;
    background: #fffafa;
}

.schedule-task-card.priority-focus {
    border-left-color: #f59e0b;
    background: #fffdfa;
}

.schedule-task-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.schedule-task-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    background: #e0f2fe;
    color: #0369a1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.schedule-task-tag.tag-directive {
    background: #ede9fe;
    color: #6d28d9;
}

.schedule-task-tag.tag-urgent {
    background: #fee2e2;
    color: #b91c1c;
}

.schedule-task-tag.tag-focus {
    background: #fef3c7;
    color: #b45309;
}

.schedule-task-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.schedule-task-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-top: 2px;
    padding-top: 3px;
    border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

.schedule-task-role-hint {
    font-size: 10px;
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schedule-task-time {
    font-size: 9.5px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 1.5px 5.5px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

/* Khi là ngày hạn chót kết thúc */
.schedule-task-time.time-deadline {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-weight: 800;
}

/* Khi là ngày bắt đầu */
.schedule-task-time.time-start {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

/* Khi là các ngày ở giữa trong tiến độ */
.schedule-task-time.time-ongoing {
    background: #f8fafc;
    color: #64748b;
    border: 1px dashed #cbd5e1;
}

/* 4. MODAL XEM CHI TIẾT CÔNG VIỆC */
.schedule-detail-row {
    display: flex;
    margin-bottom: 10px;
    font-size: 13px;
}

.schedule-detail-label {
    width: 140px;
    font-weight: 700;
    color: #64748b;
    flex-shrink: 0;
}

.schedule-detail-value {
    color: #0f172a;
    font-weight: 500;
    flex: 1;
}

/* =========================================================================
   5. BỘ CHUYỂN ĐỔI GÓC NHÌN & TỔNG QUAN TUẦN CỦA ĐỘI (VIEW SWITCHER & OVERVIEW)
   ========================================================================= */

/* Bộ nút chuyển góc nhìn trên thanh công cụ */
.schedule-view-switcher {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.schedule-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.schedule-view-btn:hover {
    color: #0f172a;
}

.schedule-view-btn.active {
    background: #ffffff;
    color: #0284c7;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Khung chứa Tổng quan Tuần Đội */
.schedule-team-overview-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Thanh KPI tóm lược tuần */
.schedule-kpi-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.schedule-kpi-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.kpi-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kpi-icon-box.bg-blue { background: #eff6ff; }
.kpi-icon-box.bg-red { background: #fef2f2; }
.kpi-icon-box.bg-purple { background: #f5f3ff; }
.kpi-icon-box.bg-green { background: #f0f9ff; }

.kpi-info {
    display: flex;
    flex-direction: column;
}

.kpi-val {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.kpi-lbl {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* Lưới 7 ngày trong tuần */
.schedule-week-columns-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(220px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    align-items: stretch;
}

.schedule-overview-day-column {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    min-height: 450px;
    min-width: 0; /* BẮT BUỘC: Ngăn nội dung nhiệm vụ làm phình cột khiến các ngày bị lệch nhau */
    width: 100%;
}

.schedule-overview-day-column.is-today-col {
    border-color: #0284c7;
    border-width: 2px;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.18);
}

/* Header ngày (Có thể click để mở xem toàn diện) */
.schedule-overview-day-header {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 82px; /* Chuẩn hóa header của cả 7 ngày có cùng độ cao và thẳng hàng tuyệt đối */
}

.schedule-overview-day-header:hover {
    background: #e6fffa;
    border-bottom-color: #0284c7;
}

.schedule-overview-day-column.is-today-col .schedule-overview-day-header {
    background: #f0f9ff;
    border-bottom-color: #bae6fd;
}

.day-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.day-header-name {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}

.day-header-today-badge {
    font-size: 9.5px;
    font-weight: 800;
    background: #0284c7;
    color: #ffffff;
    padding: 1px 6px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.day-header-date {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-top: 1px;
    white-space: nowrap;
}

.day-header-summary {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: nowrap;
}

.day-task-count-badge {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    background: #e2e8f0;
    padding: 2px 7px;
    border-radius: 8px;
    white-space: nowrap; /* Tuyệt đối không ngắt dòng 0 nhiệm / vụ */
    flex-shrink: 0;
}

.day-task-count-badge.has-tasks {
    background: #dbeafe;
    color: #1e40af;
}

.day-view-link {
    font-size: 11px;
    font-weight: 700;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap; /* Tuyệt đối không ngắt dòng chữ Chi tiết */
    flex-shrink: 0;
}

/* Thân cột ngày */
.schedule-overview-day-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    background: #fafafa;
    min-width: 0;
}

.schedule-day-empty-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 160px;
    color: #94a3b8;
    font-size: 12px;
    font-style: italic;
}

/* Thẻ sự kiện trong cột ngày */
.schedule-overview-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.schedule-overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.schedule-overview-card.type-directive {
    border-left-color: #8b5cf6;
    background: #faf5ff;
}

.schedule-overview-card.priority-urgent {
    border-left-color: #ef4444;
    background: #fff5f5;
}

.schedule-overview-card.priority-focus {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.schedule-overview-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    min-width: 0;
}

.schedule-overview-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    background: #e2e8f0;
    color: #334155;
    white-space: nowrap;
    flex-shrink: 0;
}

.schedule-overview-tag.tag-directive { background: #ede9fe; color: #6d28d9; }
.schedule-overview-tag.tag-urgent { background: #fee2e2; color: #b91c1c; }
.schedule-overview-tag.tag-focus { background: #fef3c7; color: #b45309; }

.schedule-overview-time {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.schedule-overview-card-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
}

.schedule-overview-card-loc {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
    word-break: break-word;
}

.schedule-overview-card-personnel {
    font-size: 11px;
    color: #334155;
    background: #f8fafc;
    border-radius: 6px;
    padding: 4px 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    word-break: break-word;
}

.personnel-main { color: #0369a1; }
.personnel-co { color: #475569; }

/* Tiêu đề cột ngày trong ma trận có thể click */
.schedule-header-day-clickable {
    cursor: pointer;
    transition: background 0.15s ease;
}

.schedule-header-day-clickable:hover {
    background: #f0f9ff !important;
}

.schedule-header-hint-icon {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    color: #0284c7;
    font-weight: 700;
}

/* =========================================================================
   6. MODAL XEM CHI TIẾT TỔNG QUAN THEO THỨ (DAILY DEEP-DIVE MODAL)
   ========================================================================= */

.day-detail-modal-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 75vh;
    overflow-y: auto;
    padding-right: 4px;
}

.day-summary-banner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
}

.day-summary-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.metric-num {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.metric-lbl {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
}

.text-blue { color: #2563eb; }
.text-orange { color: #ea580c; }
.text-green { color: #0284c7; }

.day-section-box {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    background: #ffffff;
}

.day-section-title {
    margin: 0 0 12px 0;
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.day-tasks-list-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.day-detail-task-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.day-detail-task-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.task-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.task-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.task-title-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.task-name {
    font-size: 13.5px;
    color: #0f172a;
}

.task-meta-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11.5px;
    color: #64748b;
}

.task-assignees-line {
    font-size: 11.5px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.day-personnel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.day-personnel-column {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.personnel-col-header {
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 800;
}

.personnel-col-header.busy-header {
    background: #fff7ed;
    color: #c2410c;
    border-bottom: 2px solid #fdba74;
}

.personnel-col-header.idle-header {
    background: #f0f9ff;
    color: #0369a1;
    border-bottom: 2px solid #bae6fd;
}

.personnel-cards-list {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
}

.personnel-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.personnel-card.idle-card {
    background: #fbfdfc;
    border-color: #e0f2fe;
}

.personnel-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #3b82f6;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.personnel-avatar.idle-avatar {
    background: #10b981;
}

.personnel-info {
    flex: 1;
    min-width: 0;
}

.personnel-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-role {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    background: #e2e8f0;
    padding: 1px 6px;
    border-radius: 6px;
}

.personnel-tasks-sub {
    font-size: 11px;
    color: #475569;
    margin-top: 2px;
    line-height: 1.3;
}

.personnel-status-text {
    font-size: 11px;
    color: #0284c7;
    font-weight: 600;
    margin-top: 2px;
}

.btn-quick-assign {
    padding: 4px 10px;
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.btn-quick-assign:hover {
    background: #0369a1;
    transform: scale(1.02);
}

.day-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

/* =========================================================================
   HỆ THỐNG TỰ ĐỘNG THÍCH ỨNG ĐA THIẾT BỊ (RESPONSIVE AUTO DESIGN)
   ========================================================================= */

/* 1. Màn hình Laptop tiêu chuẩn (Dưới 1200px) */
@media (max-width: 1200px) {
    .schedule-matrix-table {
        min-width: 1050px;
    }
    .schedule-matrix-table thead th.schedule-header-member-col {
        width: 170px;
        min-width: 170px;
    }
    .schedule-header-day {
        min-width: 125px;
    }
    .schedule-cell-inner {
        max-height: 200px;
    }
}

/* 2. Màn hình Tablet & Laptop nhỏ (Dưới 992px) */
@media (max-width: 992px) {
    .schedule-page-container {
        padding: 10px;
        gap: 10px;
    }
    .schedule-toolbar {
        padding: 8px 12px;
        gap: 8px;
    }
    .schedule-week-title {
        font-size: 15px;
    }
    .schedule-week-subtitle {
        display: none; /* Ẩn phụ đề để thanh công cụ không bị chật */
    }
    .schedule-matrix-wrapper {
        max-height: calc(100vh - 165px);
    }
    .day-personnel-grid {
        grid-template-columns: 1fr; /* Modal ngày: 2 cột chuyển thành 1 cột */
    }
}

/* 3. Màn hình Di động & Tablet dọc (Dưới 768px) */
@media (max-width: 768px) {
    .schedule-page-container {
        padding: 8px;
        gap: 8px;
    }

    .schedule-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        position: relative; /* Trên mobile không chiếm chỗ sticky lớn */
    }

    .schedule-nav-group {
        justify-content: space-between;
        width: 100%;
    }

    .schedule-week-title-box {
        text-align: center;
        align-items: center;
        padding: 4px 0;
    }

    .schedule-view-switcher {
        width: 100%;
        display: flex;
    }

    .schedule-view-btn {
        flex: 1;
        text-align: center;
        padding: 8px 4px;
        min-height: 38px;
        font-size: 12px;
        touch-action: manipulation;
    }

    .schedule-actions-group {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 6px;
    }

    .schedule-actions-group button {
        flex: 1;
        min-width: 110px;
        min-height: 40px;
        padding: 8px 10px;
        font-size: 12.5px;
        justify-content: center;
        touch-action: manipulation;
    }

    .btn-schedule-create {
        width: 100%;
        min-height: 42px;
        justify-content: center;
        touch-action: manipulation;
    }

    /* Ma trận trên mobile: Cột thành viên nhỏ gọn */
    .schedule-matrix-table {
        min-width: 950px;
    }
    .schedule-matrix-table thead th.schedule-header-member-col {
        width: 140px;
        min-width: 140px;
        font-size: 11.5px;
        padding: 8px 6px;
    }
    .schedule-member-col {
        padding: 8px 6px;
    }
    .schedule-member-avatar {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .schedule-member-name {
        font-size: 12px;
    }
    .schedule-member-role-badge {
        font-size: 9px;
        padding: 1px 4px;
    }

    /* Góc nhìn Tuần Đội trên mobile */
    .schedule-week-columns-grid,
    .schedule-team-week-grid {
        grid-template-columns: 1fr; /* Xếp dọc 7 ngày theo dòng thời gian */
        gap: 12px;
        overflow-x: visible;
    }
    .schedule-overview-day-column,
    .schedule-day-column {
        min-height: auto;
    }
    .schedule-overview-day-column .schedule-day-empty-box {
        height: 60px;
        gap: 4px;
    }

    /* Modal xem chi tiết ngày */
    .day-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .day-modal-footer button {
        width: 100%;
        justify-content: center;
    }

    /* MODAL CHI TIẾT NHIỆM VỤ TỰ ĐỘNG CHUYỂN THÀNH DẠNG THẺ (CARD VIEW) TRÊN MOBILE */
    .schedule-detail-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 3px !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
        border-bottom: 1px dashed #e2e8f0 !important;
    }

    .schedule-detail-row:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .schedule-detail-label {
        width: 100% !important;
        font-size: 11.5px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        color: #64748b !important;
    }

    .schedule-detail-value {
        width: 100% !important;
        font-size: 14px !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    .schedule-detail-footer-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }

    .schedule-detail-footer-right {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        gap: 8px !important;
        justify-content: stretch !important;
    }

    .schedule-detail-footer-right .btn {
        flex: 1 1 calc(50% - 4px) !important;
        min-height: 42px !important;
        justify-content: center !important;
        font-size: 13px !important;
        padding: 8px 6px !important;
        text-align: center !important;
        touch-action: manipulation;
    }

    .schedule-detail-footer-left {
        width: 100% !important;
    }

    .schedule-detail-footer-left .btn {
        width: 100% !important;
        min-height: 42px !important;
        justify-content: center !important;
        touch-action: manipulation;
    }
} /* Đóng @media (max-width: 768px) */

/* ==========================================================================
   5. THIẾT KẾ TỈ MỈ: MODAL GIAO VIỆC CÔNG TÁC & SMART DIRECTIVE SELECTOR
   ========================================================================== */
#app-modal.task-creation-modal .modal-content {
    max-width: 780px !important;
    width: 96% !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(6, 78, 59, 0.25) !important;
}

.task-modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: "Times New Roman", Times, serif;
    color: #0f172a;
}

/* 5.1. Định dạng Hộp chọn Thành viên phối hợp cố định 1 dòng (Fixed single-line multiselect) */
#task-co-box .doc-multiselect-trigger {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
}

#task-co-box .doc-multiselect-trigger:hover {
    border-color: #2563eb !important;
}

#task-co-box .doc-multiselect-trigger.active {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

#task-co-box .doc-multiselect-trigger-content {
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    gap: 4px !important;
    display: flex !important;
    align-items: center !important;
    max-width: calc(100% - 24px) !important;
}

#task-co-box .doc-multiselect-tag {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 2px 8px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    height: 25px !important;
    line-height: 1 !important;
}

#task-co-box .doc-multiselect-tag-remove {
    width: 14px !important;
    height: 14px !important;
    font-size: 11px !important;
    cursor: pointer !important;
}

#task-co-panel {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2) !important;
    z-index: 1080 !important;
    padding: 8px !important;
}

/* 5.1b. Định dạng Hộp chọn Thành viên chủ trì nhiều người (Main Assignee Multiselect) */
#task-main-box .doc-multiselect-trigger {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
}

#task-main-box .doc-multiselect-trigger:hover {
    border-color: #0284c7 !important;
}

#task-main-box .doc-multiselect-trigger.active {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
}

#task-main-box .doc-multiselect-trigger-content {
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    gap: 4px !important;
    display: flex !important;
    align-items: center !important;
    max-width: calc(100% - 24px) !important;
}

#task-main-box .doc-multiselect-tag {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 2px 8px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    background: #f0fdf4 !important;
    color: #0369a1 !important;
    border: 1px solid #86efac !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    height: 25px !important;
    line-height: 1 !important;
}

#task-main-box .doc-multiselect-tag-remove {
    width: 14px !important;
    height: 14px !important;
    font-size: 11px !important;
    cursor: pointer !important;
    color: #0369a1 !important;
}

#task-main-panel {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2) !important;
    z-index: 1080 !important;
    padding: 8px !important;
    display: none;
}

#task-main-panel.show {
    display: block !important;
}

/* Khối thẻ thông tin nhóm (Section Card) */
.task-form-section-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 5.2. Hàng nhập 2 cột cân đối hoàn hảo */
.task-form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

/* 5.3. Thẻ thời gian Bắt đầu & Kết thúc */
.time-box-card {
    border-radius: 9px;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-box-card.start-box {
    background: #f0fdf4;
    border-color: #86efac;
}

.time-box-card.end-box {
    background: #fffbeb;
    border-color: #fcd34d;
}

.time-box-header {
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.time-box-card.start-box .time-box-header {
    color: #0369a1;
}

.time-box-card.end-box .time-box-header {
    color: #9a3412;
}

.time-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.time-date-input {
    flex: 1;
    font-weight: 700;
    height: 38px;
    font-size: 13.5px;
    border-radius: 7px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    padding: 6px 10px;
    color: #0f172a;
    transition: all 0.15s ease;
}

.time-box-card.start-box .time-date-input {
    border-color: #86efac;
}
.time-box-card.start-box .time-date-input:focus {
    border-color: #16a34a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.time-box-card.end-box .time-date-input {
    border-color: #fcd34d;
}
.time-box-card.end-box .time-date-input:focus {
    border-color: #d97706;
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.time-clock-input {
    width: 125px !important;
    min-width: 125px !important;
    flex-shrink: 0;
    font-weight: 700;
    height: 38px;
    font-size: 13.5px;
    border-radius: 7px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    padding: 6px 8px;
    text-align: center;
    color: #0f172a;
    transition: all 0.15s ease;
}

.time-box-card.start-box .time-clock-input {
    border-color: #86efac;
    color: #15803d;
}
.time-box-card.start-box .time-clock-input:focus {
    border-color: #16a34a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.time-box-card.end-box .time-clock-input {
    color: #b45309;
    border-color: #fcd34d;
    background: #ffffff;
}
.time-box-card.end-box .time-clock-input:focus {
    border-color: #d97706;
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* 5.4. Bộ nút chọn mức độ ưu tiên (Segmented Priority Pills) */
.priority-pills-group {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.priority-pill-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 6px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    transition: all 0.15s ease;
    user-select: none;
    height: 40px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.priority-pill-btn:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.priority-pill-btn.active.pri-normal {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0369a1;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.priority-pill-btn.active.pri-focus {
    background: #fffbeb;
    border-color: #d97706;
    color: #b45309;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
}

.priority-pill-btn.active.pri-urgent {
    background: #fef2f2;
    border-color: #dc2626;
    color: #b91c1c;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

/* 5.5. Nhãn và Input thông dụng */
.task-form-label {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.task-form-label.required::after {
    content: " *";
    color: #dc2626;
    font-weight: 700;
}

.task-form-input {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    padding: 7px 12px;
    font-size: 13.5px;
    color: #0f172a;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.task-form-input:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.task-form-textarea {
    width: 100%;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    padding: 9px 12px;
    font-size: 13.5px;
    color: #0f172a;
    resize: vertical;
    box-sizing: border-box;
    transition: all 0.15s ease;
    line-height: 1.5;
}

.task-form-textarea:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

/* 5.6. Chân trang Modal */
.task-form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1.5px solid #e2e8f0;
}

@media (max-width: 640px) {
    .task-form-row-2col {
        grid-template-columns: 1fr;
    }
    .priority-pills-group {
        flex-direction: column;
    }
}

/* ==========================================================================
   DẠNG THẺ CHO DANH SÁCH CÔNG VIỆC TRONG MODAL CHI TIẾT NGÀY (DAY DETAIL CARDS)
   ========================================================================== */
.day-tasks-cards-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.day-task-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4.5px solid #0284c7;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.day-task-card:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.day-task-card:hover .day-task-card-arrow {
    color: #0284c7;
    transform: translateX(3px);
}

.day-task-card-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.day-task-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.day-task-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.day-task-card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    font-family: 'Times New Roman', serif;
}

.day-task-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #475569;
}

.day-task-card-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.day-task-card-assignees {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    padding-top: 3px;
    border-top: 1px dashed #f1f5f9;
}

.day-task-card-assignees .main-officer {
    color: #0369a1;
    font-weight: 700;
}

.day-task-card-assignees .co-officers {
    color: #475569;
}

.day-task-card-arrow {
    align-self: center;
    color: #94a3b8;
    font-size: 14px;
    transition: all 0.2s ease;
    padding-left: 4px;
    display: flex;
    align-items: center;
}

/* =========================================================================
   RESPONSIVE DESIGN CHO LỊCH CÔNG TÁC TRÊN ĐIỆN THOẠI (<= 768px)
   ========================================================================= */
@media (max-width: 768px) {
    .schedule-page-container {
        padding: 8px;
        gap: 12px;
    }

    .schedule-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }

    .schedule-nav-group {
        justify-content: space-between;
        width: 100%;
    }

    .schedule-nav-btn {
        flex: 1;
        padding: 8px 6px;
        font-size: 12px;
        text-align: center;
        justify-content: center;
    }

    .schedule-week-title-box {
        text-align: center;
    }

    .schedule-week-title {
        font-size: 15px;
        justify-content: center;
    }

    .schedule-week-subtitle {
        font-size: 12px;
    }

    .schedule-view-switcher {
        display: flex;
        width: 100%;
    }

    .schedule-view-btn {
        flex: 1;
        justify-content: center;
        padding: 8px;
        font-size: 12px;
    }

    .schedule-actions-group {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .schedule-actions-group .schedule-nav-btn,
    .schedule-actions-group .btn-schedule-create {
        flex: 1 1 45%;
        justify-content: center;
        padding: 8px 10px;
        font-size: 12px;
    }

    .schedule-kpi-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }

    .schedule-kpi-item {
        padding: 10px;
    }

    .kpi-val {
        font-size: 18px;
    }

    /* Hiển thị lưới ngày dạng Danh sách theo dòng thời gian (Timeline List) */
    .schedule-week-columns-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    .schedule-overview-day-column {
        width: 100% !important;
        min-width: 0 !important;
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .schedule-overview-day-column.is-today-col {
        border: 2px solid #EA580C;
    }

    .schedule-overview-day-header {
        padding: 10px 14px;
    }

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

    .schedule-overview-card {
        padding: 12px 14px;
        border-radius: 10px;
        margin-bottom: 8px;
    }

    .schedule-overview-card-title {
        font-size: 14px;
        line-height: 1.4;
    }
}

