/* Preventive Maintenance pages (/pm, /pm/create, /pm/edit/{id}).
   Holds the inline styles v3's PMCreate and PMEdit carried in <style> blocks and element
   style attributes, so the Razor markup stays free of them. */

/* v3 marked required inputs with a warning-coloured underline. */
.required-field .mud-input-slot::before {
    border-color: var(--mud-palette-warning);
}

/* PM title picker list (v3 PMCreate title modal). */
.title-list-paper {
    border-radius: 8px;
    overflow: hidden;
}

.title-list-item:hover {
    background-color: var(--mud-palette-action-default-hover);
}

/* PMEdit header band showing the asset's parent path. */
.pm-linked-parent {
    background: #f8fafc;
}

/* Schedule table's native date input, kept native as v3 had it. */
.pm-schedule-date {
    max-width: 140px;
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Schedule table's technician picker: v3 tinted it light goldenrod. */
.pm-assign-select {
    max-width: 200px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fafad2;
}

/* Task list panes scroll inside the tab rather than growing the page. */
.pm-task-scroll {
    max-height: 400px;
    overflow-y: auto;
}

/* Task code links in the Task Lists tab. */
.pm-task-link {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}
