/* Profesyonel tema — açık lacivert şirket raporu görünümü */
html[data-theme="pro"] {
    --bg-main: #f0f4f9;
    --sidebar-bg: #f7f9fc;
    --card-bg: #ffffff;
    --card-border: rgba(15, 39, 72, 0.08);
    --text-primary: #0f2748;
    --text-secondary: #64748b;
    --accent: #1d4ed8;
    --accent-2: #0ea5e9;
    --pro-shadow: 0 8px 24px rgba(15, 39, 72, 0.06);
    --pro-radius: 16px;
}

html[data-theme="pro"] body {
    color: var(--text-primary);
    background: linear-gradient(180deg, #e8eef6 0%, #f0f4f9 40%, #f7f9fc 100%);
}

html[data-theme="pro"] .sidebar {
    background: #ffffff;
    border-right: 1px solid #e8eef6;
    box-shadow: 2px 0 16px rgba(15, 39, 72, 0.04);
}
html[data-theme="pro"] .sidebar-brand { border-bottom-color: #eef2f7; }
html[data-theme="pro"] .brand-title { color: #0f2748 !important; }
html[data-theme="pro"] .brand-sub { color: #64748b !important; }
html[data-theme="pro"] .brand-mark { background: #1d4ed8; color: #fff; }
html[data-theme="pro"] .brand-mark img { background: #eff6ff; }
html[data-theme="pro"] .nav-link-custom {
    color: #64748b;
    border-radius: 12px;
    padding: 9px 10px;
}
html[data-theme="pro"] .nav-link-custom i { color: #64748b; }
html[data-theme="pro"] .nav-link-custom:hover {
    background: #f1f5f9;
    color: #0f2748;
}
html[data-theme="pro"] .nav-link-custom:hover i { color: #1d4ed8; }
html[data-theme="pro"] .nav-link-custom.active {
    background: #eff6ff;
    color: #1d4ed8;
}
html[data-theme="pro"] .nav-link-custom.active i { color: #1d4ed8; }
html[data-theme="pro"] .app-footer {
    color: #94a3b8;
    border-top-color: #eef2f7;
}
html[data-theme="pro"] .app-footer strong { color: #0f2748; }

html[data-theme="pro"] .navbar-custom {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--card-border);
}
html[data-theme="pro"] .navbar-custom h6,
html[data-theme="pro"] .navbar-custom .text-white { color: #0f2748 !important; }
html[data-theme="pro"] .user-chip {
    background: #eef2ff; border-color: #c7d2fe; color: #1e3a8a;
}
html[data-theme="pro"] .btn-menu {
    background: #fff; color: #0f2748; border-color: var(--card-border);
}

html[data-theme="pro"] .form-control-sm-custom,
html[data-theme="pro"] .form-select-sm-custom,
html[data-theme="pro"] .chip {
    background: #fff;
    color: #0f2748;
    border-color: #dbe3ef;
}
html[data-theme="pro"] .chip:hover,
html[data-theme="pro"] .chip.active {
    border-color: #1d4ed8;
    color: #1d4ed8;
    background: #eff6ff;
}
html[data-theme="pro"] .chip {
    padding: 7px 14px;
    font-size: 0.78rem;
    border-radius: 10px;
}
html[data-theme="pro"] .btn-info {
    background: #1d4ed8; border-color: #1d4ed8;
    padding: 8px 14px; border-radius: 10px; font-weight: 700;
}
html[data-theme="pro"] .btn-info:hover { background: #1e40af; border-color: #1e40af; }

html[data-theme="pro"] .card-compact,
html[data-theme="pro"] .kpi-card,
html[data-theme="pro"] .pro-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--pro-radius);
    box-shadow: var(--pro-shadow);
}
html[data-theme="pro"] #filterBar.card-compact {
    padding: 16px 18px;
    margin-bottom: 1.25rem !important;
}

html[data-theme="pro"] .kpi-card {
    padding: 16px 18px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
html[data-theme="pro"] .kpi-click:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(29, 78, 216, 0.12);
    border-color: #93c5fd;
}
html[data-theme="pro"] .kpi-title {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}
html[data-theme="pro"] .kpi-value {
    font-size: 1.28rem;
    color: #0f2748;
    margin-top: 6px;
}
html[data-theme="pro"] .kpi-help { color: #94a3b8; }

html[data-theme="pro"] .table-compact { --bs-table-color: #0f2748; }
html[data-theme="pro"] .table-compact th {
    color: #64748b;
    border-bottom-color: #e2e8f0;
}
html[data-theme="pro"] .table-compact td { border-bottom-color: #f1f5f9; }
html[data-theme="pro"] .row-click:hover td { background: #eff6ff; }

html[data-theme="pro"] .app-footer {
    color: #64748b;
    border-top-color: var(--card-border);
}
html[data-theme="pro"] .app-footer strong { color: #0f2748; }
html[data-theme="pro"] .hint { color: #64748b; }
html[data-theme="pro"] .mod-check {
    background: #f8fafc; color: #0f2748; border-color: #e2e8f0;
}

html[data-theme="pro"] .drill-panel {
    background: #fff;
    box-shadow: -16px 0 40px rgba(15, 39, 72, 0.15);
}
html[data-theme="pro"] .btn-close-drill { color: #0f2748; }

/* Profesyonel layout parçaları */
.pro-hero {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 12px; margin-bottom: 1.35rem;
}
.pro-hero h2 {
    font-size: 1.45rem; font-weight: 800; color: #0f2748; margin: 0 0 4px;
}
.pro-hero p { margin: 0; color: #64748b; font-size: 0.88rem; }
.pro-updated {
    font-size: 0.78rem; color: #64748b; background: #fff;
    border: 1px solid var(--card-border); border-radius: 999px;
    padding: 6px 12px; box-shadow: var(--pro-shadow);
}

.pro-kpi-icon {
    width: 40px; height: 40px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem; margin-bottom: 10px;
}
.pro-kpi-icon.blue { background: #dbeafe; color: #1d4ed8; }
.pro-kpi-icon.green { background: #dcfce7; color: #15803d; }
.pro-kpi-icon.amber { background: #fef3c7; color: #b45309; }
.pro-kpi-icon.violet { background: #ede9fe; color: #6d28d9; }
.pro-kpi-icon.rose { background: #ffe4e6; color: #be123c; }
.pro-kpi-icon.sky { background: #e0f2fe; color: #0369a1; }
.pro-kpi-icon.slate { background: #e2e8f0; color: #334155; }

.pro-delta { font-size: 0.75rem; font-weight: 700; margin-top: 6px; }
.pro-delta.up { color: #15803d; }
.pro-delta.down { color: #be123c; }
.pro-delta.flat { color: #64748b; }

.pro-section { margin-bottom: 1.35rem; }
.pro-card { padding: 18px 20px; height: 100%; }
.pro-card h6 {
    font-size: 0.95rem; font-weight: 800; color: #0f2748; margin: 0 0 4px;
}
.pro-card .hint { margin-bottom: 12px; }
.pro-chart { position: relative; width: 100%; height: 240px; }
.pro-chart.sm { height: 200px; }

.pro-risk {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.75rem; font-weight: 700;
}
.pro-risk::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
}
.pro-risk.low { color: #15803d; }
.pro-risk.mid { color: #b45309; }
.pro-risk.high { color: #be123c; }

html[data-theme="pro"] .theme-select { max-width: 140px; }

@media (max-width: 991.98px) {
    .pro-hero h2 { font-size: 1.2rem; }
    .pro-chart { height: 210px; }
}

html[data-theme="pro"] #moduleContentArea .report-scroll,
html[data-theme="pro"] #drillBody .report-scroll,
html[data-theme="pro"] #moduleContentArea .table-responsive,
html[data-theme="pro"] #drillBody .table-responsive {
    background: #fff;
    border-color: #e8eef6;
    box-shadow: 0 1px 3px rgba(15, 39, 72, 0.04);
}
html[data-theme="pro"] #moduleContentArea .pro-hero { margin-bottom: 0.65rem; }
html[data-theme="pro"] #moduleContentArea .pro-section { margin-bottom: 0.75rem; }
html[data-theme="pro"] #moduleContentArea .card-compact,
html[data-theme="pro"] #drillBody .card-compact {
    box-shadow: var(--pro-shadow);
}
