/* ============================================
   inventarisatie.reanimatie.nl — Specifieke stijlen
   Accent kleur: #2a9d8f (teal)
   ============================================ */

/* --- Hero --- */
.inv-hero {
    background: linear-gradient(135deg, #0a2417 0%, #1e3a5f 50%, #2a7a5f 100%);
}

.module-hero {
    padding: 100px 0 64px;
    color: #fff;
    text-align: center;
}

.module-hero__content {
    max-width: 720px;
    margin: 0 auto;
}

.module-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(42, 157, 143, 0.25);
    border: 1px solid rgba(42, 157, 143, 0.5);
    color: #4ecdc4;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.module-hero__content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #fff;
}

.module-hero__accent {
    color: #4ecdc4;
}

.module-hero__content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* --- Locatie kaarten --- */
.inv-locatie-card {
    border-left: 3px solid var(--border);
    transition: var(--transition);
}

.inv-locatie-card:hover {
    border-left-color: var(--accent);
    transform: translateX(2px);
}

.inv-locatie-card.status-actief {
    border-left-color: #2a9d8f;
}

.inv-locatie-card.status-inactief {
    border-left-color: var(--text-muted);
    opacity: 0.75;
}

/* --- Status dot --- */
.inv-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    background: var(--text-muted);
}

.inv-status-dot.actief {
    background: #2a9d8f;
    box-shadow: 0 0 6px rgba(42, 157, 143, 0.5);
}

.inv-status-dot.inactief {
    background: var(--text-muted);
}

/* --- AED rij --- */
.inv-aed-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inv-aed-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.12);
    color: #e63946;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* --- Badge varianten --- */
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-active {
    background: rgba(42, 157, 143, 0.15);
    color: #2a9d8f;
}

.badge-pending {
    background: rgba(244, 162, 97, 0.15);
    color: #f4a261;
}

/* --- Pending notice --- */
.pending-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(244, 162, 97, 0.1);
    border: 1px solid rgba(244, 162, 97, 0.3);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    color: #f4a261;
}

.pending-notice > i {
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.pending-notice > div {
    color: var(--text-primary);
}

/* --- Stat cards --- */
.stat-card {
    text-align: center;
    padding: 24px 16px;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Card icons --- */
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-icon-blue  { background: rgba(59,130,246,0.12); color: #3b82f6; }
.card-icon-red   { background: rgba(230,57,70,0.12);  color: #e63946; }
.card-icon-green { background: rgba(42,157,143,0.12); color: #2a9d8f; }

/* --- Dashboard layout --- */
.dashboard-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 768px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
}

/* --- Sidebar --- */
.sidebar {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 12px;
    position: sticky;
    top: 80px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-nav a:hover {
    background: rgba(42, 157, 143, 0.08);
    color: var(--text-primary);
}

.sidebar-nav a.active {
    background: rgba(42, 157, 143, 0.12);
    color: #2a9d8f;
    font-weight: 600;
}

.sidebar-nav a i {
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
}

.dashboard-main {
    min-width: 0;
}

/* --- Empty state --- */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-secondary);
}

.empty-state > i {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.4;
    margin-bottom: 16px;
    display: block;
}

.empty-state h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 0.875rem;
}

/* --- Tables --- */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

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

.table thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover {
    background: var(--bg-secondary);
}

/* --- Forms --- */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font);
    transition: var(--transition);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* --- Alerts --- */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.alert-error {
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    color: #e63946;
}

.alert-success {
    background: rgba(42, 157, 143, 0.1);
    border: 1px solid rgba(42, 157, 143, 0.3);
    color: #2a9d8f;
}

/* --- Auth pagina --- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 16px 40px;
    background: var(--bg-primary);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .module-hero {
        padding: 80px 0 48px;
    }
    .auth-card {
        padding: 28px 20px;
    }
}
