/*
 * SternTurkey Bootstrap 5 teması: SmartAdmin'in ölçü ve renkleri Bootstrap 5.3 değişkenleri ve bileşen kurallarıyla.
 * Paket sırası: bootstrap.min.css (resmi 5.3.8, yamasız) -> bu dosya -> datatables / SmartAdmin / sayfa stilleri.
 * Bootstrap 3 sınıfı içermez; yalnızca Bootstrap 5 sınıflarının görünümü ayarlanır. .btn-xs uygulamanın kendi düğme boyutudur.
 */

/* ---------------------------------------------------------------- renkler, yazı, köşeler */
:root, [data-bs-theme=light] {
    --bs-font-sans-serif: "Open Sans", Arial, Helvetica, Sans-Serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 13px;
    --bs-body-line-height: 1.42857143;
    --bs-body-color: #333; --bs-body-color-rgb: 51, 51, 51;
    --bs-secondary-color: #999; --bs-secondary-color-rgb: 153, 153, 153;
    --bs-heading-color: inherit;
    --bs-link-color: #3276b1; --bs-link-color-rgb: 50, 118, 177;
    --bs-link-hover-color: #214e75; --bs-link-hover-color-rgb: 33, 78, 117;
    --bs-link-decoration: none;
    --bs-border-color: #ddd;
    --bs-border-radius: 2px; --bs-border-radius-sm: 2px; --bs-border-radius-lg: 3px; --bs-border-radius-xl: 3px; --bs-border-radius-pill: 10px;
    --bs-primary: #3276b1; --bs-primary-rgb: 50, 118, 177;
    --bs-secondary: #999; --bs-secondary-rgb: 153, 153, 153;
    --bs-success: #739e73; --bs-success-rgb: 115, 158, 115;
    --bs-info: #57889c; --bs-info-rgb: 87, 136, 156;
    --bs-warning: #c79121; --bs-warning-rgb: 199, 145, 33;
    --bs-danger: #a90329; --bs-danger-rgb: 169, 3, 41;
    --bs-primary-text-emphasis: #3276b1; --bs-success-text-emphasis: #468847; --bs-info-text-emphasis: #346597;
    --bs-warning-text-emphasis: #c09853; --bs-danger-text-emphasis: #b94a48;
    --bs-primary-bg-subtle: #d6dde7; --bs-success-bg-subtle: #dff0d8; --bs-info-bg-subtle: #d6dde7; --bs-warning-bg-subtle: #fcf8e3; --bs-danger-bg-subtle: #f2dede;
    --bs-primary-border-subtle: #9cb4c5; --bs-success-border-subtle: #468847; --bs-info-border-subtle: #9cb4c5;
    --bs-warning-border-subtle: #dbab57; --bs-danger-border-subtle: #b94a48;
    scroll-behavior: auto;
    /* Kapat (X) düğmesi çizimleri: koyu başlıklarda beyaz */
    --stern-kapat-beyaz: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414%27/%3e%3c/svg%3e");
    --stern-kapat-koyu: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23000%27%3e%3cpath d=%27M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414%27/%3e%3c/svg%3e");
}

