/* Assessor diary (Syncfusion Schedule) — job status colours (PlannerStatusCatalog).
   Load from App host head + _content/Invara_Platform.Razor.Shared/css/invara-diary-schedule.css
   Month + week selectors per https://blazor.syncfusion.com/documentation/scheduler/scheduler-styling */

.invara-diary-legend-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 9999px;
    display: inline-block;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.invara-diary-legend-dot.status-pendingclientacceptance {
    background: #f59e0b;
    border-color: #d97706;
}

.invara-diary-legend-dot.status-clientacceptedscheduled {
    background: #3b82f6;
    border-color: #2563eb;
}

.invara-diary-legend-dot.status-inprogress {
    background: #7c3aed;
    border-color: #6d28d9;
}

.invara-diary-legend-dot.status-inreview {
    background: #0d9488;
    border-color: #0f766e;
}

.invara-diary-legend-dot.status-completed {
    background: #16a34a;
    border-color: #15803d;
}

.invara-diary-legend-dot.status-overdue {
    background: #dc2626;
    border-color: #b91c1c;
}

.invara-diary-legend-dot.status-cancelled {
    background: #64748b;
    border-color: #475569;
}

/* Month view appointments */
.invara-diary-schedule.e-schedule .e-month-view .e-appointment.status-pendingclientacceptance,
.invara-diary-schedule .e-month-view .e-appointment.status-pendingclientacceptance {
    background: #f59e0b !important;
    border-color: #d97706 !important;
}

.invara-diary-schedule.e-schedule .e-month-view .e-appointment.status-clientacceptedscheduled,
.invara-diary-schedule .e-month-view .e-appointment.status-clientacceptedscheduled {
    background: #3b82f6 !important;
    border-color: #2563eb !important;
}

.invara-diary-schedule.e-schedule .e-month-view .e-appointment.status-inprogress,
.invara-diary-schedule .e-month-view .e-appointment.status-inprogress {
    background: #7c3aed !important;
    border-color: #6d28d9 !important;
}

.invara-diary-schedule.e-schedule .e-month-view .e-appointment.status-inreview,
.invara-diary-schedule .e-month-view .e-appointment.status-inreview {
    background: #0d9488 !important;
    border-color: #0f766e !important;
}

.invara-diary-schedule.e-schedule .e-month-view .e-appointment.status-completed,
.invara-diary-schedule .e-month-view .e-appointment.status-completed {
    background: #16a34a !important;
    border-color: #15803d !important;
}

.invara-diary-schedule.e-schedule .e-month-view .e-appointment.status-overdue,
.invara-diary-schedule .e-month-view .e-appointment.status-overdue {
    background: #dc2626 !important;
    border-color: #b91c1c !important;
}

.invara-diary-schedule.e-schedule .e-month-view .e-appointment.status-cancelled,
.invara-diary-schedule .e-month-view .e-appointment.status-cancelled {
    background: #64748b !important;
    border-color: #475569 !important;
}

/* Week / vertical view appointments */
.invara-diary-schedule.e-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-pendingclientacceptance,
.invara-diary-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-pendingclientacceptance {
    background: #f59e0b !important;
    border-color: #d97706 !important;
}

.invara-diary-schedule.e-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-clientacceptedscheduled,
.invara-diary-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-clientacceptedscheduled {
    background: #3b82f6 !important;
    border-color: #2563eb !important;
}

.invara-diary-schedule.e-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-inprogress,
.invara-diary-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-inprogress {
    background: #7c3aed !important;
    border-color: #6d28d9 !important;
}

.invara-diary-schedule.e-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-inreview,
.invara-diary-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-inreview {
    background: #0d9488 !important;
    border-color: #0f766e !important;
}

.invara-diary-schedule.e-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-completed,
.invara-diary-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-completed {
    background: #16a34a !important;
    border-color: #15803d !important;
}

.invara-diary-schedule.e-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-overdue,
.invara-diary-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-overdue {
    background: #dc2626 !important;
    border-color: #b91c1c !important;
}

.invara-diary-schedule.e-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-cancelled,
.invara-diary-schedule .e-vertical-view .e-day-wrapper .e-appointment.status-cancelled {
    background: #64748b !important;
    border-color: #475569 !important;
}

/* Fallback: any appointment with status class inside this schedule */
.invara-diary-schedule .e-appointment.status-pendingclientacceptance {
    background: #f59e0b !important;
    border-color: #d97706 !important;
}

.invara-diary-schedule .e-appointment.status-clientacceptedscheduled {
    background: #3b82f6 !important;
    border-color: #2563eb !important;
}

.invara-diary-schedule .e-appointment.status-inprogress {
    background: #7c3aed !important;
    border-color: #6d28d9 !important;
}

.invara-diary-schedule .e-appointment.status-inreview {
    background: #0d9488 !important;
    border-color: #0f766e !important;
}

.invara-diary-schedule .e-appointment.status-completed {
    background: #16a34a !important;
    border-color: #15803d !important;
}

.invara-diary-schedule .e-appointment.status-overdue {
    background: #dc2626 !important;
    border-color: #b91c1c !important;
}

.invara-diary-schedule .e-appointment.status-cancelled {
    background: #64748b !important;
    border-color: #475569 !important;
}

.invara-diary-schedule .e-month-view .e-appointment[class*="status-"] .e-subject,
.invara-diary-schedule .e-month-view .e-appointment[class*="status-"] .e-time,
.invara-diary-schedule .e-vertical-view .e-appointment[class*="status-"] .e-subject,
.invara-diary-schedule .e-vertical-view .e-appointment[class*="status-"] .e-time {
    color: #fff !important;
}
