/* Team Scheduling Styles */

/* Full-page layout — fill the viewport like the Dispatch board instead of being
   boxed inside the padded .dashboard-content. Mirrors the .dispatch-page approach. */
.dashboard-content:has(.team-scheduling-page) {
    padding: 0;
    overflow: hidden;
}

.team-scheduling-page {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 16px 24px 0;
}

/* Week Navigation */
.week-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
}

.week-display {
    font-weight: 600;
    color: #0f172a;
    font-size: 15px;
    min-width: 220px;
    text-align: center;
    padding: 0 12px;
}

/* Show Scheduled Checkbox */
.show-scheduled-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    color: #475569;
    white-space: nowrap;
    margin-left: 4px;
}

.show-scheduled-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #059669;
}

/* Compact page header on this page — maximize vertical room for the schedule */
.team-scheduling-header {
    margin-bottom: 10px;
    flex-shrink: 0;
}

.team-scheduling-header .btn {
    padding: 6px 12px;
    font-size: 13px;
}

.team-scheduling-header .week-display {
    min-width: 180px;
    font-size: 14px;
}

/* Selected technician name surfaced into the date-selection row (far left).
   margin-right:auto pushes the week-nav + action buttons to the right edge. */
.team-scheduling-header .selected-tech-name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.team-scheduling-header .selected-tech-name:empty {
    display: none;
}

/* Main Content Layout — fills the remaining viewport height (flex child of
   .team-scheduling-page) instead of a fixed calc height boxed in a card. */
.team-main-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    flex: 1;
    min-height: 0;
    padding-bottom: 16px;
}

