/* ==========================================================================
   Vehicle Drivers Section Styles (ASIModule.Client.SubjectInsured)
   Global rather than scoped: module .razor.css bundles are unreliable in production.
   All colors come from themes.css custom properties — no hardcoded colors and no
   raw Bootstrap color utilities (which resolve fixed -rgb variants themes.css
   does not override).
   ========================================================================== */

.vehicle-drivers-section {
    background-color: var(--bg-secondary);
    border-color: var(--border-color) !important;
}

/* Principal (rated) driver badge. */
.vehicle-drivers-section .badge-principal-driver {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: 500;
}

/* Assigned-driver count badge next to the section header. */
.vehicle-drivers-section .badge-driver-count {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.vehicle-drivers-section .list-group-item {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* Vehicle name in the Subject of Insurance grid, rendered as a link that opens the read-only
   vehicle details viewer (no Edit required). */
.vehicle-details-link {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.vehicle-details-link:hover,
.vehicle-details-link:focus {
    color: var(--primary-color);
    text-decoration: underline;
}
