﻿/* ===== DovidoWeb bileşenleri =====
   Renkler antre-base.css'teki token'lardan gelir (açık / koyu tema otomatik).
   Eski dw-* değişkenleri token'lara bağlandı; yeni stillerde doğrudan --color-* kullanın. */
:root, [data-bs-theme="dark"] {
    --dw-bg: var(--color-page-bg);
    --dw-card: var(--color-surface);
    --dw-border: var(--color-border);
    --dw-text: var(--color-text);
    --dw-muted: var(--color-muted);
    --dw-primary: var(--color-primary);
    --dw-primary-hover: var(--color-accent-strong);
    --dw-danger: var(--color-danger);
    --dw-radius: var(--radius-lg);
}

/* ---- Kabuk eklemeleri ---- */
.app-sidebar .sidebar-brand .brand-link { text-decoration: none; }
.dw-marka-ikon {
    align-items: center; background: var(--color-primary); border-radius: var(--radius-md); color: #fff;
    display: inline-flex; font-size: 1rem; height: 2rem; justify-content: center; width: 2rem;
}
.dw-marka-yazi { font-size: 1.15rem; font-weight: 700; letter-spacing: var(--letter-spacing-tight); }
.app-sidebar .nav-link small.dw-yakinda { font-size: .7rem; margin-left: auto; opacity: .7; }
.app-content-header .dw-sayfa-alt { color: var(--color-muted); font-size: .8125rem; }
.app-content .container-fluid { padding-bottom: 5rem; }

/* ---- Kartlar ---- */
.dw-card {
    background: var(--color-surface);
    border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    color: var(--color-text);
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
}
.dw-title {
    align-items: center; color: var(--color-text); display: flex; font-size: 1rem; font-weight: 600; gap: .5rem;
    letter-spacing: var(--letter-spacing-tight); margin: 0 0 1rem;
}
.dw-title .bi { color: var(--color-primary); }
.dw-title .ms-auto { margin-left: auto; }

/* Liste üst çubuğu: arama + butonlar (sayfa başlığı içerik başlığında; çubuktaki başlık gizlenir) */
.dw-toolbar { align-items: flex-end; display: flex; flex-wrap: wrap; gap: .75rem; padding: .875rem 1.25rem; }
.dw-toolbar > .dw-title { display: none; }
.dw-toolbar .dw-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; }

.dw-form-bolum {
    border-bottom: 1px solid var(--color-border); color: var(--color-muted); font-size: .75rem; font-weight: 600;
    letter-spacing: .04em; margin: 1.25rem 0 .75rem; padding-bottom: .4rem; text-transform: uppercase;
}
.dw-form-bolum:first-of-type { margin-top: .25rem; }

/* ---- Form ---- */
.form-label.zorunlu::after { color: var(--color-danger); content: " *"; }
.form-check-input:checked { background-color: var(--color-primary); border-color: var(--color-primary); }
.field-validation-error { color: var(--color-danger); display: block; font-size: .8rem; margin-top: .2rem; }
.input-validation-error { border-color: var(--color-danger) !important; }
.validation-summary-errors ul { margin: 0; padding-left: 1rem; }

/* ---- Butonlar ---- */
.btn-light { background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text); }
.btn-light:hover, .btn-light:focus { background: var(--color-surface-hover); border-color: var(--color-border); color: var(--color-text); }
.btn-soft { background: var(--color-primary-soft); border: 1px solid var(--color-primary-border); color: var(--color-accent-strong); }
.btn-soft:hover, .btn-soft:focus { background: var(--color-accent-soft); color: var(--color-accent-strong); }
.btn-sil { background: var(--color-surface); border: 1px solid var(--color-danger-border); color: var(--color-danger); }
.btn-sil:hover { background: var(--color-danger-soft); color: var(--color-danger); }

