/* =====================================================================
   ALEDA ERP — Üçüncü parti eklentilerin görünümü
   DataTables (BS5 entegrasyonu), Select2, SweetAlert2, SmartSelect,
   jQuery UI. Davranışa dokunmaz, yalnızca görünüm.
   ===================================================================== */

/* ---------- DataTables ----------
   Sayfa hangi dom dizilimini verirse versin (A.DOM, eski "Blfrtip", bootstrap satırları)
   kontroller aynı yerleşir: üstte düğmeler + sayfa boyu solda, arama sağda; altta bilgi solda,
   sayfalama sağda. Tablo ve satırlar tam genişlik. */
.dataTables_wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    color: var(--a-yazi);
    font-size: 13px;
}
.dataTables_wrapper > * { flex: 1 1 100%; min-width: 0; }
.dataTables_wrapper > .dt-buttons,
.dataTables_wrapper > .dataTables_length,
.dataTables_wrapper > .dataTables_filter,
.dataTables_wrapper > .dataTables_info,
.dataTables_wrapper > .dataTables_paginate { flex: 0 1 auto; }
div.dataTables_wrapper > div.dataTables_filter,
div.dataTables_wrapper > div.dataTables_paginate { margin-left: auto; }
.dataTables_wrapper > .dataTables_processing { flex: none; }
.dataTables_wrapper > .clear { display: none; }
.dataTables_wrapper .top, .dataTables_wrapper .bottom, .dataTables_wrapper .dt-ust, .dataTables_wrapper .dt-alt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}
div.dataTables_wrapper :is(.top, .bottom, .dt-ust, .dt-alt) > div:is(.dataTables_filter, .dataTables_paginate) { margin-left: auto; }
.dataTables_wrapper .row { align-items: center; row-gap: 8px; }
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_info {
    color: var(--a-yazi-2);
    font-size: 12.5px;
    font-weight: 400;
    margin: 0;
    padding: 0 !important;
    text-align: left;
    white-space: nowrap;
}
.dataTables_wrapper .dataTables_info { color: var(--a-yazi-3); }
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    height: var(--a-kontrol-kucuk);
    margin: 0 6px;
    padding: 0 8px;
    border: 1px solid var(--a-cizgi-guclu);
    border-radius: var(--a-radius);
    background-color: var(--a-yuzey);
    color: var(--a-yazi);
    font-size: 12.5px;
    display: inline-block;
    width: auto;
}
.dataTables_wrapper .dataTables_length select { padding-right: 24px; }
/* Arama: "Ara:" etiketi yerine simgeli kutu (etiket metni ekran okuyucuda kalır) */
.dataTables_wrapper .dataTables_filter { text-align: right; }
.dataTables_wrapper .dataTables_filter label { position: relative; display: inline-flex; align-items: center; font-size: 0; }
.dataTables_wrapper .dataTables_filter label::before {
    content: "\f002";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font: 900 11px/1 "Font Awesome 6 Free", "Font Awesome 5 Free";
    color: var(--a-yazi-3);
    pointer-events: none;
}
.dataTables_wrapper .dataTables_filter input { min-width: 220px; margin: 0; padding-left: 28px; font-size: 12.5px; }
.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus { border-color: var(--a-vurgu); box-shadow: var(--a-odak); outline: 0; }

table.dataTable { border-collapse: collapse !important; margin-top: 0 !important; margin-bottom: 0 !important; width: 100% !important; }
table.dataTable > thead > tr > th, table.dataTable > thead > tr > td { border-bottom: 0 !important; }
/* Sıralama okları: başlık metninin sağında küçük çift ok, etkin yön vurgu renginde */
table.dataTable thead > tr > th.sorting,
table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc,
table.dataTable thead > tr > th.sorting_asc_disabled,
table.dataTable thead > tr > th.sorting_desc_disabled { padding-right: 24px; cursor: pointer; }
table.dataTable thead > tr > th.sorting:hover, table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc { color: var(--a-yazi); }
table.dataTable thead > tr > th:is(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled)::before,
table.dataTable thead > tr > th:is(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled)::after {
    right: 9px !important;
    font-size: 7.5px !important;
    line-height: 8px !important;
    opacity: .28;
    color: var(--a-yazi-3);
}
table.dataTable thead > tr > th:is(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled)::before { bottom: calc(50% - 1px) !important; }
table.dataTable thead > tr > th:is(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled)::after { top: calc(50% + 1px) !important; }
table.dataTable thead > tr > th.sorting_asc::before,
table.dataTable thead > tr > th.sorting_desc::after { opacity: 1; color: var(--a-vurgu); }
/* DataTables'ın kutu gölgesiyle boyadığı zebra / üzerine gelme / seçim katmanları kapatılır;
   satır renkleri components.css'teki tek tablo temasından gelir. DataTables 1.13 bu katmanları
   --dt-row-* değişkenleriyle çizer: geçersiz değer verilince gölge hiç oluşmaz. */
