:root {
    --olive-primary: #596B35;
    --olive-dark: #283B25;
    --olive-light: #A6B57A;
    --cream: #F7F4EA;
    --harvest-gold: #C5A04B;
    --bs-primary: #596B35;
    --bs-primary-rgb: 89, 107, 53;
    --bs-link-color: #596B35;
    --bs-link-hover-color: #283B25;
}
body { background: #f5f5f0; font-size: .925rem; }
.btn-primary { --bs-btn-bg: #596B35; --bs-btn-border-color: #596B35; --bs-btn-hover-bg: #283B25; --bs-btn-hover-border-color: #283B25; --bs-btn-active-bg: #283B25; }
.btn-outline-primary { --bs-btn-color: #596B35; --bs-btn-border-color: #596B35; --bs-btn-hover-bg: #596B35; --bs-btn-hover-border-color: #596B35; }
.admin-sidebar { width: 250px; height: 100vh; height: 100dvh; background: var(--olive-dark); color: #e9ecdf; position: fixed; top: 0; bottom: 0; left: 0; z-index: 1030; display: flex; flex-direction: column; }
.admin-sidebar .brand { flex: none; padding: 18px 20px; font-weight: 600; letter-spacing: 1px; color: #fff; display: block; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar .brand small { display: block; color: var(--harvest-gold); font-size: .7rem; letter-spacing: 3px; }
.admin-sidebar .sidebar-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 0 24px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.admin-sidebar .sidebar-nav::-webkit-scrollbar { width: 6px; }
.admin-sidebar .sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 3px; }
.admin-sidebar .nav-link { display: block; }
.admin-sidebar .nav-single { margin: 4px 0; }
.admin-sidebar .nav-group { border-top: 1px solid rgba(255,255,255,.06); }
.admin-sidebar .nav-section { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: 0; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--olive-light); padding: 12px 20px; text-align: left; cursor: pointer; }
.admin-sidebar .nav-section:hover, .admin-sidebar .nav-section:focus-visible { color: #fff; background: rgba(255,255,255,.04); outline: none; }
.admin-sidebar .nav-group.has-active > .nav-section { color: #fff; }
.admin-sidebar .nav-section .bi { font-size: .75rem; transition: transform .2s; }
.admin-sidebar .nav-group.is-open > .nav-section .bi { transform: rotate(180deg); }
.admin-sidebar .nav-items { display: none; padding-bottom: 8px; }
.admin-sidebar .nav-group.is-open > .nav-items { display: block; }
.admin-sidebar a.nav-link { color: #e9ecdf; padding: 6px 20px; font-size: .875rem; border-left: 3px solid transparent; }
.admin-sidebar a.nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-sidebar a.nav-link.active { background: rgba(255,255,255,.1); border-left-color: var(--harvest-gold); color: #fff; }
.admin-main { margin-left: 250px; min-height: 100vh; }
.admin-topbar { background: #fff; border-bottom: 1px solid #e5e5dc; padding: 10px 24px; }
.admin-content { padding: 24px; }
.card { border-color: #e5e5dc; }
.card-header { background: #fbfaf5; font-weight: 600; }
.table > :not(caption) > * > * { vertical-align: middle; }
.thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--cream); }
.stat-card .value { font-size: 1.6rem; font-weight: 600; color: var(--olive-dark); }
.badge-soft { background: var(--cream); color: var(--olive-dark); border: 1px solid #e5e2d3; }
.form-label { font-weight: 500; }
.required:after { content: " *"; color: #b02a37; }
@media (max-width: 991px) {
    .admin-sidebar { position: static; width: 100%; height: auto; }
    .admin-sidebar .sidebar-nav { overflow: visible; }
    .admin-main { margin-left: 0; }
}

/* Dashboard satış grafiği */
.sales-chart .card-body { position: relative; }
.sc-legend { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; }
.sc-legend li { display: inline-flex; align-items: center; gap: 6px; }
.sc-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 2px; vertical-align: -1px; }
.sc-plot { width: 100%; min-height: 260px; }
.sc-plot svg { display: block; overflow: visible; }
.sc-grid { stroke: #E7E7E2; stroke-width: 1; }
.sc-base { stroke: #BDBDB5; stroke-width: 1; }
.sc-axis { fill: #6B6B66; font-size: 11px; }
.sc-hit { fill: transparent; cursor: default; outline: none; }
.sc-guide { stroke: #9A9A92; stroke-width: 1; stroke-dasharray: 3 3; }
.sc-tip { position: absolute; min-width: 210px; padding: 10px 12px; background: #fff; border: 1px solid #DDDDD5; border-radius: 8px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .35); font-size: .82rem; pointer-events: none; z-index: 5; }
.sc-tip-row .sc-swatch { margin-right: 6px; }
.sc-tip-row { display: flex; justify-content: space-between; gap: 16px; line-height: 1.7; }
.sc-tip-total { border-top: 1px solid #EEE; margin-top: 4px; padding-top: 4px; font-weight: 600; }

/* CKEditor 5 içerik alanları (x-field type="html") */
.ck.ck-editor { width: 100%; }
.ck-editor__editable_inline { min-height: 280px; max-height: 70vh; }
.ck.ck-editor.is-invalid .ck-editor__main > .ck-editor__editable { border-color: var(--bs-danger, #dc3545); }
.ck-content h2 { font-size: 1.5rem; } .ck-content h3 { font-size: 1.25rem; } .ck-content h4 { font-size: 1.1rem; }
.ck-content img { max-width: 100%; height: auto; }
.ck.ck-balloon-panel, .ck.ck-dropdown__panel { z-index: 1065; }