/* ---- Uyarılar ---- */
.dw-alert {
    align-items: center; border: 1px solid transparent; border-radius: var(--radius-md); box-shadow: var(--shadow-subtle);
    display: flex; gap: .5rem; padding: .7rem 1rem;
}
.dw-alert.alert-success { background: var(--color-success-soft); border-color: var(--color-success-border); color: var(--color-success); }
.dw-alert.alert-danger { background: var(--color-danger-soft); border-color: var(--color-danger-border); color: var(--color-danger); }
.dw-alert.alert-info { background: var(--color-info-soft); border-color: var(--color-info-border); color: var(--color-info); }
.dw-alert.alert-warning { background: var(--color-warning-soft); border-color: var(--color-warning-border); color: var(--color-warning); }

/* ---- Sekmeler ---- */
.dw-tabs { border-bottom: 1px solid var(--color-border); gap: .25rem; margin-top: 1.5rem; }
.dw-tabs .nav-link {
    background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
    color: var(--color-muted); font-weight: 500; padding: .65rem .9rem;
}
.dw-tabs .nav-link:hover { color: var(--color-text); }
.dw-tabs .nav-link.active { border-bottom-color: var(--color-primary); color: var(--color-primary); }

/* ---- Tablolar ---- */
.dw-table-wrap { overflow: hidden; padding: 0; }
.dw-table-wrap .table-responsive { -webkit-overflow-scrolling: touch; overflow-x: auto; }
.dw-table { margin: 0; }
.dw-table th, .dw-table td { white-space: nowrap; }
.dw-table thead th {
    background: var(--color-surface-muted); border-bottom: 1px solid var(--color-border); color: var(--color-muted);
    font-size: .75rem; font-weight: 600; letter-spacing: .02em; padding: .7rem 1rem; text-transform: uppercase;
}
.dw-table td { padding: .65rem 1rem; vertical-align: middle; }
.dw-table tbody tr:hover > * { background-color: var(--color-surface-hover); }
.dw-table td.dw-sag, .dw-table th.dw-sag { text-align: right; }
.dw-islem { display: flex; gap: .4rem; justify-content: flex-end; }
.dw-empty { color: var(--color-muted); padding: 2.5rem 0; text-align: center; }
.dw-empty .bi { display: block; font-size: 1.75rem; margin-bottom: .5rem; opacity: .6; }
.dw-footer-note { border-top: 1px solid var(--color-border); color: var(--color-muted); font-size: .8125rem; padding: .65rem 1rem; }

/* ---- Rozetler ---- */
.dw-badge { border-radius: 999px; display: inline-block; font-size: .75rem; font-weight: 600; padding: .2rem .65rem; }
.dw-badge-var { background: var(--color-success-soft); color: var(--color-success); }
.dw-badge-yok { background: var(--color-surface-muted); border: 1px solid var(--color-border); color: var(--color-muted); }
.dw-badge-kismi { background: var(--color-warning-soft); color: var(--color-warning); }
.dw-badge-tam { background: var(--color-danger-soft); color: var(--color-danger); margin-right: .25rem; }
.dw-badge-muhasebe { background: var(--color-primary-soft); color: var(--color-accent-strong); }
.dw-badge-yonetim { background: var(--color-info-soft); color: var(--color-info); }
.dw-badge-ret { background: var(--color-danger-soft); color: var(--color-danger); }
.dw-sekme-sayi {
    background: var(--color-danger); border-radius: 10px; color: #fff; display: inline-block; font-size: .7rem; font-weight: 700;
    line-height: 18px; margin-left: .25rem; min-width: 20px; padding: 0 .4rem; text-align: center;
}

/* ---- Modal ---- */
.dw-modal .modal-body { padding: 1.4rem 1.5rem .5rem; }

/* ---- Alt kaydet çubuğu (sipariş) ---- */
.dw-savebar {
    align-items: center; backdrop-filter: blur(4px); background: color-mix(in srgb, var(--color-surface) 94%, transparent);
    border: 1px solid var(--color-border); border-radius: var(--radius-lg); bottom: .75rem; box-shadow: var(--shadow-elevated);
    display: flex; gap: .5rem; justify-content: space-between; margin-top: 1rem; padding: .65rem 1rem; position: sticky; z-index: 10;
}
.dw-toplamlar, .dw-toplam-satir { align-items: center; color: var(--color-muted); display: flex; flex-wrap: wrap; font-size: .875rem; gap: 1.25rem; }
.dw-toplam-satir b { color: var(--color-text); }
.dw-toplam-satir span:last-child b { color: var(--color-primary); }