:root {
    --dt-row-hover: yok;
    --dt-row-stripe: yok;
    --dt-row-selected: yok;
    --dt-row-selected-text: yok;
    --dt-row-selected-link: yok;
    --dt-column-ordering: yok;
}
table.table.dataTable > tbody > tr > *,
table.table.dataTable.table-striped > tbody > tr > *,
table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) > *,
table.table.dataTable.table-hover > tbody > tr:hover > *,
table.dataTable > tbody > tr > * { box-shadow: none; }
table.dataTable > tbody > tr.selected > *, table.dataTable > tbody > tr.selected a { color: var(--a-yazi) !important; }
table.dataTable > tbody > tr.selected > :first-child { box-shadow: inset 3px 0 0 var(--a-vurgu) !important; }
table.dataTable > tbody > tr.child ul.dtr-details > li { border-bottom-color: var(--a-cizgi); }
table.dataTable > tbody > tr.child:hover > * { background-color: transparent; }
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
    background-color: var(--a-vurgu);
    border: 0;
    box-shadow: none;
}
/* Kaydırmalı (scrollX/scrollY) tablolar: gövdedeki gizli başlık satırı yapışkan olmaz */
.dataTables_scrollBody table.table > thead > tr > th, .dataTables_scrollBody table.table > thead > tr > td { position: static !important; box-shadow: none !important; }
.dataTables_scrollHead { background: var(--a-yuzey-2); }
.dataTables_scrollBody { border-bottom: 0 !important; }
div.dataTables_processing {
    background: var(--a-yuzey) !important;
    border: 1px solid var(--a-cizgi) !important;
    border-radius: var(--a-radius-buyuk) !important;
    box-shadow: var(--a-golge-2);
    color: var(--a-yazi-2) !important;
    font-size: 13px !important;
    padding: 12px 18px !important;
    z-index: 5;
}
div.dataTables_processing > div:last-child > div { background: var(--a-vurgu); }

.dataTables_wrapper .dataTables_paginate { padding: 0; margin-top: 0; margin-bottom: 0; }
.dataTables_wrapper .dataTables_paginate .pagination { margin: 0; justify-content: flex-end; flex-wrap: wrap; }
.dataTables_wrapper .dataTables_paginate .page-link { min-width: 30px; height: 30px; font-size: 12.5px; }
.dataTables_wrapper .dataTables_paginate .page-item.previous .page-link,
.dataTables_wrapper .dataTables_paginate .page-item.next .page-link { padding: 0 11px; }
@media (max-width: 575.98px) {
    div.dataTables_wrapper > div.dataTables_filter, div.dataTables_wrapper > div.dataTables_paginate { margin-left: 0; flex-basis: 100%; }
    .dataTables_wrapper .dataTables_filter input { min-width: 0; width: 100%; }
    .dataTables_wrapper .dataTables_filter label { display: flex; }
    .dataTables_wrapper .dataTables_paginate .pagination { justify-content: flex-start !important; }
}