/* Yazı rengi yardımcıları SmartAdmin tonlarında (arka plan tonlarından koyu) */
.text-primary { --bs-text-opacity: 1; color: #3276b1 !important; }
.text-success { --bs-text-opacity: 1; color: #468847 !important; }
.text-info { --bs-text-opacity: 1; color: #346597 !important; }
.text-warning { --bs-text-opacity: 1; color: #c09853 !important; }
.text-danger { --bs-text-opacity: 1; color: #b94a48 !important; }
.text-muted, .text-body-secondary { --bs-text-opacity: 1; color: #999 !important; }

/* ---------------------------------------------------------------- tipografi */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit; }
h1, h2, h3, .h1, .h2, .h3 { margin-top: 18px; margin-bottom: 9px; }
h4, h5, h6, .h4, .h5, .h6 { margin-top: 9px; margin-bottom: 9px; }
h1, .h1 { font-size: 24px; } h2, .h2 { font-size: 22px; } h3, .h3 { font-size: 19px; }
h4, .h4 { font-size: 18px; } h5, .h5 { font-size: 17px; } h6, .h6 { font-size: 15px; }
p { margin: 0 0 9px; }
ul, ol { margin-top: 0; margin-bottom: 9px; padding-left: 40px; }
ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; }
small, .small { font-size: 92%; }
b, strong { font-weight: 700; }
hr { margin: 18px 0; border: 0; border-top: 1px solid #eee; opacity: 1; }
legend { float: none; width: 100%; padding: 0; margin-bottom: 18px; font-size: 19.5px; line-height: inherit; color: #333; border-bottom: 1px solid #e5e5e5; }
legend + * { clear: none; }
caption { caption-side: top; }
iframe { border: revert; }
label { margin-bottom: 5px; font-weight: 700; }
code { padding: 2px 4px; font-size: 90%; color: #c7254e; background-color: #f9f2f4; border-radius: 2px; }
pre { padding: 8.5px; margin: 0 0 9px; font-size: 12px; line-height: 1.42857143; color: #333; background-color: #f5f5f5; border: 1px solid #ccc; border-radius: 2px; }

/* ---------------------------------------------------------------- ızgara: SmartAdmin sütun aralığı 26px; sütunlar içerik kadar uzar */
.row { --bs-gutter-x: 26px; --bs-gutter-y: 0; align-items: flex-start; }
/* Sütun olmayan çocuklar (uyarı, başlık, form öğesi) satırı blok gibi doldurur, iç boşluk almaz */
:where(.row > :not([class*="col"]):not(.col)) { flex: 1 1 100%; width: auto; max-width: 100%; padding-left: 0; padding-right: 0; }
/* Satır içinde doğrudan satır (Bootstrap 3 kalıbı): .row > * kuralıyla sütun gibi iç boşluk alıp %100'e sabitlenmesin;
   Bootstrap 3'teki gibi iki yana gutter kadar taşar, böylece içindeki sütunlar dış satırın hizasına oturur */
.row > .row { padding-left: 0; padding-right: 0; width: calc(100% + var(--bs-gutter-x)); max-width: none; }
/* Satır dışında kullanılan sabit sütunlar yan yana dursun */
:where(:not(.row) > .col-1, :not(.row) > .col-2, :not(.row) > .col-3, :not(.row) > .col-4, :not(.row) > .col-5, :not(.row) > .col-6,
       :not(.row) > .col-7, :not(.row) > .col-8, :not(.row) > .col-9, :not(.row) > .col-10, :not(.row) > .col-11, :not(.row) > .col-12) { float: left; }
/* #content sarmalayıcısı olmayan eski sayfalar: satırın negatif kenar boşluğu sayfayı yatayda kaydırmasın */
#main > #widget-grid { overflow-x: clip; }
/* SmartAdmin formu (section.col): dar ekranda alt alta */
@media (max-width: 767.98px) { .smart-form .row > .col { flex: 0 0 100%; max-width: 100%; } }

/* ---------------------------------------------------------------- düğmeler */
.btn { --bs-btn-padding-x: 12px; --bs-btn-padding-y: 6px; --bs-btn-font-size: 13px; --bs-btn-line-height: 1.42857143; --bs-btn-border-radius: 2px;
       --bs-btn-focus-box-shadow: none; --bs-btn-active-border-color: transparent; transition: none; }
.btn:focus, .btn:focus-visible { box-shadow: none; }
.btn-sm, .btn-group-sm > .btn { --bs-btn-padding-x: 10px; --bs-btn-padding-y: 5px; --bs-btn-font-size: 12px; --bs-btn-line-height: 1.5; --bs-btn-border-radius: 2px; }
.btn-xs, .btn-group-xs > .btn { --bs-btn-padding-x: 5px; --bs-btn-padding-y: 1px; --bs-btn-font-size: 12px; --bs-btn-line-height: 1.5; --bs-btn-border-radius: 2px; }
.btn-lg, .btn-group-lg > .btn { --bs-btn-padding-x: 16px; --bs-btn-padding-y: 10px; --bs-btn-font-size: 17px; --bs-btn-line-height: 1.33; --bs-btn-border-radius: 3px; }
.btn-primary { --bs-btn-color: #fff; --bs-btn-bg: #3276b1; --bs-btn-border-color: #2c699d; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #275b89; --bs-btn-hover-border-color: #1f496d;
               --bs-btn-active-color: #fff; --bs-btn-active-bg: #275b89; --bs-btn-active-border-color: #1f496d; --bs-btn-disabled-bg: #3276b1; --bs-btn-disabled-border-color: #2c699d; }
.btn-success { --bs-btn-color: #fff; --bs-btn-bg: #739e73; --bs-btn-border-color: #659265; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #5b835b; --bs-btn-hover-border-color: #4c6e4c;
               --bs-btn-active-color: #fff; --bs-btn-active-bg: #5b835b; --bs-btn-active-border-color: #4c6e4c; --bs-btn-disabled-bg: #739e73; --bs-btn-disabled-border-color: #659265; }
.btn-info { --bs-btn-color: #fff; --bs-btn-bg: #57889c; --bs-btn-border-color: #4e7a8c; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #456b7b; --bs-btn-hover-border-color: #385764;
            --bs-btn-active-color: #fff; --bs-btn-active-bg: #456b7b; --bs-btn-active-border-color: #385764; --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: #57889c; --bs-btn-disabled-border-color: #4e7a8c; }
.btn-warning { --bs-btn-color: #fff; --bs-btn-bg: #c79121; --bs-btn-border-color: #b1811d; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #9b711a; --bs-btn-hover-border-color: #7d5b15;
               --bs-btn-active-color: #fff; --bs-btn-active-bg: #9b711a; --bs-btn-active-border-color: #7d5b15; --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: #c79121; --bs-btn-disabled-border-color: #b1811d; }
.btn-danger { --bs-btn-color: #fff; --bs-btn-bg: #a90329; --bs-btn-border-color: #900323; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #77021d; --bs-btn-hover-border-color: #540114;
              --bs-btn-active-color: #fff; --bs-btn-active-bg: #77021d; --bs-btn-active-border-color: #540114; --bs-btn-disabled-bg: #a90329; --bs-btn-disabled-border-color: #900323; }
/* Açık düğme (SmartAdmin varsayılan düğmesi): beyaz zemin, gri kenar */
.btn-light { --bs-btn-color: #333; --bs-btn-bg: #fff; --bs-btn-border-color: #ccc; --bs-btn-hover-color: #333; --bs-btn-hover-bg: #e6e6e6; --bs-btn-hover-border-color: #adadad;
             --bs-btn-active-color: #333; --bs-btn-active-bg: #e6e6e6; --bs-btn-active-border-color: #adadad; --bs-btn-disabled-color: #333; --bs-btn-disabled-bg: #fff; --bs-btn-disabled-border-color: #ccc; }
.btn-link { --bs-btn-color: #3276b1; --bs-btn-hover-color: #214e75; --bs-btn-active-color: #214e75; text-decoration: none; }
/* Düğme grupları: çocuklar doğal genişlikte */
.btn-group > .btn, .btn-group-vertical > .btn { flex: 0 1 auto; }
.btn-group, .btn-group-vertical { border-radius: 0; }
/* Bölünmüş düğmenin ok kısmı */
.btn-group > .btn + .dropdown-toggle { padding-left: 8px; padding-right: 8px; }
.btn-group > .btn-lg + .dropdown-toggle { padding-left: 12px; padding-right: 12px; }
.btn-close { --bs-btn-close-opacity: .2; --bs-btn-close-hover-opacity: .5; --bs-btn-close-focus-shadow: none; }

/* ---------------------------------------------------------------- form */
.form-control, .form-select { height: 32px; padding: 6px 12px; font-size: 13px; line-height: 1.42857143; color: #555; border: 1px solid #ccc; border-radius: 0;
                              box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); }
.form-select { padding-right: 30px; background-position: right 8px center; }
textarea.form-control, select.form-select[multiple], select.form-select[size]:not([size="1"]) { height: auto; }
.form-control:focus, .form-select:focus { border-color: #66afe9; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6); }
.form-control-sm, .form-select-sm { height: 30px; padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 2px; min-height: 0; }
.form-select-sm { padding-right: 26px; }
.form-control-lg, .form-select-lg { height: 45px; padding: 10px 16px; font-size: 17px; line-height: 1.33; border-radius: 3px; }
.form-control::placeholder { color: #999; }
.form-control:disabled, .form-control[readonly], .form-select:disabled { background-color: #eee; opacity: 1; }
.input-group-text { padding: 6px 12px; font-size: 13px; line-height: 1; color: #555; background-color: #eee; border: 1px solid #ccc; border-radius: 0; }
/* Form grubu (uygulamanın sınıfı): alan + etiket bloğu */
.form-grup { margin-bottom: 15px; }
/* Satır formu (eski form-inline): gruplar ve alanlar yan yana, alt boşluksuz */
.satir-form .form-grup { margin-bottom: 0; }
@media (min-width: 768px) {
    .satir-form .form-grup { display: inline-block; vertical-align: middle; }
    .satir-form .form-control { display: inline-block; width: auto; vertical-align: middle; }
    .satir-form .st-tarih .form-control { display: block; width: 100%; }
    .satir-form .input-group { display: inline-flex; width: auto; vertical-align: middle; }
}
.form-label { margin-bottom: 5px; font-weight: 700; }
.col-form-label { padding-top: 7px; padding-bottom: 7px; margin-bottom: 0; font-size: inherit; line-height: 1.42857143; }
.form-text { display: block; margin-top: 5px; margin-bottom: 10px; font-size: inherit; color: #737373; }
.form-check { min-height: 18px; margin-top: 10px; margin-bottom: 10px; }
.form-check-label, .form-check > label, label.form-check { font-weight: 400; cursor: pointer; }
.form-check-inline { margin-top: 0; margin-bottom: 0; vertical-align: middle; }
.form-check-input { margin-top: .2em; }
/* Onay kutusu ve radyo: tarayıcının yerel görünümü (uygulama genelindeki diğer kutularla aynı); anahtar (form-switch) Bootstrap 5 çizimiyle */
.form-check:not(.form-switch) > .form-check-input, .form-check:not(.form-switch) .form-check-input:not([role=switch]) {
    -webkit-appearance: auto; -moz-appearance: auto; appearance: auto; width: auto; height: auto; margin-top: 3px;
    background: none; border: 0; border-radius: 0; box-shadow: none; filter: none; }
.form-switch .form-check-input:checked { background-color: #3276b1; border-color: #3276b1; }

/* ---------------------------------------------------------------- rozet */
.badge { --bs-badge-padding-x: 7px; --bs-badge-padding-y: 3px; --bs-badge-font-size: 12px; --bs-badge-border-radius: 10px; --bs-badge-font-weight: 700;
         min-width: 10px; vertical-align: middle; background-color: #999; }
/* Durum rozeti (renkli): satır içi etiket boyutu */
.badge[class*="text-bg-"] { --bs-badge-padding-x: .6em; --bs-badge-padding-y: .2em; --bs-badge-font-size: 75%; --bs-badge-border-radius: .25em;
                            display: inline; padding-bottom: .3em; vertical-align: baseline; }

/* ---------------------------------------------------------------- kart (panel / kutu) */
.card { --bs-card-spacer-x: 15px; --bs-card-spacer-y: 15px; --bs-card-cap-padding-x: 15px; --bs-card-cap-padding-y: 10px; --bs-card-border-color: #ddd;
        --bs-card-border-radius: 2px; --bs-card-inner-border-radius: 1px; --bs-card-cap-bg: #f5f5f5; --bs-card-cap-color: #333;
        margin-bottom: 18px; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.card-title { margin-top: 0; margin-bottom: 0; font-size: 15px; }
.card.border-info > .card-header { color: #346597; background-color: #d6dde7; border-color: #9cb4c5; }
.card.border-primary > .card-header { color: #fff; background-color: #3276b1; border-color: #3276b1; }
.card.border-success > .card-header { color: #468847; background-color: #dff0d8; border-color: #468847; }
.card.border-warning > .card-header { color: #c09853; background-color: #fcf8e3; border-color: #dbab57; }
.card.border-danger > .card-header { color: #b94a48; background-color: #f2dede; border-color: #b94a48; }
/* Kutu (SmartAdmin .well; renk/kenar SmartAdmin'den): temel ölçüler, özgüllüğü düşük (sayfa stilleri ezer) */
.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; border-radius: 2px;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); }
.well-kucuk { padding: 9px; border-radius: 2px; }
.well-buyuk { padding: 24px; border-radius: 3px; }
.img-thumbnail { padding: 4px; border-color: #ddd; border-radius: 2px; }

/* ---------------------------------------------------------------- tablo: hücre arka planı ve rengi satıra bırakılır, üst kenarlık
   (Bootstrap 5'in hücre kuralından özgül seçiciler; sayfa stilleri daha özgül yazılmıştır) */
.table { --bs-table-bg: transparent; --bs-table-accent-bg: transparent; --bs-table-striped-bg: transparent; --bs-table-active-bg: transparent;
         --bs-table-hover-bg: transparent; --bs-table-border-color: #ddd; margin-bottom: 18px; }
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 8px; line-height: 1.42857143; vertical-align: top; border-top: 1px solid #ddd; border-bottom-width: 0; color: inherit; background-color: transparent; box-shadow: none; }
.table > thead > tr > th { vertical-align: bottom; border-bottom: 2px solid #ddd; }
.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td { border-top: 0; }
.table > tbody + tbody { border-top: 2px solid #ddd; }
.table-sm > thead > tr > th, .table-sm > tbody > tr > th, .table-sm > tfoot > tr > th, .table-sm > thead > tr > td, .table-sm > tbody > tr > td, .table-sm > tfoot > tr > td { padding: 5px; }
.table-bordered { border: 1px solid #ddd; }
.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td { border: 1px solid #ddd; }
.table-bordered > thead > tr > th, .table-bordered > thead > tr > td { border-bottom-width: 2px; }
.table-striped > tbody > tr:nth-of-type(odd) { background-color: #f9f9f9; }
.table-hover > tbody > tr:hover { background-color: #ecf3f8; }
/* Satır / hücre durum renkleri (SmartAdmin tonları) */
.table > tbody > tr.table-danger, .table > tbody > tr > td.table-danger, .table > tbody > tr > th.table-danger { background-color: #f2dede; }
.table > tbody > tr.table-success, .table > tbody > tr > td.table-success, .table > tbody > tr > th.table-success { background-color: #dff0d8; }
.table > tbody > tr.table-warning, .table > tbody > tr > td.table-warning, .table > tbody > tr > th.table-warning { background-color: #fcf8e3; }
.table > tbody > tr.table-info, .table > tbody > tr > td.table-info, .table > tbody > tr > th.table-info, .table > thead > tr.table-info > th { background-color: #d6dde7; }
.table > tbody > tr.table-active, .table > tbody > tr > td.table-active { background-color: #ecf3f8; }
.table-hover > tbody > tr.table-danger:hover { background-color: #ebcccc; }
.table-hover > tbody > tr.table-success:hover { background-color: #d0e9c6; }
.table-hover > tbody > tr.table-warning:hover { background-color: #faf2cc; }
.table-hover > tbody > tr.table-info:hover { background-color: #c6d0de; }
.table > thead { vertical-align: bottom; }
.table > tbody { vertical-align: inherit; }

/* ---------------------------------------------------------------- açılır menü */
.dropdown-menu { --bs-dropdown-font-size: 13px; --bs-dropdown-padding-y: 5px; --bs-dropdown-min-width: 160px; --bs-dropdown-spacer: 2px; --bs-dropdown-border-radius: 2px;
                 --bs-dropdown-border-color: rgba(0, 0, 0, .15); --bs-dropdown-link-color: #333; --bs-dropdown-link-hover-color: #fff; --bs-dropdown-link-hover-bg: #3276b1;
                 --bs-dropdown-link-active-bg: #3276b1; --bs-dropdown-item-padding-x: 20px; --bs-dropdown-item-padding-y: 3px; --bs-dropdown-divider-margin-y: 8px;
                 --bs-dropdown-divider-bg: #e5e5e5; --bs-dropdown-header-color: #999; --bs-dropdown-header-padding-x: 20px; --bs-dropdown-header-padding-y: 3px;
                 box-shadow: 0 6px 12px rgba(0, 0, 0, .175); }
.dropdown-item { line-height: 1.42857143; }
.dropdown-divider { opacity: 1; }
/* Açılır düğmede açıkça ok ikonu varsa Bootstrap 5 oku eklenmez */
.dropdown-toggle:has(.fa-caret-down, .fa-angle-down, .fa-chevron-down, .fa-sort-down)::after { display: none; }

/* ---------------------------------------------------------------- sekmeler */
.nav { --bs-nav-link-padding-x: 10px; --bs-nav-link-padding-y: 9px; --bs-nav-link-color: #3276b1; --bs-nav-link-hover-color: #214e75; }
.nav-tabs { --bs-nav-tabs-border-color: #ddd; --bs-nav-tabs-border-radius: 2px; --bs-nav-tabs-link-hover-border-color: #eee #eee #ddd;
            --bs-nav-tabs-link-active-color: #555; --bs-nav-tabs-link-active-border-color: #ddd #ddd transparent; }
.nav-tabs .nav-link { margin-right: 2px; line-height: 1.42857143; padding-bottom: 10px; }
.nav-pills { --bs-nav-pills-border-radius: 2px; --bs-nav-pills-link-active-bg: #3276b1; }

/* ---------------------------------------------------------------- diğer bileşenler */
.alert { --bs-alert-padding-x: 15px; --bs-alert-padding-y: 15px; --bs-alert-margin-bottom: 18px; --bs-alert-border-radius: 2px; }
.alert-dismissible { padding-right: 35px; }
.alert-dismissible .btn-close { padding: 17px 12px; }
.list-group { --bs-list-group-item-padding-x: 15px; --bs-list-group-item-padding-y: 10px; --bs-list-group-border-color: #ddd; margin-bottom: 20px; }
.progress { --bs-progress-height: 18px; --bs-progress-font-size: 12px; --bs-progress-bg: #f5f5f5; --bs-progress-border-radius: 2px; --bs-progress-bar-bg: #3276b1;
            margin-bottom: 18px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); }
.pagination { --bs-pagination-padding-x: 12px; --bs-pagination-padding-y: 6px; --bs-pagination-font-size: 14px; --bs-pagination-color: #3276b1;
              --bs-pagination-border-color: #ddd; --bs-pagination-border-radius: 2px; --bs-pagination-hover-color: #214e75; --bs-pagination-hover-bg: #eee;
              --bs-pagination-hover-border-color: #ddd; --bs-pagination-focus-box-shadow: none; --bs-pagination-active-bg: #3276b1; --bs-pagination-active-border-color: #3276b1;
              --bs-pagination-disabled-color: #999; }
.pagination .page-link { line-height: 1.42857143; transition: none; }
.pagination-sm { --bs-pagination-padding-x: 10px; --bs-pagination-padding-y: 5px; --bs-pagination-font-size: 12px; }
.breadcrumb { --bs-breadcrumb-margin-bottom: 18px; --bs-breadcrumb-item-padding-x: 0; --bs-breadcrumb-divider-color: #ccc; }
.tooltip { --bs-tooltip-font-size: 12px; --bs-tooltip-max-width: 200px; --bs-tooltip-padding-x: 8px; --bs-tooltip-padding-y: 3px; --bs-tooltip-border-radius: 4px; font-family: inherit; }
.popover { --bs-popover-font-size: 13px; --bs-popover-max-width: 276px; font-family: inherit; }
.popover .popover-header { font-size: 13px; margin-top: 0; }

/* ---------------------------------------------------------------- modal: Bootstrap 3 genişlikleri ve iç boşlukları */
.modal { --bs-modal-width: 600px; --bs-modal-padding: 20px; --bs-modal-header-padding: 15px; --bs-modal-header-border-color: #e5e5e5;
         --bs-modal-footer-border-color: #e5e5e5; --bs-modal-border-radius: 3px; --bs-modal-inner-border-radius: 2px; --bs-modal-title-line-height: 1.42857143;
         --bs-modal-box-shadow: 0 5px 15px rgba(0, 0, 0, .5); }
.modal-sm { --bs-modal-width: 300px; }
@media (min-width: 992px) { .modal-lg, .modal-xl { --bs-modal-width: 900px; } }
@media (min-width: 1200px) { .modal-xl { --bs-modal-width: 1140px; } }
@media (min-width: 576px) { .modal-dialog { margin-top: 30px; margin-bottom: 30px; } }
.modal-footer { padding: 20px; }
.modal-header .modal-title { font-size: 18px; }

/* ---------------------------------------------------------------- DataTables (Bootstrap 5 entegrasyonu) */
div.dt-container div.dt-length select { width: auto; display: inline-block; }
div.dt-container .dt-paging .pagination { margin: 2px 0; }

/* ---------------------------------------------------------------- summernote 0.9 (Bootstrap 5 derlemesi) */
.note-editor.note-frame.card { border: 1px solid #ddd; border-radius: 4px; color: inherit; box-shadow: none; margin-bottom: 0; }
.note-editor .note-btn-group .note-btn, .note-popover .note-btn-group .note-btn { padding: 6px 10px 5px; font-size: 12px; line-height: 1.5; border-color: #ccc; }

/* select.form-control: SmartAdmin ve sayfa stilleri seçim kutularını .form-control ile boyutlandırır; Bootstrap 5 .form-control'e
   appearance:none verir (açılır ok kaybolur), yerel görünüm geri alınır */
select.form-control { -webkit-appearance: menulist; -moz-appearance: menulist; appearance: auto; }
select.form-control[multiple], select.form-control[size]:not([size="1"]) { -webkit-appearance: listbox; appearance: auto; height: auto; }

/* Satır (.row) dışında kalan sütunlar: kırılım noktasından itibaren yan yana, sütun iç boşluğuyla (görünüm yerleşimi bunu varsayar).
   :where ile özgüllüksüz; sayfa stilleri önce gelir. */
:where(:not(.row) > [class^="col-"]:not(.col-form-label), :not(.row) > [class*=" col-"]) { position: relative; min-height: 1px; padding-left: 13px; padding-right: 13px; }
@media (min-width: 768px) { :where(:not(.row) > [class^="col-md-"], :not(.row) > [class*=" col-md-"]) { float: left; } }
@media (min-width: 992px) { :where(:not(.row) > [class^="col-lg-"], :not(.row) > [class*=" col-lg-"]) { float: left; } }
@media (min-width: 1200px) { :where(:not(.row) > [class^="col-xl-"], :not(.row) > [class*=" col-xl-"]) { float: left; } }