/* ---- Ana sayfa modülleri ---- */
.dw-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.dw-tile {
    background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
    color: var(--color-text); display: flex; flex-direction: column; gap: .2rem; padding: 1.15rem 1.25rem; text-decoration: none;
    transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.dw-tile:hover { border-color: var(--color-primary-border); box-shadow: var(--shadow-elevated); color: var(--color-text); transform: translateY(-2px); }
.dw-tile .bi {
    align-items: center; background: var(--color-primary-soft); border-radius: var(--radius-md); color: var(--color-accent-strong);
    display: inline-flex; font-size: 1.35rem; height: 2.75rem; justify-content: center; margin-bottom: .5rem; width: 2.75rem;
}
.dw-tile-baslik { font-weight: 600; }
.dw-tile-aciklama { color: var(--color-muted); font-size: .8125rem; }
.dw-tile-pasif { background: var(--color-surface-muted); opacity: .7; }
.dw-tile-pasif:hover { transform: none; }

/* ---- Seçim kutuları (grup / yetki / üye) ---- */
.dw-secim-listesi { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.dw-secim {
    align-items: flex-start; border: 1px solid var(--color-border); border-radius: var(--radius-md); cursor: pointer;
    display: flex; gap: .6rem; padding: .65rem .8rem;
}
.dw-secim:hover { background: var(--color-surface-hover); }
.dw-secim:has(input:checked) { background: var(--color-primary-soft); border-color: var(--color-primary-border); }
.dw-secim .form-check-input { flex-shrink: 0; margin-top: .2rem; }
.dw-secim span { display: flex; flex-direction: column; font-size: .875rem; }
.dw-secim small { color: var(--color-muted); font-size: .75rem; }
.dw-secim.pasif { opacity: .55; }
.dw-yetki-bolum { color: var(--color-text); font-size: .8125rem; font-weight: 600; margin: .65rem 0 .4rem; }

/* ---- Bildirim zili (üst çubuk) ---- */
.dw-zil { position: relative; }
.dw-zil .bi-bell { font-size: 1.1rem; }
.dw-zil-sayi {
    background: var(--color-danger); border-radius: 9px; color: #fff; font-size: .68rem; font-weight: 700; height: 18px; line-height: 18px;
    min-width: 18px; padding: 0 5px; position: absolute; right: 0; text-align: center; top: 2px;
}
.dw-zil-menu { border-color: var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-elevated); max-width: calc(100vw - 24px); overflow: hidden; padding: 0; width: 360px; }
.dw-zil-ust { align-items: center; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; padding: .65rem .9rem; }
.dw-zil-ust .btn-link { font-size: .8rem; min-height: 0; text-decoration: none; }
.dw-zil-liste { max-height: 380px; overflow-y: auto; }
/* Telefonda zil menüsü ekranın soluna taşmasın: iki kenara 12px boşlukla sabitle */
@media (max-width: 575.98px) {
    .dw-zil-menu.show {
        inset: calc(env(safe-area-inset-top, 0px) + 58px) 12px auto 12px !important;
        max-width: none; position: fixed !important; transform: none !important; width: auto;
        /* Menünün tamamı ekrana sığsın, sığmazsa kendi içinde kaysın (alttaki bildirim butonuna ulaşılsın) */
        max-height: calc(100vh - env(safe-area-inset-top, 0px) - 70px);
        max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 70px);
        overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    }
    .dw-zil-liste { max-height: none; overflow: visible; }
}
.dw-zil-bos { color: var(--color-muted); font-size: .875rem; padding: 1.5rem .9rem; text-align: center; }
.dw-zil-alt { border-top: 1px solid var(--color-border); display: block; font-size: .875rem; padding: .6rem; text-align: center; text-decoration: none; }