/* Dışa aktarma düğmeleri (Excel / PDF / Yazdır ...): nötr, simge renkli */
div.dt-buttons { display: inline-flex; flex-wrap: wrap; gap: 6px; float: none; }
div.dt-buttons > .dt-buttons { margin: 0; }
div.dt-buttons > .btn, div.dt-buttons > .dt-button, .dt-buttons .btn-secondary, .dt-buttons .btn {
    min-height: var(--a-kontrol-kucuk);
    padding: 0 10px;
    margin: 0 !important;
    border: 1px solid var(--a-cizgi-guclu) !important;
    border-radius: var(--a-radius) !important;
    background: var(--a-yuzey) !important;
    color: var(--a-yazi-2) !important;
    font-size: 12.5px;
    font-weight: 500;
    box-shadow: none !important;
}
div.dt-buttons > .btn:hover, div.dt-buttons > .dt-button:hover, .dt-buttons .btn:hover { background: var(--a-yuzey-2) !important; color: var(--a-yazi) !important; }
.dt-buttons .buttons-excel i, .dt-buttons .buttons-excel .fa-file-excel { color: var(--a-yesil-yazi); }
.dt-buttons .buttons-pdf i { color: var(--a-kirmizi-yazi); }
.dt-buttons .buttons-csv i { color: var(--a-mavi-yazi); }
.dt-buttons .buttons-print i, .dt-buttons .buttons-copy i, .dt-buttons .buttons-colvis i { color: var(--a-yazi-3); }
div.dt-button-collection { border-radius: var(--a-radius-buyuk); border: 1px solid var(--a-cizgi); box-shadow: var(--a-golge-2); padding: 6px; background: var(--a-yuzey); }
div.dt-button-collection .dt-button { border-radius: var(--a-radius); }
div.dt-button-collection .dt-button.active, div.dt-button-collection .dt-button.dt-button-active { background: var(--a-vurgu-acik) !important; color: var(--a-vurgu-yazi) !important; }
div.dt-button-info { background: var(--a-yuzey) !important; color: var(--a-yazi) !important; border: 1px solid var(--a-cizgi) !important; border-radius: var(--a-radius-buyuk) !important; box-shadow: var(--a-golge-3) !important; }

/* ---------- Select2 — tema "aleda" ----------
   Tüm açılır listeler js/aleda/aleda-sec.js ile Select2 olur (theme: 'aleda'). select2.min.css yalnız iskeleti
   verir; renk, ölçü, odak ve koyu tema burada, tokens ile. Ölçüler değişkenle verilir; tablet kopyası yalnız
   bu değişkenleri büyütür. Kap sınıfları: .a-sec-kucuk (form-control-sm), .a-sec-salt (readonly),
   .is-invalid / .is-valid (select'ten yansır). Açılır liste select'in bulunduğu pencereye / çekmeceye eklenir. */
.select2-container--aleda {
    --sec-yuk: var(--a-kontrol);
    --sec-yazi: 13.5px;
    --sec-yuk-kucuk: var(--a-kontrol-kucuk);
    --sec-yazi-kucuk: 12.5px;
    --sec-secenek-d: 7px;
    --sec-secenek-y: 12px;
    --sec-secenek-yazi: 13px;
    --sec-secenek-yuk: 0px;
    --sec-arama-yuk: 30px;
    --sec-liste-yuk: 300px;
    font-family: var(--a-font);
    font-size: var(--sec-yazi);
    color: var(--a-yazi);
    text-align: left;
    vertical-align: middle;
}

