@font-face {
  font-family: "Inter Var";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../../vendor/inter/inter-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Var";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../../vendor/inter/inter-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Marka renkleri: kahve / karamel */
:root,
[data-bs-theme="light"] {
  --tblr-primary: #b4652b;
  --tblr-primary-rgb: 180, 101, 43;
  --tblr-primary-text-emphasis: #6b3a17;
  --tblr-primary-bg-subtle: #f6e9df;
  --tblr-primary-border-subtle: #e8cdb8;
  --tblr-primary-darken: #9a5422;
  --tblr-link-color: #9a5422;
  --tblr-link-color-rgb: 154, 84, 34;
  --tblr-link-hover-color: #6b3a17;
  --tblr-body-bg: #f7f5f2;
  --rp-sidebar-bg: #1e1612;
  --rp-sidebar-active: rgba(255, 255, 255, 0.08);
}
[data-bs-theme="dark"] {
  --tblr-body-bg: #151f2c;
  --tblr-primary: #d98a4e;
  --tblr-primary-rgb: 217, 138, 78;
  --tblr-primary-darken: #c27637;
  --tblr-link-color: #e3a272;
  --tblr-link-color-rgb: 227, 162, 114;
  --tblr-link-hover-color: #f0c29f;
  --rp-sidebar-bg: #15100d;
}

.btn-primary {
  --tblr-btn-bg: var(--tblr-primary);
  --tblr-btn-border-color: var(--tblr-primary);
  --tblr-btn-hover-bg: var(--tblr-primary-darken);
  --tblr-btn-hover-border-color: var(--tblr-primary-darken);
  --tblr-btn-active-bg: var(--tblr-primary-darken);
  --tblr-btn-active-border-color: var(--tblr-primary-darken);
  --tblr-btn-disabled-bg: var(--tblr-primary);
  --tblr-btn-disabled-border-color: var(--tblr-primary);
}

body { font-feature-settings: "cv03", "cv04", "cv11"; }
[v-cloak] { display: none; }

/* Kenar menü */
.rp-sidebar { background: var(--rp-sidebar-bg) !important; }
.rp-sidebar .navbar-brand { gap: .6rem; padding: 1rem 0 .5rem; }
.rp-logo {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #d98a4e, #8a4a1f); color: #fff; font-size: 1.25rem;
  box-shadow: 0 6px 14px rgba(180, 101, 43, .35);
}
.rp-brand-text { color: #fff; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.rp-brand-text small { display: block; font-weight: 500; font-size: .7rem; opacity: .55; letter-spacing: .08em; text-transform: uppercase; }
.rp-sidebar .nav-section {
  padding: 1.1rem 1rem .35rem; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .38); font-weight: 600;
}
.rp-sidebar .nav-link { border-radius: 8px; margin: 1px .5rem; padding: .5rem .75rem; color: rgba(255, 255, 255, .72); }
.rp-sidebar .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.rp-sidebar .nav-link.active { color: #fff; background: var(--rp-sidebar-active); box-shadow: inset 3px 0 0 var(--tblr-primary); }
.rp-sidebar .nav-link-icon { color: inherit; opacity: .9; }

/* Kartlar ve tablolar */
.card { border-radius: 12px; }
.card-header { min-height: 3.25rem; }
.stat-card .stat-icon {
  width: 42px; height: 42px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem;
}
.stat-card .stat-value { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; }
.table-hover tbody tr.clickable { cursor: pointer; }
.table td, .table th { vertical-align: middle; }
.table thead th { white-space: nowrap; }
.text-money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart-box { position: relative; height: 280px; }
.chart-box.sm { height: 220px; }
.json-view {
  max-height: 60vh; overflow: auto; background: var(--tblr-bg-surface-secondary); padding: 1rem; border-radius: 8px;
  font-size: .78rem; white-space: pre-wrap; word-break: break-word;
}
.color-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0, 0, 0, .1); vertical-align: middle; }
.tier-badge { color: #fff; font-weight: 600; }
.pick-list { max-height: 260px; overflow: auto; border: 1px solid var(--tblr-border-color); border-radius: 8px; }
.pick-list .list-group-item { border-left: 0; border-right: 0; }
.chip { display: inline-flex; align-items: center; gap: .25rem; padding: .15rem .5rem; border-radius: 999px; background: var(--tblr-primary-bg-subtle); color: var(--tblr-primary-text-emphasis); font-size: .8rem; margin: 0 .25rem .25rem 0; }
[data-bs-theme="dark"] .chip { background: rgba(217, 138, 78, .15); color: #f0c29f; }
.chip button { border: 0; background: none; color: inherit; padding: 0; line-height: 1; }
.item-child td:first-child { padding-left: 2rem; }
.item-child { color: var(--tblr-secondary); }

/* Giriş ekranı */
.login-page { min-height: 100vh; display: flex; }
.login-visual {
  flex: 1; background:
    radial-gradient(circle at 20% 20%, rgba(217, 138, 78, .45), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(138, 74, 31, .55), transparent 50%),
    #1e1612;
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 3rem;
}
.login-visual h2 { font-size: 2.2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; max-width: 30rem; }
.date-range .btn { padding: .3rem .7rem; }
.date-range input[type="date"] { min-width: 140px; }
.login-visual p { opacity: .7; max-width: 28rem; }
.login-form { width: 100%; max-width: 460px; display: flex; align-items: center; padding: 2rem; }
@media (max-width: 991px) { .login-visual { display: none; } .login-form { max-width: none; justify-content: center; } }

/* Bildirimler */
.toast-host { position: fixed; right: 1rem; bottom: 1rem; z-index: 2000; display: flex; flex-direction: column; gap: .5rem; max-width: 380px; }
.toast-host .alert { box-shadow: 0 10px 30px rgba(0, 0, 0, .15); margin: 0; background: var(--tblr-bg-surface); }
.modal.show.d-block { overflow-y: auto; }
.page-loading { padding: 4rem 0; text-align: center; color: var(--tblr-secondary); }
.nav-tabs .nav-link { cursor: pointer; }
.form-hint { font-size: .78rem; color: var(--tblr-secondary); margin-top: .25rem; }
.empty-box { padding: 3rem 1rem; text-align: center; color: var(--tblr-secondary); }
.empty-box i { font-size: 2.5rem; opacity: .4; display: block; margin-bottom: .5rem; }