.dw-bildirim { border-bottom: 1px solid var(--color-border); color: var(--color-text); display: flex; flex-direction: column; gap: 2px; padding: .65rem .9rem; text-decoration: none; }
.dw-bildirim:last-child { border-bottom: 0; }
.dw-bildirim:hover { background: var(--color-surface-hover); color: var(--color-text); }
.dw-bildirim.yeni { background: var(--color-primary-soft); border-left: 3px solid var(--color-primary); padding-left: calc(.9rem - 3px); }
.dw-bildirim-baslik { font-size: .875rem; font-weight: 600; }
.dw-bildirim-mesaj { color: var(--color-muted); font-size: .8125rem; }
.dw-bildirim-zaman { color: var(--color-muted); font-size: .75rem; }

.dw-toast-alan { bottom: 16px; display: flex; flex-direction: column; gap: 8px; max-width: 360px; position: fixed; right: 16px; z-index: 1080; }
.dw-toast {
    align-items: flex-start; animation: dwToastGel .25s ease-out; background: var(--color-surface); border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-elevated); color: var(--color-text);
    display: flex; gap: .6rem; padding: .75rem .75rem .75rem .9rem; text-decoration: none;
}
.dw-toast:hover { background: var(--color-surface-hover); color: var(--color-text); }
.dw-toast > .bi { color: var(--color-primary); font-size: 1.1rem; margin-top: 1px; }
.dw-toast span { display: flex; flex: 1; flex-direction: column; font-size: .875rem; gap: 2px; }
.dw-toast small { color: var(--color-muted); font-size: .8rem; }
@keyframes dwToastGel { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 991.98px) { .dw-toast-alan { bottom: 12px; left: 12px; max-width: none; right: 12px; } }

/* ---- Tom Select (aranabilir seçim) ---- */
.ts-wrapper.form-select { border-color: var(--color-border); border-radius: var(--radius-md); min-height: 2.5rem; padding: 0; }
.ts-wrapper.form-select.focus { border-color: var(--color-primary); box-shadow: 0 0 0 .2rem var(--color-primary-border); }
.ts-wrapper.form-select-sm { font-size: .875rem; min-height: 2.25rem; }
.ts-wrapper .ts-control { background: var(--color-surface); border: 0; color: var(--color-text); min-height: 2.4rem; }
.ts-wrapper.disabled .ts-control { background: var(--color-surface-muted); }
.ts-dropdown { background: var(--color-surface); border-color: var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-elevated); color: var(--color-text); font-size: .875rem; z-index: 1060; }
.ts-dropdown .active { background: var(--color-primary-soft); color: var(--color-accent-strong); }

