/* ── Custom app styles ───────────────────────────────── */

body {
    background-color: #f8f9fa;
}

.nav-link.active {
    font-weight: 600;
}

/* ── Auth forms ──────────────────────────────────────── */
.auth-card {
    max-width: 420px;
    margin: 60px auto;
}

/* ── Vacation status badges ──────────────────────────── */
.badge-gepland   { background-color: #0dcaf0; color: #000; }
.badge-actief    { background-color: #ffc107; color: #000; }
.badge-afgerond  { background-color: #198754; color: #fff; }

/* ── Vacation card cover ─────────────────────────────── */
.vacation-cover {
    height: 120px;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: flex-end;
    padding: 10px 12px;
    position: relative;
    overflow: hidden;
    color: white;
}
.vacation-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 60%);
}
.vacation-cover-text {
    position: relative;
    z-index: 1;
}

/* ── Inline form section ─────────────────────────────── */
.inline-form {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* ── Utilities ───────────────────────────────────────── */
.border-dashed { border-style: dashed !important; }

/* ── Vacation detail map ─────────────────────────────── */
.vacation-info-strip-top {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px 10px 0 0;
    padding: 10px 16px 10px;
}
.vacation-map-wrapper {
    overflow: hidden;
}
#vacation-map {
    width: 100%;
    height: 250px;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0 0 10px 10px;
}
@media (max-width: 767.98px) {
    .vacation-info-strip-top {
        border-radius: 8px;
    }
    #vacation-map {
        height: 220px;
        border-radius: 0 0 8px 8px;
    }
}

/* ── Vacation tabs (segmented control) ───────────────── */
.vacation-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    padding: 5px;
    background: #e9ecef;
    border-radius: 10px;
    margin-bottom: 1.25rem;
}
.vtab {
    border: none;
    background: transparent;
    padding: 6px 13px;
    border-radius: 7px;
    font-size: .82rem;
    color: #495057;
    cursor: pointer;
    transition: background .15s, color .15s, box-shadow .15s;
    white-space: nowrap;
    line-height: 1.4;
}
.vtab:hover {
    background: rgba(255, 255, 255, .65);
    color: #212529;
}
.vtab.active {
    background: #198754;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}
.vtab .vtab-badge {
    display: inline-block;
    background: rgba(0, 0, 0, .15);
    border-radius: 10px;
    padding: 0 5px;
    font-size: .72rem;
    margin-left: 3px;
    vertical-align: middle;
    line-height: 1.6;
}
.vtab.active .vtab-badge {
    background: rgba(255, 255, 255, .3);
}

/* ── Blazor error boundary ───────────────────────────── */
.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}
.blazor-error-boundary::after {
    content: "Er is een fout opgetreden.";
}