/* Kontrol: .form-control ile aynı boy ve kenar */
.select2-container--aleda .select2-selection {
    position: relative;
    box-sizing: border-box;
    border: 1px solid var(--a-cizgi-guclu);
    border-radius: var(--a-radius);
    background: var(--a-yuzey);
    color: var(--a-yazi);
    outline: 0;
    transition: border-color var(--a-hiz), box-shadow var(--a-hiz);
}
.select2-container--aleda .select2-selection--single {
    display: flex;
    align-items: center;
    height: var(--sec-yuk);
    padding: 0 30px 0 10px;
    cursor: pointer;
}
.select2-container--aleda .select2-selection--single .select2-selection__rendered {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    line-height: 1.3;
    color: var(--a-yazi);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.select2-container--aleda .select2-selection--single .select2-selection__placeholder { color: var(--a-yazi-3); }
.select2-container--aleda .select2-selection--single .select2-selection__arrow {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.select2-container--aleda .select2-selection--single .select2-selection__arrow b {
    display: block;
    width: 7px; height: 7px;
    margin-top: -4px;
    border: solid var(--a-yazi-3);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    transition: transform var(--a-hiz), margin var(--a-hiz);
}
.select2-container--aleda.select2-container--open .select2-selection--single .select2-selection__arrow b { margin-top: 3px; transform: rotate(-135deg); }
/* Temizle düğmesi (data-temizle): seçili yazının sağında, okun solunda */
.select2-container--aleda .select2-selection--single .select2-selection__clear,
.select2-container--aleda .select2-selection--multiple .select2-selection__clear {
    order: 2;
    flex: none;
    align-self: center;
    margin: 0 2px 0 4px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--a-yazi-3);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
}
.select2-container--aleda .select2-selection__clear:hover { color: var(--a-kirmizi); }
.select2-container--aleda.select2-container--focus .select2-selection,
.select2-container--aleda.select2-container--open .select2-selection {
    border-color: var(--a-vurgu);
    box-shadow: var(--a-odak);
}
/* Kapalı / salt okunur */
.select2-container--aleda.select2-container--disabled .select2-selection,
.select2-container--aleda.a-sec-salt .select2-selection {
    background: var(--a-yuzey-2);
    color: var(--a-yazi-2);
    cursor: not-allowed;
    box-shadow: none;
    border-color: var(--a-cizgi-guclu);
}
.select2-container--aleda.a-sec-salt .select2-selection { cursor: default; }
.select2-container--aleda.select2-container--disabled .select2-selection__rendered,
.select2-container--aleda.a-sec-salt .select2-selection__rendered { color: var(--a-yazi-2); }
.select2-container--aleda.select2-container--disabled .select2-selection__clear,
.select2-container--aleda.a-sec-salt .select2-selection__clear,
.select2-container--aleda.select2-container--disabled .select2-selection__choice__remove { display: none; }
/* Doğrulama: select'teki .is-invalid / .is-valid kaba yansır; .was-validated :invalid kardeş seçiciyle */
.select2-container--aleda.is-invalid .select2-selection,
.was-validated select:invalid + .select2-container--aleda .select2-selection { border-color: var(--a-kirmizi); }
.select2-container--aleda.is-invalid.select2-container--focus .select2-selection,
.select2-container--aleda.is-invalid.select2-container--open .select2-selection { box-shadow: 0 0 0 3px var(--a-kirmizi-acik); }
.select2-container--aleda.is-valid .select2-selection,
.was-validated select:valid + .select2-container--aleda .select2-selection { border-color: var(--a-yesil); }
select.select2-hidden-accessible ~ .invalid-feedback { display: none; }
select.is-invalid.select2-hidden-accessible ~ .invalid-feedback { display: block; }
/* Küçük boy (form-control-sm) */
.select2-container--aleda .select2-selection--single.a-sec-kucuk {
    height: var(--sec-yuk-kucuk);
    padding-left: 8px;
    font-size: var(--sec-yazi-kucuk);
}
.select2-container--aleda .select2-selection--single.a-sec-kucuk .select2-selection__clear { font-size: 15px; }
.select2-container--aleda .select2-dropdown.a-sec-kucuk .select2-results__option { padding: 5px 10px; font-size: var(--sec-yazi-kucuk); min-height: 0; }
.select2-container--aleda .select2-dropdown.a-sec-kucuk .select2-search--dropdown .select2-search__field { height: 26px; font-size: var(--sec-yazi-kucuk); }

/* Çoklu seçim (sayfaların kendi .select2({...}) çağrıları; otomatik kurulum çoklu listeye dokunmaz) */
.select2-container--aleda .select2-selection--multiple {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    min-height: var(--sec-yuk);
    padding: 3px 8px 3px 6px;
    cursor: text;
}
.select2-container--aleda .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.select2-container--aleda .select2-selection--multiple .select2-selection__choice {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    max-width: 100%;
    margin: 0;
    padding: 2px 8px 2px 4px;
    border: 0;
    border-radius: 5px;
    background: var(--a-vurgu-acik);
    color: var(--a-vurgu-yazi);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}
.select2-container--aleda .select2-selection--multiple .select2-selection__choice__display { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select2-container--aleda .select2-selection--multiple .select2-selection__choice__remove {
    border: 0;
    padding: 0 2px;
    background: transparent;
    color: var(--a-vurgu-yazi);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    opacity: .7;
}
.select2-container--aleda .select2-selection--multiple .select2-selection__choice__remove:hover { opacity: 1; color: var(--a-kirmizi); }
.select2-container--aleda .select2-search--inline { display: flex; flex: 1 1 60px; min-width: 60px; }
.select2-container--aleda .select2-search--inline .select2-search__field {
    height: 24px;
    margin: 0;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--a-yazi);
    font-family: inherit;
    font-size: var(--sec-yazi);
    outline: 0;
    resize: none;
}
.select2-container--aleda .select2-search--inline .select2-search__field::placeholder { color: var(--a-yazi-3); }

/* Açılır liste: kontrolle aynı genişlik, pencerelerin (1050+) ve SweetAlert'in (1060) üstünde */
.select2-container--aleda .select2-dropdown {
    z-index: 1080;
    border: 1px solid var(--a-cizgi);
    border-radius: var(--a-radius-buyuk);
    background: var(--a-yuzey);
    color: var(--a-yazi);
    box-shadow: var(--a-golge-3);
    overflow: hidden;
}
.select2-container--aleda .select2-dropdown--below { margin-top: 4px; border-top: 1px solid var(--a-cizgi); border-top-left-radius: var(--a-radius-buyuk); border-top-right-radius: var(--a-radius-buyuk); }
.select2-container--aleda .select2-dropdown--above { margin-top: -4px; border-bottom: 1px solid var(--a-cizgi); border-bottom-left-radius: var(--a-radius-buyuk); border-bottom-right-radius: var(--a-radius-buyuk); }
/* Arama kutusu: girişlerle aynı görünüm, solda büyüteç */
.select2-container--aleda .select2-search--dropdown { position: relative; padding: 8px 8px 4px; }
.select2-container--aleda .select2-search--dropdown::before {
    content: "\f002";
    position: absolute;
    left: 19px;
    top: calc(8px + var(--sec-arama-yuk) / 2);
    transform: translateY(-50%);
    font: 900 11px/1 "Font Awesome 6 Free", "Font Awesome 5 Free";
    color: var(--a-yazi-3);
    pointer-events: none;
}
.select2-container--aleda .select2-search--dropdown .select2-search__field {
    box-sizing: border-box;
    width: 100%;
    height: var(--sec-arama-yuk);
    padding: 0 10px 0 30px;
    border: 1px solid var(--a-cizgi-guclu);
    border-radius: var(--a-radius);
    background: var(--a-yuzey);
    color: var(--a-yazi);
    font-family: inherit;
    font-size: var(--sec-yazi);
    outline: 0;
    transition: border-color var(--a-hiz), box-shadow var(--a-hiz);
}
.select2-container--aleda .select2-search--dropdown .select2-search__field:focus { border-color: var(--a-vurgu); box-shadow: var(--a-odak); }
.select2-container--aleda .select2-search--dropdown .select2-search__field::placeholder { color: var(--a-yazi-3); }
/* Sonuçlar */
.select2-container--aleda .select2-results > .select2-results__options {
    max-height: var(--sec-liste-yuk);
    overflow-y: auto;
    padding: 4px;
}
.select2-container--aleda .select2-results__option {
    display: flex;
    align-items: center;
    min-height: var(--sec-secenek-yuk);
    padding: var(--sec-secenek-d) var(--sec-secenek-y);
    border-radius: var(--a-radius);
    font-size: var(--sec-secenek-yazi);
    color: var(--a-yazi);
    cursor: pointer;
    user-select: none;
}
.select2-container--aleda .select2-results__option--highlighted.select2-results__option--selectable { background: var(--a-vurgu-acik); color: var(--a-vurgu-yazi); }
.select2-container--aleda .select2-results__option--selected { background: var(--a-vurgu); color: var(--a-yazi-ters); font-weight: 500; }
.select2-container--aleda .select2-results__option--selected.select2-results__option--highlighted { background: var(--a-vurgu-koyu); color: var(--a-yazi-ters); }
.select2-container--aleda .select2-results__option--disabled { color: var(--a-yazi-3); cursor: default; }
.select2-container--aleda .select2-results__option--group { display: block; padding: 0; cursor: default; }
.select2-container--aleda .select2-results__group {
    display: block;
    padding: 8px 12px 4px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--a-yazi-3);
}
.select2-container--aleda .select2-results__options--nested { padding: 0; }
.select2-container--aleda .select2-results__options--nested .select2-results__option { padding-left: 20px; }
.select2-container--aleda .select2-results__message,
.select2-container--aleda .select2-results__option.loading-results { color: var(--a-yazi-3); cursor: default; }

