@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

/* ==========================================================================
   Wij Doen Marketing — Filament admin theme
   ========================================================================== */

/* Topbar + sidebar donker */
.fi-topbar-ctn,
.fi-topbar-ctn > nav.fi-topbar,
.fi-sidebar,
.fi-sidebar.fi-main-sidebar,
.fi-sidebar-header,
.fi-sidebar-header-ctn {
    background: #0f1729 !important;
    border: none !important;
}

.fi-topbar-ctn > nav.fi-topbar,
.fi-sidebar-header,
.fi-sidebar-header-ctn {
    box-shadow: none !important;
}

/* Topbar iconen/tekst licht */
.fi-topbar .fi-icon-btn,
.fi-topbar .fi-dropdown-trigger,
.fi-topbar .fi-user-menu-trigger {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Nav items — subtiel, afgerond
   Let op: deze regels zijn expliciet gescoped onder ".fi-sidebar", want
   Filament hergebruikt exact dezelfde .fi-sidebar-item-* classes voor de
   "sub-navigatie" tabbalk op recordpagina's (Bekijken/Grafieken/Bewerken).
   Die staat op een lichte achtergrond, niet de donkere navy sidebar — zonder
   deze scope werd de tekst daar bijna onzichtbaar wit-op-licht. */
.fi-sidebar .fi-sidebar-item .fi-sidebar-item-btn {
    border-radius: 10px !important;
    margin: 2px 6px !important;
    padding: 8px 12px !important;
    transition: background 150ms ease, color 150ms ease;
}

.fi-sidebar .fi-sidebar-item .fi-sidebar-item-icon {
    color: rgba(255, 255, 255, 0.4) !important;
}

.fi-sidebar .fi-sidebar-item .fi-sidebar-item-label {
    color: rgba(255, 255, 255, 0.55) !important;
    font-weight: 500 !important;
}

.fi-sidebar .fi-sidebar-item:hover .fi-sidebar-item-btn {
    background: rgba(255, 255, 255, 0.05) !important;
}

.fi-sidebar .fi-sidebar-item:hover .fi-sidebar-item-icon,
.fi-sidebar .fi-sidebar-item:hover .fi-sidebar-item-label {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Active nav = primary oranje */
.fi-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-btn {
    background: #f97316 !important;
}

.fi-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-icon,
.fi-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-label {
    color: #fff !important;
}

/* Sidebar group labels (alleen in de echte donkere sidebar) */
.fi-sidebar .fi-sidebar-group-label {
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   Record-subnavigatie (tabbalk "Bekijken / Grafieken / Bewerken" e.d.)
   Hergebruikt dezelfde componentclasses als de hoofd-sidebar, maar staat op
   een lichte achtergrond — dus hier juist donkere tekst, geen witte.
   ========================================================================== */
.fi-page-sub-navigation-sidebar .fi-sidebar-item-btn {
    border-radius: 10px !important;
    margin-bottom: 2px !important;
}

.fi-page-sub-navigation-sidebar .fi-sidebar-item-icon {
    color: #64748b !important;
}

.fi-page-sub-navigation-sidebar .fi-sidebar-item-label {
    color: #334155 !important;
    font-weight: 500 !important;
}

.fi-page-sub-navigation-sidebar .fi-sidebar-item:hover .fi-sidebar-item-btn {
    background: #f1f5f9 !important;
}

.fi-page-sub-navigation-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-btn {
    background: #f97316 !important;
}

.fi-page-sub-navigation-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-icon,
.fi-page-sub-navigation-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-label {
    color: #fff !important;
}

/* Hoofdachtergrond licht slate */
.fi-layout,
.fi-main-ctn,
.fi-body {
    background: #f1f5f9 !important;
}

/* Headings: Space Grotesk */
.fi-header-heading,
.fi-section-header-heading {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    color: #0f1729 !important;
}

/* Stats, charts, tables = witte cards met zachte schaduw */
.fi-wi-stats-overview-stat,
.fi-wi-chart,
.fi-ta,
.fi-section {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.fi-wi-stats-overview-stat-value {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    font-size: 2rem !important;
    color: #0f1729 !important;
}

.fi-wi-stats-overview-stat-label {
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #64748b !important;
}

.fi-wi-stats-overview-stat-description {
    color: #64748b !important;
    font-size: 0.8rem !important;
}

/* Table headers: uppercase grijs op licht */
.fi-ta-header-cell {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.05em !important;
    color: #64748b !important;
    background: #f8fafc !important;
}

/* Login pagina donker */
.fi-simple-layout {
    background: #0f1729 !important;
}

.fi-simple-main {
    border-radius: 20px !important;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.5) !important;
    border: none !important;
}

/* Logo prefix kleur wisselt met context */
.vb-logo-prefix {
    color: #ffffff;
}

.fi-simple-layout .vb-logo-prefix {
    color: #0f1729 !important;
}

/* Badges + buttons: consistente rounding */
.fi-badge {
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.fi-btn {
    border-radius: 10px !important;
    font-weight: 600 !important;
}

/* Footer — "Powered by Wij Doen Marketing" */
.wdm-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.wdm-footer-label {
    color: #94a3b8;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.wdm-footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.wdm-footer-logo .wdm-text {
    color: #0f1729;
}

.wdm-footer-logo .wdm-accent {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Analytics / grafiekenpagina
   ========================================================================== */
.wdm-analytics {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.wdm-analytics-filterbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #ffffff;
    border-radius: 16px;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wdm-analytics-presets {
    display: flex;
    gap: 0.4rem;
}

.wdm-analytics-preset-btn {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease;
}

.wdm-analytics-preset-btn:hover {
    background: #fff7ed;
    border-color: #fdba74;
    color: #c2410c;
}

.wdm-analytics-daterange {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wdm-analytics-date-input {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    color: #0f1729;
    background: #f8fafc;
}

.wdm-analytics-date-sep {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wdm-channel-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wdm-channel-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f1729;
}

.wdm-channel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.wdm-chart-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

.wdm-chart-grid .fi-wi-chart-canvas-ctn {
    height: 220px !important;
}

@media (min-width: 768px) {
    .wdm-chart-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.wdm-analytics-empty {
    background: #ffffff;
    border: 1px dashed #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.wdm-attention-empty {
    color: #64748b;
    font-size: 0.9rem;
}

.wdm-attention-table {
    display: block;
    overflow-x: auto;
}

.wdm-attention-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f5f9;
    min-width: 560px;
}

.wdm-attention-row:last-child {
    border-bottom: none;
}

.wdm-attention-row-head {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.wdm-attention-name {
    font-weight: 600;
    color: #0f1729;
}
