.dbr-root { --dbr-kirmizi: #b91c1c; --dbr-yesil: #15803d; --dbr-lacivert: #003b95; }
.dbr-page { padding: 16px 20px 32px; color: #0f172a; }
.dbr-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.dbr-baslik { display: flex; gap: 12px; align-items: center; }
.dbr-baslik h1 { margin: 0; font-size: 22px; }
.dbr-baslik p { margin: 2px 0 0; color: #64748b; font-size: 13px; }
.dbr-baslik-ikon { width: 42px; height: 42px; border-radius: 12px; background: #dbeafe; color: var(--dbr-lacivert); display: grid; place-items: center; font-size: 18px; }
.dbr-filtreler { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.dbr-field { display: flex; flex-direction: column; gap: 4px; }
.dbr-etiket { font-size: 12px; color: #475569; }
.dbr-zorunlu { color: var(--dbr-kirmizi); }
.dbr-donem { display: flex; gap: 6px; }
.dbr-input { border: 1px solid #cbd5e1; border-radius: 8px; padding: 7px 10px; background: #fff; min-width: 0; }
.dbr-input.kucuk { padding: 4px 8px; }
.dbr-btn { border: 1px solid #cbd5e1; background: #fff; border-radius: 8px; padding: 8px 12px; cursor: pointer; color: #0f172a; }
.dbr-btn:disabled { opacity: .55; cursor: default; }
.dbr-btn.birincil { background: var(--dbr-lacivert); color: #fff; border-color: var(--dbr-lacivert); }
.dbr-btn.kucuk { padding: 4px 10px; }
.dbr-arama { display: flex; align-items: center; gap: 6px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 0 10px; background: #fff; min-width: 260px; }
.dbr-arama input { border: 0; outline: 0; padding: 8px 0; width: 100%; }
.dbr-mesaj { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; }
.dbr-mesaj.hata { background: #fee2e2; color: #991b1b; }
.dbr-mesaj.bilgi { background: #dcfce7; color: #166534; }
.dbr-kart { background: #fff; border: 1px solid #d7e3f4; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 59, 149, 0.06); }
.dbr-ipucu { margin: 0; padding: 10px 14px; color: #475569; font-size: 13px; background: #f8fbff; border-bottom: 1px solid #e6eef8; }
.dbr-tablo-cerceve { overflow: auto; }
html body .dbr-root .dbr-tablo { width: 100%; border-collapse: separate; border-spacing: 0; }
html body .dbr-root .dbr-tablo thead th {
    background: linear-gradient(135deg, var(--dbr-lacivert) 0%, #002a6b 100%);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .01em;
    padding: 13px 16px;
    border: 0;
    white-space: nowrap;
}
html body .dbr-root .dbr-tablo th.sol,
html body .dbr-root .dbr-tablo td.sol { text-align: left; }
html body .dbr-root .dbr-tablo th.orta,
html body .dbr-root .dbr-tablo td.orta { text-align: center; }
html body .dbr-root .dbr-tablo td {
    padding: 11px 16px;
    border-bottom: 1px solid #e6eef8;
    vertical-align: middle;
    background: #fff;
}
html body .dbr-root .dbr-tablo tbody tr:nth-child(even) td { background: #f4f8fd; }
html body .dbr-root .dbr-tablo tbody tr:hover td { background: #e8f1ff; }
html body .dbr-root .dbr-tablo tbody tr:last-child td { border-bottom: 0; }
.dbr-kod-rozet {
    display: inline-block;
    min-width: 3.4rem;
    margin-right: 10px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(0, 59, 149, 0.1);
    color: var(--dbr-lacivert);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}
.dbr-kod-ad { color: #1e293b; font-weight: 600; }
.dbr-olcu { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.dbr-widget {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 1.9rem;
    padding: 0 .7rem;
    border-radius: 999px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.dbr-widget.notr { background: #e7f0ff; color: var(--dbr-lacivert); border: 1px solid #c5d8f6; }
.dbr-widget.yesil { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.dbr-widget.kirmizi { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.dbr-yok { color: #94a3b8; font-weight: 600; }
html body .dbr-root .dbr-detay-btn.btn {
    min-width: 72px;
    border-radius: 8px;
    font-weight: 600;
    padding: .25rem .75rem;
    line-height: 1.35;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}
.dbr-bos-hucre { text-align: center; color: #64748b; }
.dbr-sayfalama {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fc 100%);
    border-top: 1px solid #d7e3f4;
}
.dbr-sayfa-ozet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
}
.dbr-sayfa-ozet strong { color: var(--dbr-lacivert); font-variant-numeric: tabular-nums; }
.dbr-sayfa-nokta {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .2);
}
.dbr-sayfa-ayrac { width: 1px; height: 14px; background: #cbd5e1; }
.dbr-sayfa-araclar { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dbr-sayfa-boyut {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 4px 4px 4px 12px;
    background: #fff;
    border: 1px solid #d7e3f4;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    box-shadow: 0 1px 2px rgba(0, 59, 149, .06);
}
html body .dbr-root .dbr-sayfa-boyut select {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    height: 28px;
    min-width: 58px;
    padding: 0 24px 0 12px;
    border-radius: 999px;
    background-color: var(--dbr-lacivert);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23ffffff' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}
html body .dbr-root .dbr-sayfa-boyut select:focus { outline: none; box-shadow: 0 0 0 3px rgba(0, 59, 149, .2); }
.dbr-sayfa-nav {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: #fff;
    border: 1px solid #d7e3f4;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(0, 59, 149, .06);
}
html body .dbr-root .dbr-sayfa-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--dbr-lacivert);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
html body .dbr-root .dbr-sayfa-btn:hover:not(:disabled) { background: #e8f1ff; }
html body .dbr-root .dbr-sayfa-btn:disabled { color: #cbd5e1; cursor: default; background: transparent; }
.dbr-sayfa-no {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--dbr-lacivert);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
html body .dbr-root .dbr-modal .dbr-sayfalama {
    margin: 12px -16px -16px;
    border-radius: 0 0 14px 14px;
}
.dbr-pasif { margin-left: 8px; font-size: 11px; color: #92400e; background: #fef3c7; border-radius: 999px; padding: 1px 7px; }
.dbr-belge { width: 28px; height: 28px; border-radius: 6px; border: 0; color: #fff; font-weight: 700; cursor: pointer; margin-right: 4px; }
.dbr-belge.b { background: var(--dbr-yesil); }
.dbr-belge.t { background: #0369a1; }
html body .dbr-root .dbr-arka { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 200000; }
html body .dbr-root .dbr-modal { position: fixed; z-index: 200001; top: 24px; left: 50%; transform: translateX(-50%); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 48px); overflow: auto; background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 20px 50px rgba(15, 23, 42, .25); }
html body .dbr-root .dbr-modal.genis { width: min(860px, calc(100vw - 24px)); }
html body .dbr-root .dbr-arka.ust { z-index: 200010; }
html body .dbr-root .dbr-modal.pdf.ust {
    z-index: 200011;
    top: 16px;
    width: min(980px, calc(100vw - 24px));
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
html body .dbr-root .dbr-modal-baslik { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
html body .dbr-root .dbr-modal-baslik h2 { margin: 0; font-size: 18px; min-width: 0; }
html body .dbr-root .dbr-modal-eylem { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.dbr-detay-ust { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 12px; }
.dbr-detay-ust label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #475569; flex: 1; }
html body .dbr-root .dbr-pdf { width: 100%; flex: 1 1 auto; height: calc(100vh - 120px); min-height: 320px; border: 0; border-radius: 8px; background: #f8fafc; }
.dbr-bos { color: #64748b; }