/* .input-group: kap esner, iç köşeler düz, odakta üste çıkar (gizli select kabın hemen önünde durur) */
.input-group > .select2-container--aleda { position: relative; flex: 1 1 auto; width: 1% !important; min-width: 0; margin-bottom: 0; }
.input-group > .select2-container--aleda .select2-selection--single { height: 100%; min-height: var(--sec-yuk); }
.input-group-sm > .select2-container--aleda .select2-selection--single { min-height: var(--sec-yuk-kucuk); }
.input-group > .select2-container--aleda:not(:last-child) .select2-selection { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > :not(.select2-hidden-accessible) + .select2-hidden-accessible + .select2-container--aleda .select2-selection { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group > .select2-container--aleda.select2-container--focus,
.input-group > .select2-container--aleda.select2-container--open { z-index: 3; }
/* Tablo hücresi ve SweetAlert içinde */
td > .select2-container--aleda, th > .select2-container--aleda { vertical-align: middle; }
.swal2-html-container .select2-container--aleda { text-align: left; }

/* ---------- SweetAlert2 ---------- */
.swal2-popup {
    border: 1px solid var(--a-cizgi) !important;
    border-radius: 14px !important;
    background: var(--a-yuzey) !important;
    color: var(--a-yazi) !important;
    font-family: var(--a-font) !important;
    padding: 1.4em 1.4em 1.2em !important;
    box-shadow: var(--a-golge-3) !important;
}
.swal2-title { color: var(--a-yazi) !important; font-size: 1.3rem !important; font-weight: 600 !important; }
.swal2-html-container { color: var(--a-yazi-2) !important; font-size: 14px !important; }
.swal2-actions { gap: 8px; }
.swal2-styled { margin: 0 !important; border-radius: var(--a-radius) !important; font-weight: 500 !important; font-size: 13.5px !important; padding: 9px 18px !important; box-shadow: none !important; }
.swal2-styled.swal2-confirm { background: var(--a-vurgu); }
.swal2-styled.swal2-cancel { background: var(--a-yuzey) !important; color: var(--a-yazi) !important; border: 1px solid var(--a-cizgi-guclu) !important; }
.swal2-styled.swal2-deny { background: var(--a-kirmizi); }
.swal2-styled.swal2-confirm.swal2-tehlike { background: var(--a-kirmizi) !important; }
.swal2-styled:focus { box-shadow: var(--a-odak) !important; }
.swal2-input, .swal2-textarea, .swal2-select {
    border: 1px solid var(--a-cizgi-guclu) !important;
    border-radius: var(--a-radius) !important;
    background: var(--a-yuzey) !important;
    color: var(--a-yazi) !important;
    box-shadow: none !important;
    font-size: 14px !important;
}
.swal2-input:focus, .swal2-textarea:focus { border-color: var(--a-vurgu) !important; box-shadow: var(--a-odak) !important; }
.swal2-validation-message { background: var(--a-kirmizi-acik) !important; color: var(--a-kirmizi-yazi) !important; }
.swal2-popup.swal2-toast {
    padding: 10px 14px !important;
    border-radius: 10px !important;
    box-shadow: var(--a-golge-2) !important;
}
.swal2-popup.swal2-toast .swal2-title { font-size: 13.5px !important; font-weight: 500 !important; margin: 0 8px !important; }
.swal2-timer-progress-bar { background: var(--a-vurgu) !important; opacity: .6; }
/* Perde yalnız pencere (modal) uyarılarında; bildirim (toast) kabı sağda tam boy durduğu için
   boyanırsa sayfada koyu bir şerit oluşur */
body:not(.swal2-toast-shown) .swal2-container.swal2-backdrop-show { background: rgba(15, 23, 42, .45) !important; }
body.swal2-toast-shown .swal2-container { background: transparent !important; }

/* ---------- SmartSelect (projenin kendi seçim bileşeni) ---------- */
.smart-select-control {
    min-height: var(--a-kontrol) !important;
    border-color: var(--a-cizgi-guclu) !important;
    border-radius: var(--a-radius) !important;
    background: var(--a-yuzey) !important;
    color: var(--a-yazi) !important;
}
.smart-select-control.focused { border-color: var(--a-vurgu) !important; box-shadow: var(--a-odak) !important; }
.smart-select-value.placeholder { color: var(--a-yazi-3) !important; }
.smart-select-dropdown {
    border: 1px solid var(--a-cizgi) !important;
    border-radius: var(--a-radius-buyuk) !important;
    background: var(--a-yuzey) !important;
    box-shadow: var(--a-golge-2) !important;
}
.smart-select-search {
    border-color: var(--a-cizgi-guclu) !important;
    border-radius: var(--a-radius) !important;
    background: var(--a-yuzey) !important;
    color: var(--a-yazi) !important;
}
.smart-select-search:focus { border-color: var(--a-vurgu) !important; box-shadow: var(--a-odak) !important; }
.smart-select-option { color: var(--a-yazi) !important; }
.smart-select-option:hover, .smart-select-option.highlighted { background: var(--a-vurgu-acik) !important; color: var(--a-vurgu-yazi) !important; }
.smart-select-option.selected { background: var(--a-yuzey-2) !important; color: var(--a-yazi) !important; font-weight: 500; }

/* ---------- jQuery UI ---------- */
/* Pencere sürükleme artık aleda.js'te (pointer olayları); stili components.css > Modaller */
.ui-widget { font-family: var(--a-font); }