/* ---- Müşteri siparişi: kalem tablosu ---- */
.dw-kalem-table { min-width: 1100px; table-layout: fixed; width: 100%; }
.dw-kalem-table td, .dw-kalem-table thead th { padding: .4rem .5rem; vertical-align: middle; }
.dw-kalem-table thead th { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Giriş kutuları (adet, fiyat, iskonto): başlık ve değer ortalı */
.dw-kalem-table .form-control-sm { font-size: .875rem; margin: 0 auto; max-width: 110px; padding-inline: .35rem; text-align: center; width: 100%; }
.dw-kalem-table .dw-oku { color: var(--color-muted); text-align: right; }
.dw-kalem-table .dw-tutar { font-weight: 600; text-align: right; }
.dw-kalem-table td:last-child { text-align: center; }

/* ---- Bilgi listesi / notlar ---- */
.dw-bilgi { display: grid; font-size: .875rem; gap: .4rem .75rem; grid-template-columns: 130px 1fr; margin: 0; }
.dw-bilgi dt { color: var(--color-muted); font-weight: 500; }
.dw-bilgi dd { margin: 0; word-break: break-word; }
.dw-notlar { max-height: 520px; overflow-y: auto; }
.dw-not { border-bottom: 1px solid var(--color-border); padding: .5rem 0; }
.dw-not:last-child { border-bottom: 0; }
.dw-not-metin { font-size: .875rem; margin-top: 2px; white-space: pre-wrap; }

/* Fatura geçmişi: solda tarih/saat, sağda işlem + kimden → kime + açıklama */
.dw-gecmis-satir { border-bottom: 1px solid var(--color-border); display: grid; gap: .75rem; grid-template-columns: 78px 1fr; padding: .6rem 0; }
.dw-gecmis-satir:last-child { border-bottom: 0; }
.dw-gecmis-zaman { color: var(--color-muted); font-size: .78rem; line-height: 1.35; padding-top: 2px; }
.dw-gecmis-zaman div:first-child { color: var(--color-text, inherit); font-weight: 600; }
.dw-gecmis-yol { align-items: center; display: flex; flex-wrap: wrap; font-size: .875rem; gap: .35rem; margin-top: .3rem; }
.dw-gecmis-kisi { font-weight: 600; }
.dw-gecmis-ok { color: var(--color-muted); font-size: .8rem; }
.dw-gecmis-aciklama {
    background: var(--color-surface-muted); border-left: 3px solid var(--color-border); border-radius: 6px;
    font-size: .85rem; margin-top: .4rem; padding: .35rem .6rem; white-space: pre-wrap;
}

/* ---- Fatura onayı ---- */
.dw-fatura-sekme { flex-wrap: nowrap; margin-top: 0; overflow-x: auto; }
.dw-fatura-sekme .nav-link { white-space: nowrap; }
.dw-zil-push { align-items: center; border-top: 1px solid var(--color-border); display: flex; flex-wrap: wrap; font-size: .8rem; gap: .4rem; padding: .6rem .9rem; }
.dw-zil-push > span { flex: 1; }
.dw-push-linkler { flex: 0 0 auto !important; white-space: nowrap; }
.dw-geri-not { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-fatura-detay { align-items: start; display: grid; gap: 1rem; grid-template-columns: minmax(400px, 2fr) 3fr; }
@media (min-width: 1600px) { .dw-fatura-detay { grid-template-columns: minmax(480px, 5fr) 7fr; } }
.dw-fatura-sag { overflow: hidden; position: sticky; top: calc(var(--header-height) + 1rem); }
.dw-pdf-ust { align-items: center; border-bottom: 1px solid var(--color-border); color: var(--color-muted); display: flex; font-size: .8125rem; justify-content: space-between; padding: .6rem .9rem; }
.dw-pdf { background: var(--color-surface-muted); border: 0; display: block; height: calc(100vh - 190px); min-height: 500px; width: 100%; }
.dw-islem-kart .dw-form-bolum { margin-top: .9rem; }
.dw-islem-kart textarea { font-size: .9375rem; min-height: 90px; resize: vertical; }
.dw-islem-kart #genelNot { min-height: 110px; }
@media (max-width: 991.98px) {
    .dw-fatura-detay { grid-template-columns: 1fr; }
    .dw-fatura-sag { position: static; }
    .dw-pdf { height: 70vh; }
}

/* ===== Giriş sayfası (Antre giriş tasarımı) ===== */
.dw-giris-sayfa { background-color: var(--color-surface); color: var(--color-text); min-height: 100vh; }
.dw-giris-kabuk { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 992px) { .dw-giris-kabuk { grid-template-columns: minmax(320px, 1fr) minmax(380px, 1fr); } }
.dw-giris-marka-panel {
    background: linear-gradient(145deg, var(--color-accent-strong) 0%, var(--color-primary) 100%);
    color: #fff; overflow: hidden; padding: 2.5rem 2rem; position: relative;
}
.dw-giris-marka-panel::before {
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 32px 32px; content: ""; inset: 0; pointer-events: none; position: absolute;
}
.dw-giris-marka-panel::after { background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, .15) 0%, transparent 50%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.dw-giris-marka-ic { display: flex; flex-direction: column; gap: 1rem; max-width: 28rem; position: relative; z-index: 1; }
@media (min-width: 992px) { .dw-giris-marka-panel { align-items: center; display: flex; justify-content: center; padding: 3rem; } }
.dw-giris-logo { align-items: center; display: inline-flex; font-size: 2rem; font-weight: 700; gap: .75rem; letter-spacing: -.02em; }
.dw-giris-logo .bi { align-items: center; background: rgba(255, 255, 255, .15); border-radius: .75rem; display: inline-flex; height: 3rem; justify-content: center; width: 3rem; }
.dw-giris-slogan { font-size: 1.05rem; line-height: 1.5; margin: 0; opacity: .92; }
.dw-giris-ozellikler { display: none; flex-direction: column; gap: .65rem; list-style: none; margin: 1rem 0 0; padding: 0; }
@media (min-width: 992px) { .dw-giris-ozellikler { display: flex; } }
.dw-giris-ozellikler li { align-items: center; display: flex; font-size: .9375rem; gap: .625rem; opacity: .9; }
.dw-giris-ana { align-items: center; background: var(--color-page-bg); display: flex; flex-direction: column; justify-content: center; padding: 2rem 1.25rem; }
.dw-giris-kart {
    background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 1rem; box-shadow: 0 1.25rem 3rem rgba(31, 45, 61, .12);
    max-width: 420px; padding: 2rem 1.75rem; width: 100%;
}
.dw-giris-kart h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .35rem; }
.dw-giris-kart .dw-giris-alt { color: var(--color-muted); font-size: .9375rem; margin: 0 0 1.5rem; }
.dw-giris-form { display: flex; flex-direction: column; gap: 1.1rem; }
.dw-giris-alan label { color: var(--color-text); font-size: .875rem; font-weight: 500; margin-bottom: .35rem; }
.dw-giris-kutu-ic { position: relative; }
.dw-giris-kutu-ic > .bi { color: var(--color-muted); left: .875rem; pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.dw-giris-sayfa .dw-giris-input { border-radius: .625rem; font-size: .9375rem; padding: .625rem 2.75rem .625rem 2.5rem; }
.dw-sifre-goster {
    align-items: center; background: transparent; border: 0; color: var(--color-muted); cursor: pointer; display: flex; height: 2rem;
    justify-content: center; padding: 0; position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); width: 2rem; z-index: 2;
}
.dw-sifre-goster:hover { color: var(--color-accent-strong); }
.dw-giris-hata { background: var(--color-danger-soft); border: 1px solid var(--color-danger-border); border-radius: var(--radius-md); color: var(--color-danger); font-size: .875rem; padding: .75rem 1rem; }
.dw-giris-hata ul { list-style: none; margin: 0; padding: 0; }
.dw-giris-sayfa .dw-giris-btn {
    background: linear-gradient(135deg, var(--color-accent-strong) 0%, var(--color-primary) 100%); border: 0; border-radius: .625rem; color: #fff;
    font-size: .9375rem; font-weight: 500; padding: .625rem 1.25rem; transition: transform .15s ease, box-shadow .15s ease; width: 100%;
}
.dw-giris-sayfa .dw-giris-btn:hover { box-shadow: 0 .5rem 1.25rem var(--color-primary-border); color: #fff; transform: translateY(-1px); }
.dw-giris-not { color: var(--color-muted); font-size: .8125rem; margin: 1.5rem 0 0; text-align: center; }
.dw-giris-tema { position: absolute; right: 1rem; top: 1rem; z-index: 5; }
[data-bs-theme="dark"] .dw-giris-sayfa .dw-giris-input { background: var(--color-surface-muted); }
@media (max-width: 991.98px) {
    .dw-giris-marka-panel { padding: 1.75rem 1.25rem; }
    .dw-giris-logo { font-size: 1.5rem; }
    .dw-giris-slogan { font-size: .875rem; }
}

/* ---- Dovido logosu (şeffaf PNG, 90x79) ---- */
.app-sidebar .sidebar-brand .brand-link { justify-content: center; padding-block: .5rem; }
.app-sidebar img.brand-image.dw-logo { height: 3.25rem; max-width: none; width: auto; }
.sidebar-collapse .app-sidebar img.brand-image.dw-logo { height: 2.25rem; }
.dw-giris-logo-resim { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); height: 7.5rem; width: auto; }
@media (max-width: 991.98px) { .dw-giris-logo-resim { height: 4.5rem; } }
