/* UrenHeld — gedeelde design tokens en componenten voor het dashboard. */

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    -webkit-tap-highlight-color: transparent;
}

.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }

/* Kaarten: één consistente stijl voor elk paneel in de app. */
.uh-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
}

/* Paginakop: titel + eventueel actieknoppen. */
.uh-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f172a;
}
.uh-page-subtitle {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 0.125rem;
}
.uh-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

/* Knoppen */
.uh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.8125rem;
    border-radius: 0.625rem;
    padding: 0.625rem 1.125rem;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.uh-btn:active { transform: scale(0.98); }
.uh-btn-primary {
    background-color: var(--uh-accent, #4f46e5);
    color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
}
.uh-btn-primary:hover { filter: brightness(1.08); }
.uh-btn-secondary {
    background-color: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
}
.uh-btn-secondary:hover { background-color: #f8fafc; border-color: #cbd5e1; }
.uh-btn-danger {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}
.uh-btn-danger:hover { background-color: #fee2e2; }

/* Formuliervelden */
.uh-input, .uh-select, .uh-textarea {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.625rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.uh-input:focus, .uh-select:focus, .uh-textarea:focus {
    border-color: var(--uh-accent, #4f46e5);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--uh-accent, #4f46e5) 15%, transparent);
    background-color: #ffffff;
}
.uh-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

/* Badges / statuspilletjes */
.uh-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.uh-badge-neutral { background: #f1f5f9; color: #475569; }
.uh-badge-success { background: #ecfdf5; color: #059669; }
.uh-badge-warning { background: #fffbeb; color: #d97706; }
.uh-badge-danger  { background: #fef2f2; color: #dc2626; }
.uh-badge-info    { background: #eff6ff; color: #2563eb; }

/* Tabellen */
.uh-table th {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    padding: 0.85rem 1.25rem;
    text-align: left;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}
.uh-table td {
    padding: 0.9rem 1.25rem;
    font-size: 0.875rem;
    color: #1e293b;
}
.uh-table tbody tr { border-bottom: 1px solid #f8fafc; }
.uh-table tbody tr:hover { background: #fafbfc; }

/* Sidebar navigatie */
.nav-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.75rem;
    color: #64748b;
    border-radius: 0.625rem;
    transition: all 0.15s ease;
    font-weight: 600;
    font-size: 0.8125rem;
    border: 1px solid transparent;
}
.nav-item:hover { background-color: #f1f5f9; color: #0f172a; }
.active-link { font-weight: 700 !important; }

@media print {
    .no-print { display: none !important; }
    body { background: white; }
    .print-area { width: 100% !important; margin: 0 !important; padding: 0 !important; }
}

@media (max-width: 1023px) {
    body { padding-bottom: 90px; }
    .mobile-tab-bar {
        position: fixed;
        bottom: 15px;
        left: 15px;
        right: 15px;
        height: 64px;
        background: #0f172a;
        border-radius: 1rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 999;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    .tab-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #94a3b8;
        font-size: 9px;
        font-weight: 700;
        gap: 4px;
    }
    .tab-item.active { color: #ffffff; }
    .tab-item i { width: 20px; height: 20px; }

    #mobile-full-menu {
        position: fixed;
        inset: 0;
        background: #f8fafc;
        z-index: 1001;
        display: none;
        padding: 30px 20px;
        overflow-y: auto;
    }
}
