/* Aanvulling op caoplatform.nl/assets/css/admin.css */

:root {
    --vloot-bg: #f4f6f8;
    --vloot-card: #ffffff;
    --vloot-text: #1a1f2e;
    --vloot-muted: #5c6578;
    --vloot-accent: #0b5cab;
    --vloot-accent-hover: #094a8c;
    --vloot-border: #d8dee8;
    --vloot-ok: #0f7b3c;
    --vloot-warn: #9a6700;
    --vloot-error: #b42318;
    --vloot-radius: 10px;
    --vloot-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}

.site-hf__main a.is-current {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

footer.site-hf--footer {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

body.vloot-page {
    background: var(--vloot-bg);
}

.vloot-main {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem var(--page-pad-x, 1rem) 3rem;
}

.vloot-page--login .vloot-main {
    padding-top: 2rem;
}

.vloot-card {
    background: var(--vloot-card);
    border: 1px solid var(--vloot-border);
    border-radius: var(--vloot-radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--vloot-shadow);
    margin-bottom: 1rem;
}

.vloot-card h1 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    color: var(--vloot-text);
}

.vloot-card h2 {
    margin: 1.25rem 0 0.5rem;
    font-size: 1.1rem;
}

.vloot-section-title {
    margin: 1.75rem 0 0.75rem;
    font-size: 1.05rem;
}

.vloot-section-title--danger {
    color: var(--vloot-error);
}

.vloot-lead {
    color: var(--vloot-muted);
    margin: 0 0 1.25rem;
}

.vloot-flash {
    padding: 0.75rem 1rem;
    border-radius: var(--vloot-radius);
    margin-bottom: 1rem;
    border: 1px solid var(--vloot-border);
}

.vloot-flash--ok {
    background: #ecfdf3;
    border-color: #abefc6;
    color: var(--vloot-ok);
}

.vloot-flash--warn {
    background: #fffaeb;
    border-color: #fedf89;
    color: var(--vloot-warn);
}

.vloot-flash--error {
    background: #fef3f2;
    border-color: #fecdca;
    color: var(--vloot-error);
}

.vloot-form-grid {
    display: grid;
    gap: 1rem;
}

.vloot-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.vloot-field input[type="text"],
.vloot-field select,
.vloot-select-kenteken {
    width: 100%;
    max-width: 420px;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--vloot-border);
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
}

.vloot-kenteken-kiezer {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--vloot-border);
}

.vloot-select-kenteken {
    max-width: none;
    cursor: pointer;
}

.vloot-field .vloot-hint,
.vloot-hint {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: var(--vloot-muted);
}

.vloot-inline-form .vloot-inline-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.vloot-inline-form input[type="text"] {
    flex: 1 1 220px;
    max-width: none;
}

.vloot-actions {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.vloot-btn {
    display: inline-block;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    background: var(--vloot-accent);
    color: #fff;
}

.vloot-btn:hover {
    background: var(--vloot-accent-hover);
}

.vloot-btn--secondary {
    background: #fff;
    color: var(--vloot-text);
    border-color: var(--vloot-border);
}

.vloot-btn--secondary:hover {
    background: #f9fafb;
}

.vloot-btn--danger {
    background: #fff;
    color: var(--vloot-error);
    border-color: #fecdca;
}

.vloot-btn--danger:hover {
    background: #fef3f2;
}

.vloot-btn:disabled,
.vloot-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.vloot-link-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--vloot-accent);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.vloot-link-btn--danger {
    color: var(--vloot-error);
}

.vloot-inline-delete {
    display: inline;
    margin: 0;
}

.vloot-table-sep {
    color: var(--vloot-muted);
    margin: 0 0.25rem;
}

.vloot-table-wrap {
    overflow-x: auto;
}

.vloot-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.vloot-table th,
.vloot-table td {
    text-align: left;
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid var(--vloot-border);
    vertical-align: middle;
}

.vloot-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--vloot-muted);
}

.vloot-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.vloot-badge--nog_niet {
    background: #f2f4f7;
    color: var(--vloot-muted);
}

.vloot-badge--ok {
    background: #ecfdf3;
    color: var(--vloot-ok);
}

.vloot-badge--fout {
    background: #fef3f2;
    color: var(--vloot-error);
}

.vloot-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem 1.25rem;
    margin: 1rem 0;
}

.vloot-detail-item dt {
    margin: 0;
    font-size: 0.8rem;
    color: var(--vloot-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.vloot-detail-item dd {
    margin: 0.15rem 0 0;
    font-weight: 500;
}

.vloot-empty {
    color: var(--vloot-muted);
    padding: 1rem 0;
}

.vloot-credits-note {
    font-size: 0.9rem;
    color: var(--vloot-muted);
}

.vloot-fieldset {
    border: 1px solid var(--vloot-border);
    border-radius: var(--vloot-radius);
    padding: 1rem 1.25rem;
    margin: 0;
}

.vloot-fieldset legend {
    font-weight: 600;
    padding: 0 0.35rem;
}

.vloot-hint--fieldset {
    margin: -0.25rem 0 0.75rem;
}

.vloot-field--checkbox {
    margin-top: 1rem;
}

.vloot-checkbox {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.92rem;
    line-height: 1.45;
    cursor: pointer;
}

.vloot-checkbox input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.vloot-optional {
    font-weight: 400;
    color: var(--vloot-muted);
    font-size: 0.85rem;
}

.vloot-login-card {
    max-width: 480px;
}

.vloot-login-card .vloot-field input {
    max-width: none;
}

@media (max-width: 600px) {
    .vloot-inline-form .vloot-inline-row {
        flex-direction: column;
        align-items: stretch;
    }
}