/* Sidebar */
.team-sidebar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.team-sidebar .sidebar-header {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Filter buttons group — flex + tight gap so all six icon buttons fit the 320px
   sidebar without pushing the pending pill past the (overflow:hidden) edge. */
.team-sidebar .sidebar-header .ts-filter-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

/* Pending count pill + anticipated-date filter */
.ts-pending-pill { margin-left: 8px; background: #059669; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 2px 9px; min-width: 22px; text-align: center; flex-shrink: 0; }
#toggle-date-filter.has-filter { background: #ecfdf5; border-color: #059669; color: #047857; }

/* Pending-jobs filter buttons — match the Monthly view's .ms-filter-btn. */
.team-sidebar .sidebar-header .btn-secondary {
    font-size: 12px;
    line-height: 1;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    border-radius: 8px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: none;
}

.team-sidebar .sidebar-header .btn-secondary:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #475569;
}

.team-sidebar .sidebar-header .btn-secondary.active,
.team-sidebar .sidebar-header .btn-secondary.has-filter {
    background: #ecfdf5;
    border-color: #059669;
    color: #047857;
}
.ts-date-dropdown { min-width: 220px; }
.ts-date-body { padding: 10px; }
.ts-date-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 12px; color: #475569; }
.ts-date-row input { border: 1px solid #e2e8f0; border-radius: 6px; padding: 4px 6px; font-size: 12px; }
.ts-date-reset { width: 100%; margin-top: 4px; border: none; background: #f1f5f9; color: #334155; border-radius: 6px; padding: 6px; font-size: 12px; font-weight: 600; cursor: pointer; }
.ts-date-reset:hover { background: #e2e8f0; }

.team-sidebar .sidebar-header h3 {
    font-size: 16px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin: 0;
}

.team-sidebar .job-search {
    padding: 8px 16px;
    border-bottom: 1px solid #e2e8f0;
}

/* Pending-card footer Inspection / Service color legend */
.team-type-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 10px 12px;
    border-top: 1px solid #e2e8f0;
    background: #fafafa;
    font-size: 12px;
    color: #64748b;
    flex-shrink: 0;
}

.team-type-legend .type-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.team-type-legend .type-legend-sw {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.team-type-legend .type-legend-insp {
    background: #d1fae5;
    border: 1px solid #065f46;
}

.team-type-legend .type-legend-svc {
    background: #dbeafe;
    border: 1px solid #1e3a8a;
}

.team-sidebar .job-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-sidebar .job-item {
    padding: 7px 10px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: grab;
    transition: all 0.2s;
}

.team-sidebar .job-item:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
}

.team-sidebar .job-item.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

/* Priority Color Coding */
.team-sidebar .job-item.priority-low {
    border-left: 4px solid #3b82f6;
}

.team-sidebar .job-item.priority-medium {
    border-left: 4px solid #f59e0b;
}

.team-sidebar .job-item.priority-high {
    border-left: 4px solid #f97316;
}

.team-sidebar .job-item.priority-urgent {
    border-left: 4px solid #ef4444;
}

/* Job Type Color (Background + Text) */
.team-sidebar .job-item.job-type-inspection {
    background: #d1fae5;
}

.team-sidebar .job-item.job-type-inspection .job-item-title,
.team-sidebar .job-item.job-type-inspection .job-item-info,
.team-sidebar .job-item.job-type-inspection .job-item-location {
    color: #065f46;
}

.team-sidebar .job-item.job-type-service {
    background: #dbeafe;
}

.team-sidebar .job-item.job-type-service .job-item-title,
.team-sidebar .job-item.job-type-service .job-item-info,
.team-sidebar .job-item.job-type-service .job-item-location {
    color: #1e3a8a;
}

.team-sidebar .job-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 3px;
    gap: 8px;
}

.team-sidebar .job-item-title {
    font-weight: 600;
    font-size: 13px;
    color: #0f172a;
    line-height: 1.25;
    flex: 1;
}

.team-sidebar .job-item-duration {
    font-size: 11px;
    color: #059669;
    background: #d1fae5;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.team-sidebar .job-item-times {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.team-sidebar .job-item-days {
    font-size: 11px;
    color: #4338ca;
    background: #e0e7ff;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.team-sidebar .job-item-info {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.team-sidebar .job-item-location {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

/* Specific inspection/service type badge on the pending card's bottom row. */
.team-sidebar .job-item-type {
    display: inline-block;
    max-width: 100%;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    background: #3b82f6;
    color: #fff;
    padding: 1px 6px;
    border-radius: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-sidebar .job-attributes-row {
    margin-top: 3px;
    gap: 3px;
}

/* Sidebar Stats */
.team-sidebar .sidebar-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    background: #fafafa;
}

.team-sidebar .stat-item {
    text-align: center;
}

.team-sidebar .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.team-sidebar .stat-label {
    font-size: 11px;
    color: #64748b;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Schedule Grid */
.team-schedule-grid-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* The shared global .filter-section (v2-styles.css) adds margin-bottom:20px and a
   card border/radius. Strip those here so the day header sits flush under the
   timeline filter bar — removes the empty white row beneath the filters. */
.team-schedule-grid-container .filter-section {
    margin-bottom: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

/* Grid Header */
.team-grid-header {
    display: grid;
    grid-template-columns: 100px repeat(7, 1fr);
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 30;
}

.team-grid-header-cell {
    padding: 6px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: #475569;
    border-right: 1px solid #e2e8f0;
}

.team-grid-header-cell:last-child {
    border-right: none;
}

.team-grid-header-cell.team-time-header {
    background: #fafafa;
    text-align: left;
    padding-left: 16px;
}

.team-grid-header-cell.weekend {
    background: #fef3f2;
}

.day-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.day-name {
    color: #0f172a;
    font-weight: 700;
    font-size: 14px;
}

.day-date {
    font-weight: 400;
    color: #64748b;
    font-size: 12px;
}

/* Grid Body */
.team-grid-body {
    overflow-y: auto;
    flex: 1;
}

/* Technician Section */
.team-tech-section {
    border-bottom: 2px solid #e2e8f0;
}

.team-tech-section:last-child {
    border-bottom: none;
}

.team-tech-header {
    background: #fafafa;
    padding: 6px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: sticky;
    left: 0;
    z-index: 20;
}

.team-tech-header i {
    color: #3b82f6;
}

/* Time-slotted Grid for Each Tech */
.team-tech-grid {
    display: grid;
    grid-template-columns: 100px repeat(7, 1fr);
}

.team-time-column {
    border-right: 2px solid #e2e8f0;
    background: #fafafa;
}

.team-time-slot {
    padding: 4px 12px;
    text-align: right;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    height: 40px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
}

.team-day-column {
    border-right: 1px solid #e2e8f0;
    position: relative;
}

.team-day-column:last-child {
    border-right: none;
}

.team-day-column.weekend {
    background: #fafafa;
}

.team-schedule-slot {
    height: 40px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding: 2px;
    transition: background 0.15s;
}

.team-schedule-slot:hover {
    background: #eff6ff;
}

.team-schedule-slot.drag-over {
    background: #dbeafe !important;
    border: 2px dashed #3b82f6;
}

/* Non-working hours styling */
.team-schedule-slot.non-working-hours {
    background: repeating-linear-gradient(
        45deg,
        #f8fafc,
        #f8fafc 10px,
        #f1f5f9 10px,
        #f1f5f9 20px
    );
    opacity: 0.6;
}

.team-schedule-slot.non-working-hours:hover {
    background: repeating-linear-gradient(
        45deg,
        #f8fafc,
        #f8fafc 10px,
        #f1f5f9 10px,
        #f1f5f9 20px
    );
    opacity: 0.7;
}

.team-day-column.non-work-day {
    background: repeating-linear-gradient(
        45deg,
        #fafafa,
        #fafafa 10px,
        #f5f5f5 10px,
        #f5f5f5 20px
    );
}

.team-grid-header-cell.non-work-day {
    background: repeating-linear-gradient(
        45deg,
        #f8fafc,
        #f8fafc 10px,
        #f1f5f9 10px,
        #f1f5f9 20px
    );
    opacity: 0.7;
}

/* Scheduled Jobs (Skinny Cards) */
.team-scheduled-job {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 11px;
    position: absolute;
    left: 2px;
    right: 2px;
    cursor: grab;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
    overflow: hidden;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.team-scheduled-job:active {
    cursor: grabbing;
}

.team-scheduled-job.dragging {
    opacity: 0.5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.team-scheduled-job:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    z-index: 20;
}

.team-scheduled-job-content {
    flex: 1;
    min-width: 0;
    align-self: stretch;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-scheduled-job-title {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
    line-height: 1.3;
}

.team-scheduled-job-time {
    font-size: 10px;
    opacity: 0.9;
    font-weight: 500;
    white-space: nowrap;
}

.team-scheduled-job-remove {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 9px;
    display: none;
    transition: all 0.15s;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-scheduled-job:hover .team-scheduled-job-remove {
    display: flex;
}

.team-scheduled-job-remove:hover {
    background: rgba(239, 68, 68, 0.9);
}

/* Team Scheduled Job Priority Colors (Left Border Only) */
.team-scheduled-job.priority-low {
    border-left: 4px solid #3b82f6;
}

.team-scheduled-job.priority-medium {
    border-left: 4px solid #f59e0b;
}

.team-scheduled-job.priority-high {
    border-left: 4px solid #f97316;
}

.team-scheduled-job.priority-urgent {
    border-left: 4px solid #ef4444;
}

/* Compact "day X of Y" badge shown on any multi-day chip (anchor or additional day). */
.team-day-chip-badge {
    flex-shrink: 0;
    align-self: center;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.28);
    color: inherit;
}

/* Job Type Color (Background + Text) */
.team-scheduled-job.job-type-inspection {
    background: #d1fae5;
    color: #065f46;
}

.team-scheduled-job.job-type-inspection .team-scheduled-job-content {
    color: #065f46;
}

.team-scheduled-job.job-type-service {
    background: #dbeafe;
    color: #1e3a8a;
}

.team-scheduled-job.job-type-service .team-scheduled-job-content {
    color: #1e3a8a;
}

/* Empty State */
.team-empty-state {
    padding: 80px 40px;
    text-align: center;
}

.team-empty-state i {
    font-size: 64px;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.team-empty-state h3 {
    font-size: 24px;
    color: #475569;
    margin-bottom: 12px;
    font-weight: 600;
}

.team-empty-state p {
    font-size: 15px;
    color: #94a3b8;
}

/* Horizontal Legend Bar (under technician rows) */
.ts-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 28px;
    padding: 10px 16px;
    border-top: 1px solid #e2e8f0;
    background: #fafafa;
    flex-shrink: 0;
}

.ts-legend-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ts-legend-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ts-legend-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
}

.ts-legend-items .status-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #475569;
}

/* Modal Styles */
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/* Status Filter Dropdown */
.filter-dropdown {
    position: absolute;
    top: 65px;
    right: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 200px;
    max-height: 280px;
    overflow: hidden;
}

.filter-dropdown-header {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 12px;
    color: #0f172a;
}

.filter-dropdown-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px;
    font-size: 13px;
    line-height: 1;
}

.filter-dropdown-close:hover {
    color: #475569;
}

.filter-options-compact {
    padding: 4px;
    max-height: 220px;
    overflow-y: auto;
}

.filter-option {
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease;
    user-select: none;
}

.filter-option:hover {
    background: #f1f5f9;
}

.filter-option.selected {
    background: #ecfdf5;
}

.filter-option input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #059669;
    flex-shrink: 0;
}

.filter-option label {
    cursor: pointer;
    flex: 1;
    font-size: 12px;
    color: #334155;
}

.filter-count {
    display: inline-block;
    background: #059669;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 0 5px;
    border-radius: 999px;
    margin-left: 4px;
    min-width: 15px;
    text-align: center;
}

/* Scrollbar Styling */
.team-sidebar .job-list::-webkit-scrollbar,
.team-grid-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.team-sidebar .job-list::-webkit-scrollbar-track,
.team-grid-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.team-sidebar .job-list::-webkit-scrollbar-thumb,
.team-grid-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.team-sidebar .job-list::-webkit-scrollbar-thumb:hover,
.team-grid-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive */
@media (max-width: 1400px) {
    .team-main-content {
        grid-template-columns: 320px 1fr;
    }
}

/* Job Attribute Indicators */
.job-attributes-row {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.job-attribute-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    cursor: help;
    transition: transform 0.15s ease;
}

.job-attribute-indicator:hover {
    transform: scale(1.3);
}

/* Current Time Indicator */
.team-current-time-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #dc2626;
    z-index: 20;
    pointer-events: none;
}

.team-current-time-dot {
    position: absolute;
    left: -4px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dc2626;
}

/* Scheduled-job attribute dots — inline, right after the status dot in the title. */
.team-scheduled-job-title .job-attrs-inline {
    display: inline-flex;
    gap: 3px;
    vertical-align: middle;
    margin: 0 4px;
}

.team-scheduled-job-title .job-attrs-inline .job-attribute-indicator {
    width: 8px;
    height: 8px;
    border-width: 1px;
}

@media (max-width: 1200px) {
    .team-main-content {
        grid-template-columns: 1fr;
    }

    .team-sidebar {
        max-height: 300px;
    }

    .team-grid-header,
    .team-tech-grid {
        grid-template-columns: 100px repeat(7, 1fr);
    }
}

/* ========================================
   Job Preview (double-click a scheduled job)
   ======================================== */
.job-preview {
    position: fixed;
    z-index: 10000;
    width: 240px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 12px 14px;
    font-size: 12px;
}

.job-preview-customer {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.job-preview-address {
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.3;
}

.job-preview-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.job-preview-type {
    background: #f1f5f9;
    color: #334155;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.job-preview-priority {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: #ffffff;
    background: #64748b;
}

.job-preview-priority.priority-low { background: #3b82f6; }
.job-preview-priority.priority-medium { background: #f59e0b; }
.job-preview-priority.priority-high { background: #f97316; }
.job-preview-priority.priority-urgent { background: #ef4444; }

.job-preview-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.job-preview-link {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
}

.job-preview-link:hover {
    text-decoration: underline;
}

/* Multi-day placement badge in the popover: {EstimatedDays} / {DaysPlaced} + status pill. */
.job-preview-days {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.job-preview-days-ratio {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}

.job-preview-day-actions {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}
