/**
 * Custom CSS
 * Tum ozel stil tanimlamalari bu dosyadan yapilir.
 * Template'in kendi CSS dosyalarina dokunulmaz.
 */

/* =============================================
   Dusuk Cozunurluk PC Ekranlari — Deneysel
   ============================================= */
@media (max-height: 800px) and (min-width: 992px) {
    :root { --bs-root-font-size: 13.5px; }
}
@media (max-height: 700px) and (min-width: 992px) {
    :root { --bs-root-font-size: 13px; }
}

/* =============================================
   DataTable Kompakt Tasarim (.dt-kart)
   ============================================= */

/* Tablo Karti */
.dt-kart {
    border: none;
    box-shadow: 0 1px 3px rgba(67, 89, 113, 0.03);
    font-family: 'Rubik', sans-serif;
}

/* Toolbar (arama + length) */
.dt-kart .card-header {
    padding: 0.625rem 1rem;
    min-height: auto;
    gap: 0.5rem;
}
.dt-kart .dataTables_filter .form-control {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    min-width: 180px;
    height: 30px;
    border-radius: 0.375rem;
}
.dt-kart .dataTables_filter label { font-size: 0; margin: 0; }
.dt-kart .dataTables_length .form-select {
    font-size: 0.75rem;
    padding: 0.3rem 1.75rem 0.3rem 0.5rem;
    height: 30px;
    border-radius: 0.375rem;
}

/* Thead */
.dt-kart .table thead th {
    font-size: 0.65rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a1acb8;
    padding: 0.65rem 0.6rem !important;
    border-bottom: 1px solid rgba(67, 89, 113, 0.09);
    border-top: none;
    white-space: nowrap;
    line-height: 1.2;
}

/* Tbody */
.dt-kart .table tbody td {
    font-size: 0.6875rem !important;
    color: #697a8d;
    padding: 0.3rem 0.5rem !important;
    vertical-align: middle;
    border-bottom: 1px solid rgba(67, 89, 113, 0.05);
    line-height: 1.3;
}
.dt-kart .table tbody tr:hover {
    background-color: rgba(90, 141, 238, 0.015);
}

/* Ad Sutunu */
.dt-bilgi {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.dt-avatar {
    width: 36px;
    height: 36px;
    border-radius: 0;
    object-fit: cover;
    flex-shrink: 0;
}
.dt-avatar-harf {
    width: 36px;
    height: 36px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    flex-shrink: 0;
    background: rgba(90, 141, 238, 0.1);
    color: #5a8dee;
}
.dt-ad {
    font-weight: 600;
    color: #566a7f;
    font-size: 0.6875rem;
    text-decoration: none;
}
a.dt-ad:hover {
    color: #5a8dee;
    text-decoration: underline;
}

/* Bos Hucre */
.bos-hucre { color: #c5ccd4; font-size: 0.6875rem; }

/* Atama Badge */
.atama-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 600;
    background: rgba(3, 195, 236, 0.08);
    color: #03c3ec;
}
.atama-badge i { font-size: 0.625rem; }

/* Durum Badge */
.durum-aktif, .durum-pasif, .durum-askida {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.1rem 0.45rem;
    border-radius: 0.75rem;
    font-size: 0.625rem;
    font-weight: 600;
    cursor: pointer;
}
.durum-aktif { background: rgba(40, 199, 111, 0.08); color: #28c76f; }
.durum-pasif { background: rgba(234, 84, 85, 0.08); color: #ea5455; }
.durum-askida { background: rgba(255, 159, 67, 0.08); color: #ff9f43; }
.durum-aktif::before, .durum-pasif::before, .durum-askida::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
.durum-aktif::before { background: #28c76f; }
.durum-pasif::before { background: #ea5455; }
.durum-askida::before { background: #ff9f43; }

/* Kompakt Badge */
.dt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 600;
}
.dt-badge-info { background: rgba(3, 195, 236, 0.08); color: #03c3ec; }
.dt-badge-warning { background: rgba(255, 159, 67, 0.08); color: #ff9f43; }
.dt-badge-secondary { background: rgba(133, 146, 163, 0.08); color: #8592a3; }
.dt-badge-success { background: rgba(40, 199, 111, 0.08); color: #28c76f; }
.dt-badge-primary { background: rgba(90, 141, 238, 0.08); color: #5a8dee; }
.dt-badge-danger { background: rgba(234, 84, 85, 0.08); color: #ea5455; }

/* Islem Butonlari */
.islem-btn {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    border: none;
    background: transparent;
    color: #a1acb8;
    transition: all 0.15s;
    font-size: 0.8125rem;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
}
.islem-btn:hover { background: rgba(90, 141, 238, 0.08); color: #5a8dee; }
.islem-btn-tehlike:hover { background: rgba(234, 84, 85, 0.08); color: #ea5455; }

/* Pagination */
.dt-kart .pagination {
    --bs-pagination-padding-x: 0.25rem;
    --bs-pagination-padding-y: 0.15rem;
    --bs-pagination-font-size: 0.625rem;
    --bs-pagination-border-radius: 0.1875rem;
    gap: 2px;
}
.dt-kart .dataTables_paginate ul.pagination .page-link {
    font-size: 0.625rem !important;
    padding: 0.15rem !important;
    min-width: 22px !important;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-color: rgba(67, 89, 113, 0.08);
    color: #8592a3;
}
.dt-kart .dataTables_paginate .page-item.active .page-link {
    background: #5a8dee;
    border-color: #5a8dee;
    color: #fff;
    font-weight: 600;
}
.dt-kart .dataTables_paginate .page-link:hover {
    background: rgba(90, 141, 238, 0.06);
    border-color: rgba(90, 141, 238, 0.15);
    color: #5a8dee;
}
.dt-kart .dataTables_paginate {
    padding: 0.375rem 1rem;
}

/* Info */
.dt-kart .dataTables_info {
    font-size: 0.5625rem;
    color: #a1acb8;
    padding: 0.375rem 1rem;
}

/* Sorting Arrows — saf CSS ucgenler */
.dt-kart table.dataTable thead > tr > th.sorting,
.dt-kart table.dataTable thead > tr > th.sorting_asc,
.dt-kart table.dataTable thead > tr > th.sorting_desc {
    padding-right: 1rem;
}
.dt-kart table.dataTable thead > tr > th.sorting:before,
.dt-kart table.dataTable thead > tr > th.sorting_asc:before,
.dt-kart table.dataTable thead > tr > th.sorting_desc:before,
.dt-kart table.dataTable thead > tr > th.sorting:after,
.dt-kart table.dataTable thead > tr > th.sorting_asc:after,
.dt-kart table.dataTable thead > tr > th.sorting_desc:after {
    content: "" !important;
    font-family: unset !important;
    position: absolute;
    right: 5px;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    opacity: 0.2;
}
.dt-kart table.dataTable thead > tr > th.sorting:before,
.dt-kart table.dataTable thead > tr > th.sorting_asc:before,
.dt-kart table.dataTable thead > tr > th.sorting_desc:before {
    border-bottom: 3.5px solid #8592a3;
    bottom: 50%;
    margin-bottom: 1px;
}
.dt-kart table.dataTable thead > tr > th.sorting:after,
.dt-kart table.dataTable thead > tr > th.sorting_asc:after,
.dt-kart table.dataTable thead > tr > th.sorting_desc:after {
    border-top: 3.5px solid #8592a3;
    top: 50%;
    margin-top: 1px;
}
.dt-kart table.dataTable thead > tr > th.sorting_asc:before {
    opacity: 1 !important;
    border-bottom-color: #5a8dee;
}
.dt-kart table.dataTable thead > tr > th.sorting_asc:after {
    opacity: 0.15 !important;
}
.dt-kart table.dataTable thead > tr > th.sorting_desc:after {
    opacity: 1 !important;
    border-top-color: #5a8dee;
}
.dt-kart table.dataTable thead > tr > th.sorting_desc:before {
    opacity: 0.15 !important;
}

/* =============================================
   Global Page Loader
   ============================================= */
.page-loader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.page-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.page-loader-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(90, 141, 238, 0.12);
    border-top-color: #5a8dee;
    border-radius: 50%;
    animation: page-loader-don 0.7s linear infinite;
}
@keyframes page-loader-don {
    to { transform: rotate(360deg); }
}
.page-loader-metin {
    font-size: 0.75rem;
    font-weight: 600;
    color: #a1acb8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Sayfa Basligi */
.dt-sayfa-baslik {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.dt-sayfa-baslik .baslik-accent {
    width: 3px;
    height: 28px;
    border-radius: 2px;
    background: #5a8dee;
    flex-shrink: 0;
}
.dt-sayfa-baslik .baslik-icerik {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.dt-sayfa-baslik .baslik-breadcrumb {
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a1acb8;
    line-height: 1;
}
.dt-sayfa-baslik .baslik-breadcrumb .ayrac {
    margin: 0 0.25rem;
    opacity: 0.4;
}
.dt-sayfa-baslik .baslik-metin {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #566a7f;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* --- DataTable Yatay Scroll --- */
.dt-kart .dataTables_scrollBody {
    -webkit-overflow-scrolling: touch;
}
.dt-kart table.dataTable {
    white-space: nowrap;
}

/* --- Responsive Duzeltmeler --- */
@media (max-width: 768px) {
    .dt-kart .table tbody td {
        font-size: 0.6875rem;
        padding: 0.3rem 0.5rem;
    }
    .dt-kart .table thead th {
        font-size: 0.5625rem;
        padding: 0.4rem 0.5rem;
    }
    .dt-kart .dataTables_filter .form-control {
        min-width: 140px;
    }
}

/* --- Profil Resmi Yukleme Alani --- */
.profil-yukle-alani {
    position: relative;
    width: 100px;
    height: 100px;
}

.profil-yukle-alani img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid rgba(67, 89, 113, 0.1);
    transition: border-color 0.2s ease;
}

.profil-yukle-alani:hover img {
    border-color: #5a8dee;
}

.profil-yukle-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: #5a8dee;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background 0.2s ease;
}

.profil-yukle-btn:hover {
    transform: scale(1.1);
    background: #4a7bd8;
}

/* --- Veli Satiri Birincil Vurgu --- */
.veli-satir {
    transition: border-color 0.2s, background-color 0.2s;
}
.veli-birincil {
    border-color: #5a8dee !important;
    border-left: 3px solid #5a8dee !important;
    background-color: rgba(90, 141, 238, 0.04) !important;
}
.veli-radio {
    accent-color: #5a8dee;
    width: 15px;
    height: 15px;
    cursor: pointer;
    flex-shrink: 0;
}
.veli-birincil-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #5a8dee;
    background: rgba(90, 141, 238, 0.12);
    border-radius: 20px;
    padding: 2px 8px;
    letter-spacing: 0.02em;
}

/* --- Sekme Icerik Alani Minimum Yukseklik --- */
.tab-content .tab-pane {
    min-height: 180px;
}

/* =============================================
   Tab Menu — Underline Minimal
   ============================================= */
.form-kart .nav-pills.card-header-pills {
    gap: 0;
    border-bottom: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}
.form-kart .nav-pills .nav-link {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a1acb8;
    padding: 0.75rem 1rem 0.625rem;
    margin: 0;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    background: none;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}
.form-kart .nav-pills .nav-link i {
    font-size: 0.8125rem;
    vertical-align: -1px;
}
.form-kart .nav-pills .nav-link:hover {
    color: #566a7f;
    background: none;
    border-bottom-color: rgba(90, 141, 238, 0.25);
}
.form-kart .nav-pills .nav-link.active {
    color: #5a8dee;
    background: none;
    border-bottom-color: #5a8dee;
}
.form-kart .card-header.border-bottom {
    border-bottom: 1px solid rgba(67, 89, 113, 0.08) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible;
}
.form-kart .card-header-pills {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
}

/* =============================================
   Form Sayfalari Kompakt Tasarim
   ============================================= */

/* Form Karti */
.form-kart {
    border: none;
    box-shadow: 0 1px 3px rgba(67, 89, 113, 0.03);
}
.form-kart .card-header {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, rgba(90, 141, 238, 0.03) 0%, rgba(90, 141, 238, 0.01) 100%);
    border-bottom: 1px solid rgba(90, 141, 238, 0.08);
}
.form-kart .card-header h6,
.form-kart .card-header h5 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #566a7f;
}
.form-kart .card-header h6 i,
.form-kart .card-header h5 i {
    font-size: 0.9375rem;
    vertical-align: -1px;
}
.form-kart .card-body {
    padding: 0.875rem 1rem;
}

/* Form Elemanlari */
.form-kart .form-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #a1acb8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}
.form-kart .form-control,
.form-kart .form-select {
    font-size: 0.8125rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    border-color: rgba(67, 89, 113, 0.12);
}
.form-kart .form-control:focus,
.form-kart .form-select:focus {
    border-color: #5a8dee;
    box-shadow: 0 0 0 0.15rem rgba(90, 141, 238, 0.1);
}
.form-kart textarea.form-control {
    font-size: 0.8125rem;
}
.form-kart .input-group-text {
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    border-color: rgba(67, 89, 113, 0.12);
    color: #a1acb8;
}
.form-kart .input-group-text i {
    font-size: 0.875rem;
}

/* Select2 Kompakt */
.form-kart .select2-container--default .select2-selection--single {
    height: calc(1.5em + 0.7rem + 2px);
    font-size: 0.8125rem;
    border-color: rgba(67, 89, 113, 0.12);
}
.form-kart .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + 0.7rem);
    padding-left: 0.65rem;
    font-size: 0.8125rem;
}
.form-kart .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + 0.7rem);
}
.form-kart .select2-container--default .select2-selection--multiple {
    min-height: calc(1.5em + 0.7rem + 2px);
    font-size: 0.8125rem;
    border-color: rgba(67, 89, 113, 0.12);
}

/* Veli Satiri Kompakt */
.form-kart .veli-satir {
    padding: 0.75rem !important;
    margin-bottom: 0.625rem !important;
    border-color: rgba(67, 89, 113, 0.1) !important;
}
.form-kart .veli-satir .fw-medium {
    font-size: 0.75rem;
}
.form-kart .veli-satir .avatar-sm {
    width: 24px !important;
    height: 24px !important;
}
.form-kart .veli-satir .avatar-initial {
    font-size: 0.625rem;
}

/* Profil Kart Kompakt */
.form-kart .text-muted.small {
    font-size: 0.6875rem !important;
}

/* Form Karti Tablo Kompakt */
.form-kart .table th {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #a1acb8;
    padding: 0.4rem 0.5rem;
}
.form-kart .table td {
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
    vertical-align: middle;
}

/* =============================================
   Modal Kompakt Tasarim
   ============================================= */
.modal .modal-header {
    padding: 0.75rem 1rem;
}
.modal .modal-title {
    font-size: 0.875rem;
    font-weight: 700;
}
.modal .modal-body {
    padding: 0.875rem 1rem;
}
.modal .modal-body .form-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #a1acb8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}
.modal .modal-body .form-control,
.modal .modal-body .form-select {
    font-size: 0.8125rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    border-color: rgba(67, 89, 113, 0.12);
}
.modal .modal-body .form-control:focus,
.modal .modal-body .form-select:focus {
    border-color: #5a8dee;
    box-shadow: 0 0 0 0.15rem rgba(90, 141, 238, 0.1);
}
.modal .modal-footer {
    padding: 0.625rem 1rem;
}
.modal .modal-footer .btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.875rem;
}

/* Filtre Kart Kompakt */
.filtre-kart {
    font-family: 'Rubik', sans-serif;
    border: none;
    box-shadow: 0 1px 3px rgba(67, 89, 113, 0.03);
}
.filtre-kart .card-header {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(90, 141, 238, 0.03) 0%, rgba(90, 141, 238, 0.01) 100%);
    border-bottom: 1px solid rgba(90, 141, 238, 0.08);
}
.filtre-kart .card-body {
    padding-bottom: 1rem;
}
.filtre-kart .card-header h5,
.filtre-kart .card-header h6 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #566a7f;
}
.filtre-kart .card-body {
    padding: 0.5rem 1rem;
}
.filtre-kart .form-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #a1acb8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}
.filtre-kart .form-select,
.filtre-kart .form-control {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    height: 30px;
    border-color: rgba(67, 89, 113, 0.12);
}
.filtre-kart .select2-container--default .select2-selection--single {
    height: 30px;
    font-size: 0.75rem;
    border-color: rgba(67, 89, 113, 0.12);
}
.filtre-kart .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
    padding-left: 0.6rem;
    font-size: 0.75rem;
}
.filtre-kart .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 28px;
}

/* --- Sadece Rakam Input - Spinner Gizle --- */
input[data-sadece-rakam]::-webkit-outer-spin-button,
input[data-sadece-rakam]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[data-sadece-rakam] {
    -moz-appearance: textfield;
}

/* --- Tum Number Input Spinner Gizle --- */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/* --- Form Dogrulama (Validation) Stilleri --- */
.select2-container.is-invalid .select2-selection {
    border-color: #ff4c51 !important;
}

.input-group.is-invalid .form-control,
.input-group.is-invalid .input-group-text {
    border-color: #ff4c51 !important;
}


/* =============================================
   Sidebar Menu Kompakt
   ============================================= */
.menu-vertical .menu-item .menu-link {
    font-size: 0.8125rem !important;
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
}
.menu-vertical .menu-sub .menu-link {
    font-size: 0.75rem !important;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}
.menu-icon {
    font-size: 1.1rem !important;
}
.menu-header .menu-header-text {
    font-size: 0.625rem !important;
    letter-spacing: 0.05em;
}

/* =============================================
   Sidebar Uyelik Kart
   ============================================= */
.sidebar-uyelik-kart {
    margin: auto 0.875rem 2rem;
    padding: 0.75rem 0.75rem 1rem;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.sidebar-uyelik-kart::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.06;
    transform: translate(20px, -20px);
}
.sidebar-uyelik-success {
    background: linear-gradient(135deg, rgba(40, 199, 111, 0.08) 0%, rgba(40, 199, 111, 0.03) 100%);
    border: 1px solid rgba(40, 199, 111, 0.15);
}
.sidebar-uyelik-success::before { background: #28c76f; }
.sidebar-uyelik-warning {
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.08) 0%, rgba(255, 159, 67, 0.03) 100%);
    border: 1px solid rgba(255, 159, 67, 0.15);
}
.sidebar-uyelik-warning::before { background: #ff9f43; }
.sidebar-uyelik-danger {
    background: linear-gradient(135deg, rgba(234, 84, 85, 0.08) 0%, rgba(234, 84, 85, 0.03) 100%);
    border: 1px solid rgba(234, 84, 85, 0.15);
}
.sidebar-uyelik-danger::before { background: #ea5455; }

.sidebar-uyelik-ust {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.5rem;
}
.sidebar-uyelik-ikon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}
.sidebar-uyelik-ikon-success { background: rgba(40, 199, 111, 0.12); color: #28c76f; }
.sidebar-uyelik-ikon-warning { background: rgba(255, 159, 67, 0.12); color: #ff9f43; }
.sidebar-uyelik-ikon-danger { background: rgba(234, 84, 85, 0.12); color: #ea5455; }

.sidebar-uyelik-bilgi {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.sidebar-uyelik-etiket {
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a1acb8;
    line-height: 1;
}
.sidebar-uyelik-gun {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
}
.sidebar-uyelik-success .sidebar-uyelik-gun { color: #28c76f; }
.sidebar-uyelik-warning .sidebar-uyelik-gun { color: #ff9f43; }
.sidebar-uyelik-danger .sidebar-uyelik-gun { color: #ea5455; }

.sidebar-uyelik-alt {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sidebar-uyelik-bar-bg {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(67, 89, 113, 0.08);
    overflow: hidden;
}
.sidebar-uyelik-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.sidebar-uyelik-bar-success { background: #28c76f; }
.sidebar-uyelik-bar-warning { background: #ff9f43; }
.sidebar-uyelik-bar-danger { background: #ea5455; }

.sidebar-uyelik-tarih {
    font-size: 0.625rem;
    color: #a1acb8;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}


/* Select2 Dropdown Scroll Fix */
.select2-container--open .select2-dropdown {
    z-index: 9999;
}
html {
    overflow-x: hidden !important;
}


/* Hizli Erisim Linkleri */
.hizli-erisim-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(67, 89, 113, 0.08);
    text-decoration: none;
    transition: all 0.2s ease;
}
.hizli-erisim-link:hover {
    background: rgba(90, 141, 238, 0.03);
    border-color: rgba(90, 141, 238, 0.15);
    transform: translateY(-1px);
}
.hizli-erisim-ikon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
    background: rgba(67, 89, 113, 0.03);
    border-radius: 0.375rem;
}
.hizli-erisim-baslik {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #566a7f;
    line-height: 1.3;
}
.hizli-erisim-aciklama {
    font-size: 0.6875rem;
    color: #a1acb8;
    line-height: 1.3;
}

/* =============================================
   Kampus Secici (Navbar)
   ============================================= */
.kampus-secici-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    transition: background 0.2s ease;
}
.kampus-secici-toggle:hover {
    background: rgba(67, 89, 113, 0.04);
}
.kampus-secici-adi {
    font-size: 0.8125rem;
    font-weight: 500;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kampus-secici-menu {
    min-width: 220px;
    max-height: 320px;
    overflow-y: auto;
}
.kampus-secici-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}
.kampus-secici-menu .dropdown-item.active,
.kampus-secici-menu .dropdown-item.active:hover {
    background-color: rgba(90, 141, 238, 0.08);
    color: #5a8dee;
    font-weight: 600;
}
.kampus-secici-menu .dropdown-item:hover:not(.active) {
    background-color: rgba(67, 89, 113, 0.04);
}

/* =============================================
   Donem Secici (Navbar)
   ============================================= */
.donem-secici-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    transition: background 0.2s ease;
}
.donem-secici-toggle:hover {
    background: rgba(67, 89, 113, 0.04);
}
.donem-secici-adi {
    font-size: 0.8125rem;
    font-weight: 500;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.donem-secici-menu {
    min-width: 240px;
    max-height: 320px;
    overflow-y: auto;
}
.donem-secici-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}
.donem-secici-menu .dropdown-item.active,
.donem-secici-menu .dropdown-item.active:hover {
    background-color: rgba(90, 141, 238, 0.08);
    color: #5a8dee;
    font-weight: 600;
}
.donem-secici-menu .dropdown-item:hover:not(.active) {
    background-color: rgba(67, 89, 113, 0.04);
}



/* SweetAlert2 & Modal Scrollbar Kayma Fix */
body.swal2-shown:not(.swal2-no-backdrop),
body.modal-open {
    padding-right: 0 !important;
    overflow: auto !important;
}

/* SweetAlert2 Select Font */
.swal2-html-container select.form-select,
.swal2-html-container select.form-select option {
    font-size: 1rem !important;
}
.swal2-html-container .select2-container .select2-selection__rendered,
.swal2-html-container .select2-container .select2-selection {
    font-size: 1rem !important;
}

/* Inline Duzenleme */
.inline-metin {
    display: inline-block;
    padding: 0.25rem 0.4rem;
    min-width: 60px;
    line-height: 1.5;
    height: 30px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: border-color 0.15s, background-color 0.15s;
}
.inline-duzenlenebilir {
    cursor: pointer;
    border: 1px dashed transparent;
}
.inline-duzenlenebilir:hover {
    background-color: rgba(105, 108, 255, 0.06);
    border-color: rgba(105, 108, 255, 0.3);
}
.taksit-tablo .form-control-sm,
.taksit-tablo .input-group-sm > .form-control {
    height: 30px;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}
.taksit-tablo .input-group-sm > .input-group-text {
    height: 30px;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}





/* Tahsilat Gecmisi Modal */
.tahsilat-gecmis-ikon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-top: 2px;
}
.tahsilat-gecmis-satir {
    transition: background-color 0.15s, box-shadow 0.15s;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #f8f9fa;
    margin-bottom: 0.5rem;
}
.tahsilat-gecmis-satir:last-child {
    margin-bottom: 0;
}
.tahsilat-gecmis-satir:hover {
    background-color: #f0f2f5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.tahsilat-gecmis-tutar {
    font-size: 0.9375rem;
    font-weight: 700;
}
.tahsilat-gecmis-ozet {
    background: linear-gradient(135deg, #f0f7ff 0%, #f5f0ff 100%);
    border: 1px solid rgba(105, 108, 255, 0.12);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
}

/* Tahsilat Gecmis Badge */
.tg-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1.3;
}
.tg-badge i {
    font-size: 0.8rem;
}
.tg-badge-tarih {
    background: rgba(105, 108, 255, 0.1);
    color: #696cff;
}
.tg-badge-hesap {
    background: rgba(3, 195, 236, 0.1);
    color: #03c3ec;
}
.tg-badge-belge {
    background: rgba(113, 221, 55, 0.1);
    color: #71dd37;
}
.tg-badge-aciklama {
    background: rgba(133, 146, 163, 0.12);
    color: #8592a3;
}

.tahsilat-gecmis-ikon-sm {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-top: 2px;
}
.taksit-kart-satir {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.15s;
}
.taksit-kart-satir:hover {
    background-color: rgba(0, 0, 0, 0.015);
}

/* --- Ogrenci Profil Bilgi Listesi --- */
.profil-bilgi-liste {
    text-align: left;
    margin-top: 0.5rem;
}
.profil-bilgi-satir {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 0.8125rem;
}
.profil-bilgi-satir:last-child {
    border-bottom: none;
}
.profil-bilgi-satir > i {
    color: #a1acb8;
    font-size: 1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.profil-bilgi-etiket {
    color: #a1acb8;
    min-width: 85px;
    flex-shrink: 0;
}
.profil-bilgi-deger {
    color: #566a7f;
    font-weight: 500;
    margin-left: auto;
    text-align: right;
}

/* --- Profil Accordion --- */
.profil-accordion .accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.profil-accordion .accordion-item:last-child {
    margin-bottom: 0;
}
.profil-accordion .accordion-button {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    background-color: #fafbfc;
}
.profil-accordion .accordion-button:not(.collapsed) {
    background-color: #f0f3ff;
    box-shadow: none;
    border-bottom: 1px solid rgba(105, 108, 255, 0.1);
}
.profil-accordion .accordion-button::after {
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
}
.profil-accordion .accordion-body {
    padding: 1rem 1.25rem;
    background: #fcfcfd;
}

/* Kayit Ozet Blogu */
.profil-kayit-ozet {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.profil-kayit-ozet-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.profil-kayit-ozet-ikon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.profil-kayit-ozet-etiket {
    font-size: 0.6875rem;
    color: #a1acb8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    margin-bottom: 2px;
}
.profil-kayit-ozet-deger {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Profil Taksit Tablosu */
.taksit-tablo {
    font-size: 0.9rem !important;
    border-collapse: collapse;
    width: 100%;
}
.taksit-tablo thead th {
    background: #f8f9fa;
    color: #566a7f;
    font-size: 0.8rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 1.1rem 0.85rem !important;
    border-bottom: 1px solid #e9ecef;
    white-space: nowrap;
}
.taksit-tablo tbody td {
    padding: 0.85rem 0.85rem !important;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
    height: 38px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.taksit-tablo tbody tr:last-child td {
    border-bottom: none;
}
.taksit-tablo tbody tr:hover {
    background-color: #f8f9fa;
}
.taksit-tablo tbody tr.taksit-satir-odendi {
    background-color: rgba(40, 199, 111, 0.04);
}
.taksit-tablo tbody tr.taksit-satir-odendi:hover {
    background-color: rgba(40, 199, 111, 0.08);
}
.taksit-tablo tbody tr.taksit-satir-gecikti {
    background-color: rgba(234, 84, 85, 0.04);
}
.taksit-tablo tbody tr.taksit-satir-gecikti:hover {
    background-color: rgba(234, 84, 85, 0.08);
}
.taksit-tablo tbody tr.taksit-satir-kismi {
    background-color: rgba(0, 207, 232, 0.04);
}
.taksit-tablo tbody tr.taksit-satir-kismi:hover {
    background-color: rgba(0, 207, 232, 0.08);
}
.taksit-tablo tbody td .badge {
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 0.3em 0.6em;
}
.taksit-ogrenci-link {
    font-weight: 600;
    color: #566a7f;
    text-decoration: none;
    font-size: 0.85rem;
}
.taksit-ogrenci-link:hover {
    color: #696cff;
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .profil-kayit-ozet {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .profil-kayit-ozet-item {
        flex: 0 0 calc(50% - 0.375rem);
    }
}

/* Odeme Detay Kartlari (Ana Taksit / Ek Ucret) */
.odeme-detay-kart {
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}
.odeme-detay-baslik {
    font-size: 0.75rem;
    font-weight: 600;
    color: #566a7f;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.odeme-detay-icerik {
    display: flex;
    gap: 1.5rem;
}
.odeme-detay-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.odeme-detay-etiket {
    font-size: 0.6875rem;
    color: #a1acb8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.odeme-detay-deger {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #566a7f;
}

/* =============================================
   Dashboard Tahsilat Kartlari
   ============================================= */
.dash-tahsilat-kart {
    border: none;
    box-shadow: 0 2px 6px rgba(67, 89, 113, 0.04);
    border-radius: 0.5rem;
    overflow: hidden;
}
.dash-tahsilat-kart .card-header {
    padding: 1rem 1.25rem;
    background: transparent;
    border-bottom: 1px solid rgba(67, 89, 113, 0.06);
}
.dash-tahsilat-ikon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.dash-tahsilat-baslik {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #566a7f;
    margin-bottom: 0;
    line-height: 1.3;
}

/* Dashboard Tablo */
.dash-tahsilat-tablo {
    font-size: 0.8125rem;
    margin-bottom: 0;
}
.dash-tahsilat-tablo thead th {
    background: #fafbfd;
    color: #a1acb8;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid rgba(67, 89, 113, 0.08);
    white-space: nowrap;
}
.dash-tahsilat-tablo tbody td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(67, 89, 113, 0.04);
    color: #697a8d;
}
.dash-tahsilat-tablo tbody tr:last-child td {
    border-bottom: none;
}
.dash-tahsilat-tablo tbody tr:hover {
    background-color: rgba(90, 141, 238, 0.02);
}

/* Satir Durumlari */
.dash-tahsilat-tablo tbody tr.dash-satir-gecikti {
    background-color: rgba(234, 84, 85, 0.03);
}
.dash-tahsilat-tablo tbody tr.dash-satir-gecikti:hover {
    background-color: rgba(234, 84, 85, 0.06);
}
/* Ogrenci Link */
.dash-ogrenci-link {
    font-weight: 600;
    color: #566a7f;
    text-decoration: none;
    font-size: 0.8125rem;
}
.dash-ogrenci-link:hover {
    color: #696cff;
    text-decoration: underline;
}

/* Gecikme Badge */
.dash-gecikme-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #ea5455;
    background: rgba(234, 84, 85, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    white-space: nowrap;
}

/* Dashboard Kompakt Tablo */
.dash-tahsilat-kompakt thead th {
    font-size: 0.7rem;
    padding: 0.5rem 0.75rem;
}
.dash-tahsilat-kompakt tbody td {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
}

/* Vadesi Gelen Taksitler Sayfasi */
.vgt-aksiyon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.85rem;
    padding: 0;
}
.vgt-aksiyon-btn.vgt-btn-odendi {
    background: rgba(40, 199, 111, 0.12);
    color: #28c76f;
}
.vgt-aksiyon-btn.vgt-btn-odendi:hover {
    background: rgba(40, 199, 111, 0.25);
}
.vgt-aksiyon-btn.vgt-btn-tahsilat {
    background: rgba(90, 141, 238, 0.12);
    color: #5a8dee;
}
.vgt-aksiyon-btn.vgt-btn-tahsilat:hover {
    background: rgba(90, 141, 238, 0.25);
}
.vgt-aksiyon-btn.vgt-btn-profil {
    background: rgba(105, 108, 255, 0.12);
    color: #696cff;
}
.vgt-aksiyon-btn.vgt-btn-profil:hover {
    background: rgba(105, 108, 255, 0.25);
}
.vgt-tab-grup {
    display: flex;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(67, 89, 113, 0.08);
}
.vgt-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(67, 89, 113, 0.1);
    background: #f8f9fa;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8592a3;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.vgt-tab-btn i {
    font-size: 1rem;
}
.vgt-tab-btn.active {
    color: #fff;
    background: #696cff;
    border-color: #696cff;
    box-shadow: 0 2px 6px rgba(105, 108, 255, 0.3);
}
.vgt-tab-btn:hover:not(.active) {
    color: #566a7f;
    background: #eef0f7;
    border-color: rgba(67, 89, 113, 0.15);
}
.vgt-tab-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 0.75rem;
    line-height: 1.3;
    min-width: 18px;
    text-align: center;
}
.vgt-tab-badge-warning {
    background: rgba(255, 171, 0, 0.15);
    color: #ffab00;
}
.vgt-tab-badge-danger {
    background: rgba(234, 84, 85, 0.15);
    color: #ea5455;
}
.vgt-tab-btn.active .vgt-tab-badge-warning,
.vgt-tab-btn.active .vgt-tab-badge-danger {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.vgt-ozet-kutu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.78rem;
}
.vgt-ozet-kutu .vgt-ozet-sayi {
    font-weight: 700;
    font-size: 1rem;
}

/* =============================================
   Tahsilat Raporu Ozet Alani
   ============================================= */
.tahsilat-rapor-ozet {
    padding: 0.5rem 0;
}

/* =============================================
   Navbar Global Ogrenci Arama
   ============================================= */
.navbar-arama-alani {
    position: relative;
    flex: 1;
    min-width: 0;
    margin-right: 0.5rem;
}
.navbar-arama-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.navbar-arama-ikon {
    position: absolute;
    left: 10px;
    font-size: 1rem;
    color: #a1acb8;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 2;
}
.navbar-arama-input {
    width: 100%;
    padding: 0.4rem 2.5rem 0.4rem 2.1rem;
    border: 1.5px solid rgba(67, 89, 113, 0.12);
    border-radius: 8px;
    font-size: 0.8125rem;
    background: rgba(67, 89, 113, 0.03);
    color: #566a7f;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
}
.navbar-arama-input::placeholder {
    color: #b4bdc6;
    font-weight: 400;
}
.navbar-arama-input:focus {
    border-color: #5a8dee;
    box-shadow: 0 0 0 3px rgba(90, 141, 238, 0.1);
    background: #fff;
}
.navbar-arama-input:focus ~ .navbar-arama-ikon {
    color: #5a8dee;
}
.navbar-arama-kbd {
    position: absolute;
    right: 8px;
    padding: 1px 5px;
    font-size: 0.6rem;
    font-family: inherit;
    color: #a1acb8;
    background: #f5f5f9;
    border: 1px solid rgba(67, 89, 113, 0.1);
    border-radius: 3px;
    pointer-events: none;
    z-index: 2;
}
.navbar-arama-spinner {
    position: absolute;
    right: 8px;
    z-index: 2;
}
.navbar-arama-sonuclar {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 360px;
    background: #fff;
    border: 1.5px solid rgba(67, 89, 113, 0.1);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(67, 89, 113, 0.12);
    max-height: 360px;
    overflow-y: auto;
    z-index: 1090;
    padding: 6px;
}
.navbar-arama-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 6px;
    text-decoration: none;
    color: #566a7f;
    transition: background 0.15s;
    cursor: pointer;
}
.navbar-arama-item:hover,
.navbar-arama-item.aktif {
    background: #f5f5f9;
    color: #566a7f;
}
.navbar-arama-avatar {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(67, 89, 113, 0.08);
}
.navbar-arama-avatar-harf {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #5a8dee;
    background: rgba(90, 141, 238, 0.1);
    flex-shrink: 0;
}
.navbar-arama-bilgi {
    flex: 1;
    min-width: 0;
}
.navbar-arama-ad {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.navbar-arama-detay {
    font-size: 0.6875rem;
    color: #a1acb8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.navbar-arama-ok {
    font-size: 0.875rem;
    color: #c8ced5;
    flex-shrink: 0;
    transition: color 0.15s, transform 0.15s;
}
.navbar-arama-item:hover .navbar-arama-ok,
.navbar-arama-item.aktif .navbar-arama-ok {
    color: #5a8dee;
    transform: translateX(2px);
}
.navbar-arama-bos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 16px;
    color: #a1acb8;
}
.navbar-arama-bos i {
    font-size: 1.25rem;
}
.navbar-arama-bos span {
    font-size: 0.75rem;
}
@media (max-width: 767px) {
    .navbar-arama-sonuclar {
        min-width: 280px;
    }
}

/* =============================================
   Dashboard Ogrenci Arama
   ============================================= */
.dash-arama-alani {
    position: relative;
    flex: 1;
    max-width: 480px;
    margin-left: 2rem;
}
.dash-arama-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.dash-arama-ikon {
    position: absolute;
    left: 14px;
    font-size: 1.2rem;
    color: #a1acb8;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 2;
}
.dash-arama-input {
    width: 100%;
    padding: 0.7rem 3rem 0.7rem 2.6rem;
    border: 1.5px solid #e7e7e8;
    border-radius: 10px;
    font-size: 0.875rem;
    background: #fff;
    color: #566a7f;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.dash-arama-input::placeholder {
    color: #b4bdc6;
    font-weight: 400;
}
.dash-arama-input:focus {
    border-color: #7367f0;
    box-shadow: 0 0 0 3px rgba(115, 103, 240, 0.1);
}
.dash-arama-input:focus ~ .dash-arama-ikon {
    color: #7367f0;
}
.dash-arama-kbd {
    position: absolute;
    right: 12px;
    padding: 2px 7px;
    font-size: 0.65rem;
    font-family: inherit;
    color: #a1acb8;
    background: #f5f5f9;
    border: 1px solid #e7e7e8;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}
.dash-arama-spinner {
    position: absolute;
    right: 12px;
    z-index: 2;
}
.dash-arama-sonuclar {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #e7e7e8;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(67, 89, 113, 0.12);
    max-height: 360px;
    overflow-y: auto;
    z-index: 100;
    padding: 6px;
}
.dash-arama-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #566a7f;
    transition: background 0.15s;
    cursor: pointer;
}
.dash-arama-item:hover,
.dash-arama-item.aktif {
    background: #f5f5f9;
    color: #566a7f;
}
.dash-arama-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #f0f0f3;
}
.dash-arama-avatar-harf {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7367f0;
    background: rgba(115, 103, 240, 0.1);
    flex-shrink: 0;
}
.dash-arama-bilgi {
    flex: 1;
    min-width: 0;
}
.dash-arama-ad {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-arama-detay {
    font-size: 0.7rem;
    color: #a1acb8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-arama-ok {
    font-size: 1rem;
    color: #c8ced5;
    flex-shrink: 0;
    transition: color 0.15s, transform 0.15s;
}
.dash-arama-item:hover .dash-arama-ok,
.dash-arama-item.aktif .dash-arama-ok {
    color: #7367f0;
    transform: translateX(2px);
}
.dash-arama-bos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 16px;
    color: #a1acb8;
}
.dash-arama-bos i {
    font-size: 1.5rem;
}
.dash-arama-bos span {
    font-size: 0.8rem;
}

/* =============================================
   Dashboard Kasa Ozeti (Tum Zamanlar)
   ============================================= */
.kasa-ozet-kart {
    border: none;
    border-radius: 0.625rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.kasa-ozet-kart:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.kasa-ozet-kart .card-body {
    padding: 1.25rem 1.5rem;
}
.kasa-ozet-baslik {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
    margin-bottom: 0.25rem;
}
.kasa-ozet-tutar {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
}
.kasa-ozet-adet {
    font-size: 0.6875rem;
    opacity: 0.7;
    margin-top: 0.15rem;
}
.kasa-ozet-ikon {
    font-size: 2.5rem;
    opacity: 0.25;
    flex-shrink: 0;
}
.kasa-ozet-nakit {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: #fff;
}
.kasa-ozet-havale {
    background: linear-gradient(135deg, #7367f0 0%, #5a4fd4 100%);
    color: #fff;
}
.kasa-ozet-kredi {
    background: linear-gradient(135deg, #00cfe8 0%, #00a5bb 100%);
    color: #fff;
}
.kasa-ozet-toplam {
    background: linear-gradient(135deg, #ff9f43 0%, #e68a30 100%);
    color: #fff;
}

/* =============================================
   Dashboard Bugunun Tahsilat Ozeti
   ============================================= */
.dash-tahsilat-ozet-kart {
    border: none;
    box-shadow: 0 1px 3px rgba(67, 89, 113, 0.03);
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dash-tahsilat-ozet-kart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 89, 113, 0.08);
}
.dash-tahsilat-ozet-kart .card-body {
    padding: 1rem 1.25rem;
}
.dash-tahsilat-ozet-ikon {
    width: 44px;
    height: 44px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.dash-tahsilat-ozet-tutar {
    font-size: 1.125rem;
    font-weight: 700;
    color: #566a7f;
    line-height: 1.2;
}
.dash-tahsilat-ozet-baslik {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #a1acb8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.dash-tahsilat-ozet-adet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 0.4rem;
    border-radius: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    background: rgba(67, 89, 113, 0.06);
    color: #8592a3;
    flex-shrink: 0;
}
.dash-tahsilat-ozet-ikon-nakit {
    background: rgba(40, 199, 111, 0.1);
    color: #28c76f;
}
.dash-tahsilat-ozet-ikon-kredi {
    background: rgba(0, 207, 232, 0.1);
    color: #00cfe8;
}
.dash-tahsilat-ozet-ikon-havale {
    background: rgba(115, 103, 240, 0.1);
    color: #7367f0;
}
.dash-tahsilat-ozet-ikon-toplam {
    background: rgba(255, 159, 67, 0.1);
    color: #ff9f43;
}

/* =============================================
   Dashboard Dogum Gunu Karti
   ============================================= */
.dash-dogum-ikon-bg {
    background: rgba(255, 62, 149, 0.1);
    color: #ff3e95;
}
.dash-dogum-liste {
    padding: 0.25rem 0;
    max-height: 280px;
    overflow-y: auto;
}
.dash-dogum-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.25rem;
    text-decoration: none;
    color: #566a7f;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(67, 89, 113, 0.04);
}
.dash-dogum-item:last-child {
    border-bottom: none;
}
.dash-dogum-item:hover {
    background: rgba(255, 62, 149, 0.03);
    color: #566a7f;
}
.dash-dogum-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 62, 149, 0.15);
}
.dash-dogum-avatar-harf {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #ff3e95;
    background: rgba(255, 62, 149, 0.1);
    flex-shrink: 0;
}
.dash-dogum-bilgi {
    flex: 1;
    min-width: 0;
}
.dash-dogum-ad {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-dogum-yas {
    font-size: 0.7rem;
    color: #a1acb8;
}
.dash-dogum-tumunu-gor {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff3e95;
    text-decoration: none;
    transition: color 0.15s;
}
.dash-dogum-tumunu-gor:hover {
    color: #d6326e;
    text-decoration: underline;
}
.dash-dogum-liste-modal {
    max-height: 400px;
    overflow-y: auto;
}

/* =============================================
   Musteri Logo (Sidebar)
   ============================================= */
.app-brand:has(.musteri-logo-wrap) {
    overflow: visible !important;
    height: auto !important;
    min-height: 64px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.app-brand-logo.demo:has(.musteri-logo-wrap) {
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
}
.musteri-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}
.musteri-logo {
    max-width: 180px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Sidebar collapsed durumda logo kucult */
@media (min-width: 1200px) {
    .layout-menu-collapsed:not(.layout-menu-hover) .layout-menu .app-brand:has(.musteri-logo-wrap) {
        overflow: hidden !important;
        height: 64px !important;
        padding-top: 0;
        padding-bottom: 0;
    }
    .layout-menu-collapsed:not(.layout-menu-hover) .layout-menu .app-brand-logo.demo:has(.musteri-logo-wrap) {
        width: 30px !important;
        height: 30px !important;
        overflow: hidden !important;
    }
    .layout-menu-collapsed:not(.layout-menu-hover) .layout-menu .musteri-logo {
        max-width: 28px;
        max-height: 28px;
    }
}


/* =============================================
   Kampus & Donem Secim Sayfasi (.kds-)
   ============================================= */
.kds-sayfa {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: #0f1923;
    position: relative;
    overflow: hidden;
    font-family: 'Rubik', 'IBM Plex Sans', sans-serif;
}

/* Arka plan efektleri */
.kds-bg-efekt {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
}
.kds-bg-efekt-1 {
    width: 600px;
    height: 600px;
    background: #5a8dee;
    top: -200px;
    right: -100px;
    animation: kds-nefes 8s ease-in-out infinite;
}
.kds-bg-efekt-2 {
    width: 400px;
    height: 400px;
    background: #ff9f43;
    bottom: -100px;
    left: -80px;
    animation: kds-nefes 10s ease-in-out infinite reverse;
}
.kds-bg-efekt-3 {
    width: 300px;
    height: 300px;
    background: #28c76f;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: kds-nefes 12s ease-in-out infinite 2s;
}
@keyframes kds-nefes {
    0%, 100% { opacity: 0.08; transform: scale(1); }
    50% { opacity: 0.18; transform: scale(1.15); }
}

/* Ana konteyner */
.kds-konteyner {
    width: 100%;
    max-width: 640px;
    position: relative;
    z-index: 1;
    animation: kds-giris 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes kds-giris {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ust bilgi */
.kds-ust-bilgi {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: kds-giris 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.kds-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}
.kds-baslik {
    font-size: 1.625rem;
    font-weight: 700;
    color: #e8edf2;
    margin: 0 0 0.375rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.kds-alt-baslik {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* Bolum */
.kds-bolum {
    margin-bottom: 2rem;
    animation: kds-giris 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.kds-bolum:last-of-type {
    animation-delay: 0.3s;
}
.kds-bolum-baslik {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.kds-bolum-ikon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    background: rgba(90, 141, 238, 0.12);
    color: #5a8dee;
    flex-shrink: 0;
}
.kds-bolum-ikon-donem {
    background: rgba(255, 159, 67, 0.12);
    color: #ff9f43;
}
.kds-bolum-metin {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #cbd5e1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.kds-bolum-aciklama {
    font-size: 0.6875rem;
    color: #475569;
    font-weight: 500;
}

/* Kartlar grid */
.kds-kartlar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.625rem;
}

/* Kart */
.kds-kart {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    backdrop-filter: blur(8px);
}
.kds-kart:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}
.kds-kart-secili {
    background: rgba(90, 141, 238, 0.1);
    border-color: rgba(90, 141, 238, 0.35);
    box-shadow: 0 0 0 1px rgba(90, 141, 238, 0.15), 0 4px 16px rgba(90, 141, 238, 0.08);
}
.kds-kart-secili:hover {
    background: rgba(90, 141, 238, 0.12);
    border-color: rgba(90, 141, 238, 0.4);
}

/* Kart ikon */
.kds-kart-ikon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    background: rgba(90, 141, 238, 0.1);
    color: #5a8dee;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.kds-kart-ikon-tumu {
    background: rgba(40, 199, 111, 0.1);
    color: #28c76f;
}
.kds-kart-ikon-donem {
    background: rgba(255, 159, 67, 0.1);
    color: #ff9f43;
}
.kds-kart-secili .kds-kart-ikon {
    background: rgba(90, 141, 238, 0.2);
}
.kds-kart-secili .kds-kart-ikon-tumu {
    background: rgba(40, 199, 111, 0.2);
}
.kds-kart-secili .kds-kart-ikon-donem {
    background: rgba(255, 159, 67, 0.2);
}

/* Kart icerik */
.kds-kart-icerik {
    flex: 1;
    min-width: 0;
}
.kds-kart-ad {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kds-kart-detay {
    font-size: 0.6875rem;
    color: #64748b;
    margin-top: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Secim ikonu */
.kds-kart-secim {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
    color: transparent;
    font-size: 0.875rem;
}
.kds-kart-secili .kds-kart-secim {
    background: #5a8dee;
    border-color: #5a8dee;
    color: #fff;
}

/* Alt alan */
.kds-alt-alan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    animation: kds-giris 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* Devam butonu */
.kds-devam-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: #5a8dee;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.01em;
}
.kds-devam-btn:hover:not(:disabled) {
    background: #4a7bd8;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(90, 141, 238, 0.25);
}
.kds-devam-btn:active:not(:disabled) {
    transform: translateY(0);
}
.kds-devam-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.kds-devam-btn i {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}
.kds-devam-btn:hover:not(:disabled) i {
    transform: translateX(3px);
}

/* Atla linki */
.kds-atla-link {
    font-size: 0.75rem;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}
.kds-atla-link:hover {
    color: #94a3b8;
}

/* Responsive */
@media (min-width: 480px) {
    .kds-kartlar {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 479px) {
    .kds-baslik {
        font-size: 1.375rem;
    }
    .kds-kart {
        padding: 0.875rem;
    }
}

/* =============================================
   Sidebar Toggle Ikon Override
   ============================================= */
.layout-menu-toggle .menu-toggle-icon:before {
    content: "\ea54" !important; /* bx-chevrons-left */
}
.layout-menu-collapsed .layout-menu-toggle .menu-toggle-icon:before {
    content: "\ea55" !important; /* bx-chevrons-right */
}

/* Bilgilendirme Alert Metin Hizalama */
#profil-icerik .alert.alert-info > span {
    padding-top: 0.17rem;
}

/* Avatar header duzenleme */
.nav-pp { position: relative; display: inline-block; width: 40px; height: 40px; }
.nav-pp img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }
.nav-pp-dot { position: absolute; bottom: -3px; right: -3px; width: 10px; height: 10px; background: #39da8a; border-radius: 50%; border: 2px solid #fff; }

/* =============================================
   Profil Detay Panelleri (Collapsible)
   ============================================= */
.profil-detay-toggle {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #566a7f;
    padding: 0.35rem 0 !important;
}
.profil-detay-toggle:hover {
    color: #5a8dee;
}
.profil-detay-chevron {
    transition: transform 0.25s ease;
    font-size: 1rem;
    color: #a1acb8;
}
.profil-detay-toggle[aria-expanded="true"] .profil-detay-chevron {
    transform: rotate(180deg);
}
.profil-detay-liste .profil-bilgi-satir {
    padding: 0.3rem 0;
}
.profil-detay-liste .profil-bilgi-deger {
    font-size: 0.8rem;
}

/* =============================================
   Kayit Istatistikleri (.ki-)
   ============================================= */
.ki-ozet-kart {
    border: none;
    border-radius: 0.625rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.ki-ozet-kart:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.ki-ozet-kart .card-body {
    padding: 1.25rem 1.5rem;
}
.ki-ozet-baslik {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
    margin-bottom: 0.25rem;
}
.ki-ozet-tutar {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}
.ki-ozet-adet {
    font-size: 0.6875rem;
    opacity: 0.7;
    margin-top: 0.15rem;
}
.ki-ozet-ikon {
    font-size: 2.5rem;
    opacity: 0.25;
    flex-shrink: 0;
}
.ki-ozet-toplam {
    background: linear-gradient(135deg, #7367f0 0%, #5a4fd4 100%);
    color: #fff;
}
.ki-ozet-yogun {
    background: linear-gradient(135deg, #ff9f43 0%, #e68a30 100%);
    color: #fff;
}
.ki-ozet-guncel {
    background: linear-gradient(135deg, #28c76f 0%, #1ea95b 100%);
    color: #fff;
}
.ki-bar-bg {
    height: 8px;
    background: #f0f0f3;
    border-radius: 4px;
    overflow: hidden;
}
.ki-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #7367f0, #9b8cf8);
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* Filtre kart */
.ki-filtre-kart {
    border: none;
    border-radius: 0.625rem;
    box-shadow: 0 2px 6px rgba(67, 89, 113, 0.06);
}
.ki-filtre-kart .card-body {
    padding: 1rem 1.25rem;
}

/* Mod toggle (segmented control) */
.ki-mod-toggle {
    display: inline-flex;
    background: #f5f5f9;
    border-radius: 0.5rem;
    padding: 4px;
    gap: 2px;
}
.ki-mod-toggle-btn {
    background: transparent;
    border: none;
    padding: 7px 16px;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6f6b7d;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.ki-mod-toggle-btn:hover {
    color: #5d5878;
}
.ki-mod-toggle-btn.active {
    background: #fff;
    color: #7367f0;
    box-shadow: 0 2px 6px rgba(67, 89, 113, 0.12);
}
.ki-mod-toggle-btn i {
    font-size: 1.05rem;
}

/* Hızlı tarih chip'leri */
.ki-hizli-secim-grup {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f3;
}
.ki-chip {
    background: #f5f5f9;
    border: 1px solid transparent;
    color: #6f6b7d;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}
.ki-chip:hover {
    background: #ebe9f1;
    color: #5d5878;
    transform: translateY(-1px);
}
.ki-chip.active {
    background: linear-gradient(135deg, #7367f0 0%, #5a4fd4 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(115, 103, 240, 0.35);
}

/* Custom tooltip (Apex grafik) */
.ki-tooltip {
    padding: 8px 12px;
    font-family: 'IBM Plex Sans', sans-serif;
}
.ki-tooltip-baslik {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6f6b7d;
    margin-bottom: 2px;
}
.ki-tooltip-deger {
    font-size: 0.875rem;
    font-weight: 700;
    color: #5d5878;
}

/* =============================================
   Header Ogrenci Sayilari Badge
   ============================================= */
.header-ogrenci-sayilari {
    gap: 6px;
    padding: 0 4px;
    border-left: 1px solid rgba(67, 89, 113, 0.1);
    margin-left: 4px !important;
    padding-left: 12px !important;
}
.header-sayi-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: default;
    transition: transform 0.15s ease;
}
.header-sayi-badge:hover {
    transform: translateY(-1px);
}
.header-sayi-badge i {
    font-size: 0.8125rem;
}
.header-sayi-aktif {
    background: rgba(40, 199, 111, 0.12);
    color: #28c76f;
}
.header-sayi-pasif {
    background: rgba(234, 84, 85, 0.12);
    color: #ea5455;
}
.header-sayi-kontenjan {
    background: rgba(255, 159, 67, 0.12);
    color: #ff9f43;
}

/* Dashboard Tutar Gizle/Goster Butonu */
.header-tutar-gizle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    color: #a1acb8;
    font-size: 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
}
.header-tutar-gizle-btn:hover {
    background: rgba(67, 89, 113, 0.08);
    color: #566a7f;
}

/* =============================================
   Koyu Tema (Dark Mode) Tablo ve Akordiyon Düzenlemeleri
   ============================================= */

/* Profil Accordion ve Özet Kartları Koyu Tema */
[data-theme="dark"] .profil-accordion .accordion-item,
[data-bs-theme="dark"] .profil-accordion .accordion-item,
.dark-style .profil-accordion .accordion-item {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background-color: transparent !important;
}

[data-theme="dark"] .profil-accordion .accordion-button,
[data-bs-theme="dark"] .profil-accordion .accordion-button,
.dark-style .profil-accordion .accordion-button {
    background-color: rgba(255, 255, 255, 0.03) !important;
    color: #cfd3df !important;
}

[data-theme="dark"] .profil-accordion .accordion-button:not(.collapsed),
[data-bs-theme="dark"] .profil-accordion .accordion-button:not(.collapsed),
.dark-style .profil-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(105, 108, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #696cff !important;
}

[data-theme="dark"] .profil-accordion .accordion-body,
[data-bs-theme="dark"] .profil-accordion .accordion-body,
.dark-style .profil-accordion .accordion-body {
    background-color: transparent !important;
    color: #cfd3df !important;
}

[data-theme="dark"] .profil-kayit-ozet,
[data-bs-theme="dark"] .profil-kayit-ozet,
.dark-style .profil-kayit-ozet {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cfd3df !important;
}

/* Taksit Tabloları Koyu Tema */
[data-theme="dark"] .taksit-tablo thead th,
[data-bs-theme="dark"] .taksit-tablo thead th,
.dark-style .taksit-tablo thead th {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: #cfd3df !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .taksit-tablo tbody td,
[data-bs-theme="dark"] .taksit-tablo tbody td,
.dark-style .taksit-tablo tbody td {
    background-color: transparent !important;
    color: #cfd3df !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .taksit-tablo tbody tr:hover td,
[data-bs-theme="dark"] .taksit-tablo tbody tr:hover td,
.dark-style .taksit-tablo tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

[data-theme="dark"] .taksit-tablo tbody tr.taksit-satir-odendi td,
[data-bs-theme="dark"] .taksit-tablo tbody tr.taksit-satir-odendi td,
.dark-style .taksit-tablo tbody tr.taksit-satir-odendi td {
    background-color: rgba(40, 199, 111, 0.1) !important;
}
[data-theme="dark"] .taksit-tablo tbody tr.taksit-satir-odendi:hover td,
[data-bs-theme="dark"] .taksit-tablo tbody tr.taksit-satir-odendi:hover td,
.dark-style .taksit-tablo tbody tr.taksit-satir-odendi:hover td {
    background-color: rgba(40, 199, 111, 0.15) !important;
}

[data-theme="dark"] .taksit-tablo tbody tr.taksit-satir-gecikti td,
[data-bs-theme="dark"] .taksit-tablo tbody tr.taksit-satir-gecikti td,
.dark-style .taksit-tablo tbody tr.taksit-satir-gecikti td {
    background-color: rgba(234, 84, 85, 0.1) !important;
}
[data-theme="dark"] .taksit-tablo tbody tr.taksit-satir-gecikti:hover td,
[data-bs-theme="dark"] .taksit-tablo tbody tr.taksit-satir-gecikti:hover td,
.dark-style .taksit-tablo tbody tr.taksit-satir-gecikti:hover td {
    background-color: rgba(234, 84, 85, 0.15) !important;
}

[data-theme="dark"] .taksit-tablo tbody tr.taksit-satir-kismi td,
[data-bs-theme="dark"] .taksit-tablo tbody tr.taksit-satir-kismi td,
.dark-style .taksit-tablo tbody tr.taksit-satir-kismi td {
    background-color: rgba(0, 207, 232, 0.1) !important;
}
[data-theme="dark"] .taksit-tablo tbody tr.taksit-satir-kismi:hover td,
[data-bs-theme="dark"] .taksit-tablo tbody tr.taksit-satir-kismi:hover td,
.dark-style .taksit-tablo tbody tr.taksit-satir-kismi:hover td {
    background-color: rgba(0, 207, 232, 0.15) !important;
}

/* Dashboard Tablo Düzenlemeleri (Koyu Tema) */
[data-theme="dark"] .dash-tahsilat-tablo thead th,
[data-bs-theme="dark"] .dash-tahsilat-tablo thead th,
.dark-style .dash-tahsilat-tablo thead th {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: #cfd3df !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .dash-tahsilat-tablo tbody td,
[data-bs-theme="dark"] .dash-tahsilat-tablo tbody td,
.dark-style .dash-tahsilat-tablo tbody td {
    background-color: transparent !important;
    color: #cfd3df !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .dash-tahsilat-tablo tbody tr:hover td,
[data-bs-theme="dark"] .dash-tahsilat-tablo tbody tr:hover td,
.dark-style .dash-tahsilat-tablo tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

[data-theme="dark"] .dash-tahsilat-tablo tbody tr.dash-satir-gecikti td,
[data-bs-theme="dark"] .dash-tahsilat-tablo tbody tr.dash-satir-gecikti td,
.dark-style .dash-tahsilat-tablo tbody tr.dash-satir-gecikti td {
    background-color: rgba(234, 84, 85, 0.1) !important;
}
[data-theme="dark"] .dash-tahsilat-tablo tbody tr.dash-satir-gecikti:hover td,
[data-bs-theme="dark"] .dash-tahsilat-tablo tbody tr.dash-satir-gecikti:hover td,
.dark-style .dash-tahsilat-tablo tbody tr.dash-satir-gecikti:hover td {
    background-color: rgba(234, 84, 85, 0.15) !important;
}

/* =============================================
   Cari Hareketleri — Aciklama Kolonu
   ============================================= */
.aciklama-hucre { max-width: 180px; }
.aciklama-metin {
    display: block;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    color: #696cff;
    transition: color .15s;
}
.aciklama-metin:hover { color: #5f61e6; text-decoration: underline; }
[data-theme="dark"] .aciklama-metin { color: #8385ff; }
[data-theme="dark"] .aciklama-metin:hover { color: #a5a7ff; }

/* Hareket Detay Modal — Aciklama Blogu */
.hareket-detay-aciklama {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}
.hareket-detay-aciklama-baslik {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #a1acb8;
    margin-bottom: 0.35rem;
}
.hareket-detay-aciklama-icerik {
    font-size: .8125rem;
    font-weight: 500;
    color: #566a7f;
    line-height: 1.5;
    white-space: pre-line;
}
[data-theme="dark"] .hareket-detay-aciklama { background: #2b2c40; border-color: #3b3f5c; }
[data-theme="dark"] .hareket-detay-aciklama-icerik { color: #cfd3ec; }

/* Quill Editor (Sozlesme Hususlar) */
.form-kart .ql-toolbar.ql-snow { border-radius: .375rem .375rem 0 0; border-color: #d4d8dd; background: #f8f9fa; }
.form-kart .ql-container.ql-snow { border-radius: 0 0 .375rem .375rem; border-color: #d4d8dd; font-size: .8125rem; min-height: 200px; }
.form-kart .ql-editor { min-height: 200px; font-family: 'IBM Plex Sans', sans-serif; line-height: 1.6; }
.form-kart .ql-editor.ql-blank::before { font-style: normal; color: #a1acb8; font-size: .8125rem; }
.form-kart .ql-snow .ql-picker-label { font-size: .8125rem; }
[data-theme="dark"] .form-kart .ql-toolbar.ql-snow { background: #2b2c40; border-color: #3b3f5c; }
[data-theme="dark"] .form-kart .ql-container.ql-snow { border-color: #3b3f5c; background: #2b2c40; color: #cfd3ec; }
[data-theme="dark"] .form-kart .ql-editor.ql-blank::before { color: #6d7580; }
[data-theme="dark"] .form-kart .ql-snow .ql-stroke { stroke: #cfd3ec; }
[data-theme="dark"] .form-kart .ql-snow .ql-fill { fill: #cfd3ec; }
[data-theme="dark"] .form-kart .ql-snow .ql-picker-label { color: #cfd3ec; }
[data-theme="dark"] .form-kart .ql-snow .ql-picker-options { background: #2b2c40; border-color: #3b3f5c; }

/* =============================================
   Pricing / Paket Satin Al Sayfasi
   ============================================= */
.pricing-kart .card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pricing-kart .card:hover { transform: translateY(-4px); box-shadow: 0 0.5rem 1.5rem rgba(246, 126, 126, 0.12) !important; }
.pricing-kart .card.border-paket-vurgu:hover { box-shadow: 0 0.5rem 1.5rem rgba(246, 126, 126, 0.25) !important; }
.pricing-kart .pricing-fiyat { color: #f67e7e !important; font-weight: 600; }
.pricing-kart .list-unstyled li { font-size: 0.875rem; }
.pricing-kart .badge-center { display: inline-flex; align-items: center; justify-content: center; }
.pricing-kart .paket-aylik-carpan { font-size: 0.8rem; }
.pricing-kart .paket-kdv-etiketi {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 3px 10px;
    border-radius: 12px;
    background-color: rgba(246, 126, 126, 0.1);
    color: #f67e7e;
    border: 1px solid rgba(246, 126, 126, 0.25);
}

/* Checkout / Paket Odeme Sayfasi */
.checkout-kart .card-footer { background: transparent; }
.checkout-ozet-kart { position: sticky; top: 80px; }
.sozlesme-onay-satiri { background: rgba(67, 89, 113, 0.03); border: 1px solid rgba(67, 89, 113, 0.08); transition: background 0.15s ease; }
.sozlesme-onay-satiri:hover { background: rgba(67, 89, 113, 0.06); }
.sozlesme-icerik { white-space: pre-wrap; line-height: 1.7; font-size: 0.875rem; }
[data-theme="dark"] .sozlesme-onay-satiri { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .sozlesme-onay-satiri:hover { background: rgba(255, 255, 255, 0.06); }

/* Switch toggle pozisyon fix */
.switch .switch-input:checked ~ .switch-toggle-slider::after { left: 1rem !important; }
.switch .switch-toggle-slider::after { top: -2px !important; }

/* Ozellik satiri (Inc paket ekle/duzenle) */
.ozellik-satiri { animation: ozellikGir 0.2s ease; }
@keyframes ozellikGir { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* =============================================
   Paket Sayfasi Ozel Renk
   ============================================= */
.border-paket-vurgu { border-color: #f67e7e !important; }
.bg-paket-vurgu { background-color: #f67e7e !important; color: #fff !important; }
.btn-paket-vurgu { background-color: #f67e7e !important; border-color: #f67e7e !important; color: #fff !important; }
.btn-paket-vurgu:hover { background-color: #e56b6b !important; border-color: #e56b6b !important; color: #fff !important; }
.btn-label-paket-vurgu { background-color: rgba(246, 126, 126, 0.08) !important; border-color: rgba(246, 126, 126, 0.3) !important; color: #f67e7e !important; }
.btn-label-paket-vurgu:hover { background-color: #f67e7e !important; border-color: #f67e7e !important; color: #fff !important; }
.bg-label-paket-vurgu { background-color: rgba(246, 126, 126, 0.16) !important; color: #f67e7e !important; }
.text-paket-vurgu { color: #f67e7e !important; }
.switch-paket-vurgu .switch-input:checked ~ .switch-toggle-slider { background-color: #f67e7e !important; border-color: #f67e7e !important; }
.switch-paket-vurgu .switch-input:checked ~ .switch-toggle-slider::after { background-color: #fff !important; }
.sozlesme-onay-metin { color: #f67e7e; }
.checkout-tarih-bilgi { border-left: 3px solid #f67e7e; }
.siparis-ozet-satirlari hr { border-color: rgba(67, 89, 113, 0.15); }
.siparis-ozet-satirlari .siparis-ozet-kdv-not { font-size: 0.72rem; color: #8a8d93; font-style: italic; }
[data-theme="dark"] .siparis-ozet-satirlari hr { border-color: rgba(255, 255, 255, 0.15); }

/* Karsilastirma Tablosu */
.karsilastirma-tablosu { margin-bottom: 0; font-size: 0.875rem; }
.karsilastirma-tablosu thead th { vertical-align: middle; white-space: nowrap; }
.karsilastirma-ozellik-baslik { min-width: 220px; font-weight: 600; background: #f8f8f8; }
.karsilastirma-paket-baslik { text-align: center; min-width: 140px; }
.karsilastirma-paket-adi { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 2px; }
.karsilastirma-paket-fiyat { font-size: 0.75rem; opacity: 0.85; }
.karsilastirma-populer { background-color: #f67e7e !important; color: #fff !important; }
.karsilastirma-populer .karsilastirma-paket-fiyat { opacity: 1; }
.karsilastirma-populer-sutun { background-color: rgba(246, 126, 126, 0.04); }
.karsilastirma-ozellik-adi { font-weight: 500; }
[data-theme="dark"] .karsilastirma-ozellik-baslik { background: #2b2c40; }
[data-theme="dark"] .karsilastirma-populer-sutun { background-color: rgba(246, 126, 126, 0.08); }

/* =============================================
   Logo & Avatar (footer.php'den tasindi)
   ============================================= */
.app-brand-logo.demo { width: 100% !important; }
.app-brand-logo.demo img { height: auto !important; max-width: 100% !important; object-fit: contain !important; }
.app-brand-logo.demo .logo-beyaz { width: 100% !important; }
.app-brand-logo.demo .logo-siyah { width: 25% !important; }
[data-theme="dark"] .logo-siyah, .dark-style .logo-siyah { display: none !important; }
[data-theme="dark"] .logo-beyaz, .dark-style .logo-beyaz { display: block !important; }
[data-theme="light"] .logo-beyaz, .light-style .logo-beyaz { display: none !important; }
[data-theme="light"] .logo-siyah, .light-style .logo-siyah { display: block !important; }
.avatar img { height: auto !important; }

/* =============================================
   Hesap Hareketleri Modal (banka-kasa.php'den tasindi)
   ============================================= */
.hareketler-modal { border: none; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.12); }
.hareketler-baslik { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; background: linear-gradient(135deg, #5a8dee 0%, #4a7bd8 100%); }
.hareketler-baslik-sol { display: flex; align-items: center; gap: 0.75rem; }
.hareketler-ikon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.hareketler-ikon i { font-size: 1.25rem; color: #fff; }
.hareketler-hesap-adi { font-size: 0.9375rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.hareketler-alt-baslik { font-size: 0.6875rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.hareketler-kapat-btn { background: rgba(255,255,255,0.15); border: none; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.15s; }
.hareketler-kapat-btn i { font-size: 1.25rem; color: #fff; line-height: 1; }
.hareketler-kapat-btn:hover { background: rgba(255,255,255,0.3); }
.hareketler-filtre { display: flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1.25rem; background: #f8f9fb; border-bottom: 1px solid rgba(67,89,113,0.08); flex-wrap: wrap; }
.hareketler-filtre-grup { display: flex; align-items: center; gap: 0.375rem; }
.hareketler-filtre-alan { display: flex; align-items: center; gap: 0.25rem; background: #fff; border: 1px solid rgba(67,89,113,0.12); border-radius: 0.375rem; padding: 0 0.5rem; height: 30px; }
.hareketler-filtre-alan i { font-size: 0.875rem; color: #a1acb8; flex-shrink: 0; }
.hareketler-filtre-input { border: none; outline: none; font-size: 0.6875rem; font-family: 'Rubik', sans-serif; color: #566a7f; width: 110px; background: transparent; }
.hareketler-filtre-ayrac { font-size: 0.625rem; color: #c5ccd4; }
.hareketler-filtre-select { border: 1px solid rgba(67,89,113,0.12); border-radius: 0.375rem; font-size: 0.6875rem; font-family: 'Rubik', sans-serif; color: #566a7f; padding: 0 0.5rem; height: 30px; background: #fff; outline: none; cursor: pointer; min-width: 120px; }
.hareketler-filtre-btn { border: none; background: #5a8dee; color: #fff; font-size: 0.6875rem; font-family: 'Rubik', sans-serif; font-weight: 600; padding: 0 0.875rem; height: 30px; border-radius: 0.375rem; cursor: pointer; display: flex; align-items: center; gap: 0.25rem; transition: background 0.15s; margin-left: auto; }
.hareketler-filtre-btn:hover { background: #4a7bd8; }
.hareketler-icerik { max-height: 420px; overflow-y: auto; padding: 0; }
.hareketler-icerik::-webkit-scrollbar { width: 4px; }
.hareketler-icerik::-webkit-scrollbar-track { background: transparent; }
.hareketler-icerik::-webkit-scrollbar-thumb { background: rgba(67,89,113,0.15); border-radius: 4px; }
.hareket-tarih-grup { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #a1acb8; padding: 0.625rem 1.25rem 0.375rem; background: #fafbfc; border-bottom: 1px solid rgba(67,89,113,0.05); position: sticky; top: 0; z-index: 1; }
.hareket-satir { display: flex; align-items: center; gap: 0.625rem; padding: 0.5rem 1.25rem; border-bottom: 1px solid rgba(67,89,113,0.04); transition: background 0.12s; cursor: default; }
.hareket-satir:hover { background: rgba(90,141,238,0.025); }
.hareket-satir:last-child { border-bottom: none; }
.hareket-tip-ikon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.875rem; }
.hareket-tip-ikon.giris { background: rgba(40,199,111,0.1); color: #28c76f; }
.hareket-tip-ikon.cikis { background: rgba(234,84,85,0.1); color: #ea5455; }
.hareket-tip-ikon.virman { background: rgba(90,141,238,0.1); color: #5a8dee; }
.hareket-detay { flex: 1; min-width: 0; }
.hareket-tip-adi { font-size: 0.75rem; font-weight: 600; color: #566a7f; line-height: 1.3; }
.hareket-aciklama { font-size: 0.625rem; color: #a1acb8; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; }
.hareket-tutar-alan { text-align: right; flex-shrink: 0; }
.hareket-tutar { font-size: 0.8125rem; font-weight: 700; line-height: 1.3; }
.hareket-tutar.giris { color: #28c76f; }
.hareket-tutar.cikis { color: #ea5455; }
.hareket-bakiye { font-size: 0.5625rem; color: #a1acb8; line-height: 1.3; }
.hareketler-bos, .hareketler-yukleniyor { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 1rem; color: #c5ccd4; gap: 0.5rem; }
.hareketler-bos i { font-size: 2.5rem; }
.hareketler-bos span, .hareketler-yukleniyor span { font-size: 0.75rem; font-weight: 500; }
.hareketler-spinner { width: 24px; height: 24px; border: 2.5px solid rgba(90,141,238,0.15); border-top-color: #5a8dee; border-radius: 50%; animation: hrkSpn 0.6s linear infinite; }
@keyframes hrkSpn { to { transform: rotate(360deg); } }
.hareketler-alt { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 1.25rem; background: #f8f9fb; border-top: 1px solid rgba(67,89,113,0.08); }
.hareketler-bilgi { font-size: 0.625rem; color: #a1acb8; font-weight: 500; }
.hareketler-daha-btn { border: 1px solid rgba(67,89,113,0.12); background: #fff; color: #566a7f; font-size: 0.6875rem; font-family: 'Rubik', sans-serif; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 0.375rem; cursor: pointer; display: flex; align-items: center; gap: 0.25rem; transition: all 0.15s; }
.hareketler-daha-btn:hover { border-color: #5a8dee; color: #5a8dee; }

/* =========================================================
   Impersonate Bandi (Yonetici musteri olarak giris yapinca)
   - Fixed-top, sidebar+navbar uzerine ciker;
   - body.impersonate-aktif ile padding-top kadar tum layout asagi iter.
   ========================================================= */
:root {
    --impersonate-bandi-h: 42px;
}
.impersonate-bandi {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1090; /* sidebar/navbar uzeri */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: var(--impersonate-bandi-h);
    padding: 0 1.25rem;
    background: linear-gradient(90deg, #ff9f43 0%, #ff6b35 100%);
    color: #fff;
    font-family: 'Rubik', sans-serif;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
body.impersonate-aktif {
    padding-top: var(--impersonate-bandi-h);
}
.impersonate-bandi-icerik {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.3;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}
.impersonate-bandi-ikon {
    font-size: 1.125rem;
    flex-shrink: 0;
}
.impersonate-bandi-metin {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.impersonate-bandi-metin strong {
    font-weight: 700;
    letter-spacing: 0.02em;
}
.impersonate-bandi-buton {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3125rem 0.75rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
}
.impersonate-bandi-buton:hover {
    background: rgba(255,255,255,0.32);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
    text-decoration: none;
}
.impersonate-bandi-buton i {
    font-size: 0.9375rem;
}
/* Sayfa loader'i banner uzerine biner; banner gorunur kalsin diye loader az altinda baslar */
body.impersonate-aktif #page-loader {
    top: var(--impersonate-bandi-h);
    height: calc(100% - var(--impersonate-bandi-h));
}
@media (max-width: 575px) {
    :root { --impersonate-bandi-h: 56px; }
    .impersonate-bandi {
        padding: 0 0.75rem;
        font-size: 0.75rem;
    }
    .impersonate-bandi-buton span {
        display: none;
    }
}

/* =========================================================
   Impersonate Kullanici Secim Modal (inc/musteriler.php)
   ========================================================= */
.impersonate-kullanici-listesi {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 60vh;
    overflow-y: auto;
}
.impersonate-yukleniyor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    color: #a1acb8;
    font-size: 0.8125rem;
}
.impersonate-kullanici-sec {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: #fff;
    border: 1px solid rgba(67, 89, 113, 0.12);
    border-radius: 0.5rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
    font-family: inherit;
}
.impersonate-kullanici-sec:hover {
    border-color: #5a8dee;
    background: rgba(90, 141, 238, 0.04);
    transform: translateY(-1px);
}
.impersonate-kullanici-ikon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(90, 141, 238, 0.1);
    color: #5a8dee;
    border-radius: 50%;
    font-size: 1.25rem;
}
.impersonate-kullanici-bilgi {
    flex: 1;
    min-width: 0;
}
.impersonate-kullanici-ad {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #566a7f;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.impersonate-kullanici-mail {
    font-size: 0.6875rem;
    color: #a1acb8;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =============================================
   Yoklama Sayfasi
   ============================================= */
.yoklama-satiri {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f5;
}
.yoklama-satiri:last-child {
    border-bottom: 0;
}
.sticky-yoklama-bar {
    position: sticky;
    bottom: 16px;
    background: #fff;
    border: 1px solid #d8dee9;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    margin-top: 16px;
    z-index: 10;
}

/* =============================================
   Korumali Belge Onizleme (sirket evraklari, odeme belgeleri)
   ============================================= */
.korumali-belge-onizleme-resim {
    max-width: 100%;
    max-height: 76vh;
    object-fit: contain;
}
.korumali-belge-onizleme-cerceve {
    width: 100%;
    height: 76vh;
    border: none;
    display: block;
}
.korumali-belge-onizleme-alani .korumali-belge-onizleme-resim {
    max-height: 60vh;
}
.korumali-belge-onizleme-alani .korumali-belge-onizleme-cerceve {
    height: 60vh;
}

/* =============================================
   Sirket Evraklari Gezgini
   ============================================= */
.evrak-gezgini,
.evrak-yukleme-tepsisi {
    --evrak-klasor: #f6b73c;
    --evrak-klasor-koyu: #e19b1a;
    --evrak-vurgu: #5a8dee;
    --evrak-metin: #566a7f;
    --evrak-soluk: #a1acb8;
    --evrak-kenar: #e7ebf0;
}

/* Baslik araclari */
.evrak-baslik-araclar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.evrak-arama {
    position: relative;
}
.evrak-arama .bx {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a1acb8;
    font-size: 1rem;
    pointer-events: none;
}
.evrak-arama .form-control {
    width: 240px;
    padding-left: 2rem;
}

/* Yol cubugu */
.evrak-gezgin-yol {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--evrak-kenar);
    border-radius: 0.375rem 0.375rem 0 0;
    background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
}
.evrak-yol-izi {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.125rem;
    min-width: 0;
}
.evrak-yol-oge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    max-width: 320px;
    padding: 0.25rem 0.5rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    background: transparent;
    color: var(--evrak-soluk);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
}
.evrak-yol-oge > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.evrak-yol-oge .bx {
    font-size: 1rem;
    flex-shrink: 0;
}
.evrak-yol-oge.aktif {
    color: var(--evrak-metin);
    font-weight: 600;
}
.evrak-yol-klasor-ikon {
    color: var(--evrak-klasor-koyu);
}
.evrak-yol-kok {
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.evrak-yol-kok > * {
    pointer-events: none;
}
.evrak-yol-kok:hover {
    background: rgba(90, 141, 238, 0.08);
    color: var(--evrak-vurgu);
}
.evrak-yol-kok.aktif {
    cursor: default;
}
.evrak-yol-kok.aktif:hover {
    background: transparent;
    color: var(--evrak-metin);
}
.evrak-yol-kok.surukleme-hedefi {
    border-color: rgba(90, 141, 238, 0.45);
    background: rgba(90, 141, 238, 0.1);
    color: var(--evrak-vurgu);
    box-shadow: 0 0 0 3px rgba(90, 141, 238, 0.2);
}
.evrak-yol-ayrac {
    color: #c5ccd4;
    font-size: 1rem;
}
.evrak-yol-arama {
    padding-right: 0.25rem;
    background: rgba(90, 141, 238, 0.08);
    color: var(--evrak-vurgu);
}
.evrak-yol-temizle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.15s;
}
.evrak-yol-temizle:hover {
    background: rgba(90, 141, 238, 0.16);
}
.evrak-gezgin-ozet {
    color: var(--evrak-soluk);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Govde */
.evrak-gezgin-govde {
    position: relative;
    isolation: isolate;
    min-height: 420px;
    padding: 1rem 1rem 1.25rem;
}
.evrak-gezgin-govde::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    width: 0;
    height: 2px;
    background: var(--evrak-vurgu);
    opacity: 0;
}
.evrak-gezgin-govde.evrak-gezgin-yukleniyor::before {
    opacity: 1;
    animation: evrakYuklemeCizgisi 1s ease-in-out infinite;
}
.evrak-gezgin-icerik {
    transition: opacity 0.2s ease;
}
.evrak-gezgin-yukleniyor .evrak-gezgin-icerik {
    opacity: 0.55;
    pointer-events: none;
}
.evrak-yukleniyor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 380px;
    color: var(--evrak-soluk);
    font-size: 0.8125rem;
}

/* Bolum basliklari */
.evrak-bolum + .evrak-bolum {
    margin-top: 1.5rem;
}
.evrak-bolum-baslik {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--evrak-soluk);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.evrak-bolum-baslik::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--evrak-kenar);
}
.evrak-bolum-sayi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 0.375rem;
    border-radius: 9px;
    background: #f2f4f7;
    color: var(--evrak-metin);
    font-size: 0.6875rem;
    letter-spacing: 0;
}

/* Klasor karolari */
.evrak-klasor-izgara {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 0.875rem;
}
.evrak-klasor,
.evrak-klasor-yeni {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.75rem 0.875rem;
    border: 1px solid var(--evrak-kenar);
    border-radius: 0.625rem;
    background: #fff;
    text-align: center;
    cursor: pointer;
    outline: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.evrak-klasor:hover {
    border-color: #dfe4ec;
    box-shadow: 0 8px 20px rgba(67, 89, 113, 0.1);
    transform: translateY(-2px);
}
.evrak-klasor:focus-visible,
.evrak-klasor-yeni:focus-visible {
    border-color: var(--evrak-vurgu);
    box-shadow: 0 0 0 3px rgba(90, 141, 238, 0.35);
}
.evrak-klasor.surukleme-hedefi {
    z-index: 3;
    border-color: var(--evrak-vurgu);
    background: #f7faff;
    box-shadow: 0 0 0 3px rgba(90, 141, 238, 0.35), 0 10px 24px rgba(90, 141, 238, 0.18);
    transform: scale(1.04);
}
.evrak-klasor.menu-acik {
    z-index: 5;
}

/* Klasor cizimi: arka panel + kulakcik + kagit + on panel */
.evrak-klasor-cizim {
    position: relative;
    width: 76px;
    height: 56px;
    margin: 0.625rem 0 0.75rem;
    border-radius: 2px 6px 6px 6px;
    background: var(--evrak-klasor-koyu);
}
.evrak-klasor-cizim::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 0;
    width: 30px;
    height: 9px;
    border-radius: 5px 7px 0 0;
    background: var(--evrak-klasor-koyu);
}
.evrak-klasor-kagit {
    position: absolute;
    top: 5px;
    left: 8px;
    right: 8px;
    height: 30px;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}
.evrak-klasor-cizim::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 44px;
    border-radius: 4px 4px 6px 6px;
    background: linear-gradient(180deg, #ffcf6e 0%, var(--evrak-klasor) 58%, #eea92c 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 5px rgba(225, 155, 26, 0.28);
    transform-origin: bottom center;
    transition: transform 0.2s ease;
}
.evrak-klasor-bos .evrak-klasor-kagit {
    display: none;
}
.evrak-klasor:hover .evrak-klasor-kagit {
    transform: translateY(-3px);
}
.evrak-klasor:hover .evrak-klasor-cizim::after,
.evrak-klasor.surukleme-hedefi .evrak-klasor-cizim::after {
    transform: perspective(200px) rotateX(-14deg);
}
.evrak-klasor.surukleme-hedefi .evrak-klasor-kagit {
    transform: translateY(-6px);
}
.evrak-klasor-ad {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--evrak-metin);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}
.evrak-klasor-meta {
    margin-top: 0.25rem;
    color: var(--evrak-soluk);
    font-size: 0.6875rem;
}
.evrak-klasor-menu {
    position: absolute;
    top: 0.375rem;
    right: 0.375rem;
}
.evrak-klasor-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 0.375rem;
    background: transparent;
    color: var(--evrak-soluk);
    font-size: 1.125rem;
    opacity: 0;
    transition: opacity 0.15s, background-color 0.15s, color 0.15s;
}
.evrak-klasor:hover .evrak-klasor-menu-btn,
.evrak-klasor:focus-within .evrak-klasor-menu-btn,
.evrak-klasor.menu-acik .evrak-klasor-menu-btn {
    opacity: 1;
}
.evrak-klasor-menu-btn:hover,
.evrak-klasor.menu-acik .evrak-klasor-menu-btn {
    background: rgba(90, 141, 238, 0.08);
    color: var(--evrak-vurgu);
}
.evrak-klasor-menu .dropdown-menu {
    min-width: 11rem;
    font-size: 0.8125rem;
    text-align: left;
}
.evrak-klasor-yeni {
    justify-content: center;
    gap: 0.5rem;
    min-height: 150px;
    border: 1.5px dashed #d3dae4;
    background: transparent;
    color: var(--evrak-soluk);
    font-size: 0.8125rem;
    font-weight: 500;
}
.evrak-klasor-yeni .bx {
    font-size: 1.75rem;
    transition: transform 0.2s ease;
}
.evrak-klasor-yeni:hover {
    border-color: var(--evrak-vurgu);
    background: rgba(90, 141, 238, 0.04);
    color: var(--evrak-vurgu);
}
.evrak-klasor-yeni:hover .bx {
    transform: scale(1.1);
}

/* Evrak listesi */
.evrak-liste {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--evrak-kenar);
    border-radius: 0.5rem;
}
.evrak-satir {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.625rem 0.875rem;
    border-bottom: 1px solid #f0f0f5;
    background: #fff;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}
.evrak-satir:last-child {
    border-bottom: 0;
}
.evrak-satir:hover {
    background: #f8faff;
}
.evrak-satir[draggable="true"] {
    cursor: grab;
}
.evrak-satir[draggable="true"]:active {
    cursor: grabbing;
}
.evrak-satir.surukleniyor {
    opacity: 0.5;
}
.evrak-satir-tutamac {
    display: inline-flex;
    flex-shrink: 0;
    width: 14px;
    margin-right: -0.375rem;
    color: #c5ccd4;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.15s;
}
.evrak-satir:hover .evrak-satir-tutamac {
    opacity: 1;
}
.evrak-satir-ikon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: #f5f7fa;
    font-size: 1.5rem;
}
.evrak-satir-govde {
    flex: 1 1 auto;
    min-width: 0;
}
.evrak-satir-ad {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    color: var(--evrak-metin);
    font-size: 0.8125rem;
    font-weight: 600;
}
.evrak-satir-ad-metin {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.evrak-satir-klasor {
    flex-shrink: 0;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.6875rem;
    font-weight: 500;
}
.evrak-satir-aciklama {
    margin-top: 0.125rem;
    overflow: hidden;
    color: var(--evrak-soluk);
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.evrak-satir-meta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 1.25rem;
    color: var(--evrak-soluk);
    font-size: 0.75rem;
}
.evrak-satir-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}
.evrak-satir-boyut {
    justify-content: flex-end;
    min-width: 64px;
    font-variant-numeric: tabular-nums;
}
.evrak-satir-yukleyen-ad {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.evrak-satir-tarih {
    min-width: 118px;
    font-variant-numeric: tabular-nums;
}
.evrak-satir-islemler {
    display: flex;
    flex-shrink: 0;
    gap: 0.25rem;
}
.evrak-liste-not {
    margin-top: 0.5rem;
    color: var(--evrak-soluk);
    font-size: 0.75rem;
    text-align: center;
}

/* Bos durumlar */
.evrak-bos-durum {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1rem;
    color: var(--evrak-soluk);
    text-align: center;
}
.evrak-bos-ikon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 0.875rem;
    border-radius: 50%;
    background: rgba(90, 141, 238, 0.08);
    color: var(--evrak-vurgu);
    font-size: 2rem;
}
.evrak-bos-baslik {
    color: var(--evrak-metin);
    font-size: 0.9375rem;
    font-weight: 600;
}
.evrak-bos-aciklama {
    max-width: 360px;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
}
.evrak-bos-durum-buyuk {
    justify-content: center;
    min-height: 380px;
}
.evrak-bos-durum-buyuk .evrak-bos-ikon {
    width: 88px;
    height: 88px;
    font-size: 2.75rem;
    animation: evrakSuzul 3s ease-in-out infinite;
}

/* Birakma ortusu */
.evrak-birakma-ortusu {
    position: absolute;
    inset: 0.5rem;
    z-index: 2;
    border: 2px dashed var(--evrak-vurgu);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s;
}
.evrak-birakma-ortusu.gorunur {
    opacity: 1;
    visibility: visible;
}
.evrak-birakma-icerik {
    position: sticky;
    top: 35vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    width: max-content;
    max-width: calc(100% - 2rem);
    margin: 4rem auto 0;
    text-align: center;
    transform: translateY(6px) scale(0.98);
    transition: transform 0.2s ease;
}
.evrak-birakma-ortusu.gorunur .evrak-birakma-icerik {
    transform: none;
}
.evrak-birakma-icerik > .bx {
    color: var(--evrak-vurgu);
    font-size: 3rem;
    animation: evrakSuzul 1.6s ease-in-out infinite;
}
.evrak-birakma-baslik {
    color: var(--evrak-metin);
    font-size: 1rem;
    font-weight: 600;
}
.evrak-birakma-hedef {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    max-width: 100%;
    color: var(--evrak-soluk);
    font-size: 0.8125rem;
}
.evrak-birakma-hedef b {
    overflow: hidden;
    color: var(--evrak-vurgu);
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Yukleme tepsisi */
.evrak-yukleme-tepsisi {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1045;
    width: 360px;
    max-width: calc(100vw - 2rem);
    overflow: hidden;
    border: 1px solid var(--evrak-kenar);
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(67, 89, 113, 0.18);
    font-family: 'Rubik', sans-serif;
    animation: evrakTepsiKay 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.evrak-tepsi-baslik {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem 0.625rem 1rem;
    border-bottom: 1px solid var(--evrak-kenar);
    color: var(--evrak-metin);
    font-size: 0.8125rem;
    font-weight: 600;
}
.evrak-tepsi-baslik > .bx {
    color: var(--evrak-vurgu);
    font-size: 1.125rem;
}
.evrak-tepsi-baslik-metin {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.evrak-tepsi-dugme {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 0.375rem;
    background: transparent;
    color: var(--evrak-soluk);
    font-size: 1.125rem;
    transition: background-color 0.15s, color 0.15s;
}
.evrak-tepsi-dugme:hover:not(:disabled) {
    background: rgba(90, 141, 238, 0.08);
    color: var(--evrak-vurgu);
}
.evrak-tepsi-dugme:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.evrak-tepsi-dugme .bx {
    transition: transform 0.2s ease;
}
.evrak-yukleme-tepsisi.daraltildi .evrak-tepsi-daralt .bx {
    transform: rotate(180deg);
}
.evrak-yukleme-tepsisi.daraltildi .evrak-tepsi-baslik {
    border-bottom: 0;
}
.evrak-yukleme-tepsisi.daraltildi .evrak-tepsi-liste {
    display: none;
}
.evrak-tepsi-liste {
    max-height: 280px;
    overflow-y: auto;
    padding: 0.25rem 0;
}
.evrak-tepsi-satir {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
}
.evrak-tepsi-satir + .evrak-tepsi-satir {
    border-top: 1px solid #f4f5f8;
}
.evrak-tepsi-ikon {
    flex-shrink: 0;
    margin-top: 0.0625rem;
    font-size: 1.375rem;
}
.evrak-tepsi-satir-govde {
    flex: 1;
    min-width: 0;
}
.evrak-tepsi-ad {
    overflow: hidden;
    color: var(--evrak-metin);
    font-size: 0.75rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.evrak-tepsi-ilerleme {
    height: 4px;
    margin: 0.3125rem 0 0.25rem;
    background: #eef1f5;
}
.evrak-tepsi-ilerleme .progress-bar {
    transition: width 0.2s ease;
}
.evrak-tepsi-durum {
    overflow: hidden;
    color: var(--evrak-soluk);
    font-size: 0.6875rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.evrak-tepsi-satir.durum-tamam .evrak-tepsi-durum {
    color: #39da8a;
}
.evrak-tepsi-satir.durum-hata .evrak-tepsi-durum {
    color: #ea5455;
    white-space: normal;
}

/* Animasyonlar */
@keyframes evrakBelir {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
@keyframes evrakTepsiKay {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}
@keyframes evrakSuzul {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes evrakYuklemeCizgisi {
    0% { left: 0; width: 0; }
    50% { left: 20%; width: 50%; }
    100% { left: 100%; width: 0; }
}
.evrak-klasor,
.evrak-klasor-yeni,
.evrak-satir,
.evrak-bos-durum {
    animation: evrakBelir 0.32s ease backwards;
}
.evrak-klasor-izgara > :nth-child(2), .evrak-liste > :nth-child(2) { animation-delay: 0.03s; }
.evrak-klasor-izgara > :nth-child(3), .evrak-liste > :nth-child(3) { animation-delay: 0.06s; }
.evrak-klasor-izgara > :nth-child(4), .evrak-liste > :nth-child(4) { animation-delay: 0.09s; }
.evrak-klasor-izgara > :nth-child(5), .evrak-liste > :nth-child(5) { animation-delay: 0.12s; }
.evrak-klasor-izgara > :nth-child(6), .evrak-liste > :nth-child(6) { animation-delay: 0.15s; }
.evrak-klasor-izgara > :nth-child(7), .evrak-liste > :nth-child(7) { animation-delay: 0.18s; }
.evrak-klasor-izgara > :nth-child(8), .evrak-liste > :nth-child(8) { animation-delay: 0.21s; }
.evrak-klasor-izgara > :nth-child(9), .evrak-liste > :nth-child(9) { animation-delay: 0.24s; }
.evrak-klasor-izgara > :nth-child(10), .evrak-liste > :nth-child(10) { animation-delay: 0.27s; }
.evrak-klasor-izgara > :nth-child(11), .evrak-liste > :nth-child(11) { animation-delay: 0.3s; }
.evrak-klasor-izgara > :nth-child(12), .evrak-liste > :nth-child(12) { animation-delay: 0.33s; }
.evrak-klasor-izgara > :nth-child(n+13), .evrak-liste > :nth-child(n+13) { animation-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    .evrak-gezgini *,
    .evrak-gezgini *::before,
    .evrak-gezgini *::after,
    .evrak-yukleme-tepsisi,
    .evrak-yukleme-tepsisi * {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 768px) {
    .evrak-baslik-araclar {
        width: 100%;
    }
    .evrak-arama {
        flex: 1 1 100%;
    }
    .evrak-arama .form-control {
        width: 100%;
    }
    .evrak-gezgin-ozet {
        width: 100%;
    }
    .evrak-gezgin-govde {
        min-height: 320px;
        padding: 0.75rem;
    }
    .evrak-klasor-izgara {
        grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
        gap: 0.625rem;
    }
    .evrak-klasor-menu-btn {
        opacity: 1;
    }
    .evrak-satir {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.375rem 0.75rem;
    }
    .evrak-satir-tutamac {
        display: none;
    }
    .evrak-satir-govde {
        flex-basis: calc(100% - 52px);
    }
    .evrak-satir-meta,
    .evrak-satir-islemler {
        width: 100%;
        padding-left: 52px;
    }
    .evrak-satir-meta {
        flex-wrap: wrap;
        gap: 0.25rem 0.875rem;
    }
    .evrak-satir-boyut,
    .evrak-satir-tarih {
        justify-content: flex-start;
        min-width: 0;
    }
    .evrak-yukleme-tepsisi {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        width: auto;
        max-width: none;
    }
}

/* =============================================
   Yemek Listesi
   ============================================= */
.yemek-takvim,
.yemek-panel {
    --yemek-sabah: #fdac41;
    --yemek-ogle: #39da8a;
    --yemek-ikindi: #5a8dee;
    --yemek-vurgu: #5a8dee;
    --yemek-metin: #566a7f;
    --yemek-soluk: #a1acb8;
    --yemek-kenar: #e7ebf0;
}

/* Baslik araclari */
.yemek-araclar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.yemek-kampus-secim {
    width: 220px;
}
.yemek-ay-gezgini {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    padding: 0.125rem;
    border: 1px solid #d8dee9;
    border-radius: 0.375rem;
    background: #fff;
}
.yemek-ay-dugme {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0.25rem;
    background: transparent;
    color: #a1acb8;
    font-size: 1.125rem;
    transition: background-color 0.15s, color 0.15s;
}
.yemek-ay-dugme:hover {
    background: rgba(90, 141, 238, 0.08);
    color: #5a8dee;
}
.yemek-ay-baslik {
    min-width: 118px;
    color: #566a7f;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

/* Takvim */
.yemek-takvim {
    padding: 1rem 1rem 0.75rem;
}
.yemek-takvim-hafta,
.yemek-takvim-izgara {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.375rem;
}
.yemek-takvim-hafta {
    margin-bottom: 0.375rem;
}
.yemek-takvim-hafta > div {
    padding: 0.25rem 0;
    color: var(--yemek-soluk);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}
.yemek-takvim-izgara {
    transition: opacity 0.2s ease;
}
.yemek-takvim-yukleniyor .yemek-takvim-izgara {
    opacity: 0.5;
    pointer-events: none;
}
.yemek-gun {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 84px;
    padding: 0.5rem;
    border: 1px solid var(--yemek-kenar);
    border-radius: 0.5rem;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.yemek-gun:hover {
    border-color: #cfd8e6;
    box-shadow: 0 4px 12px rgba(67, 89, 113, 0.08);
    transform: translateY(-1px);
}
.yemek-gun:focus-visible {
    border-color: var(--yemek-vurgu);
    box-shadow: 0 0 0 3px rgba(90, 141, 238, 0.3);
}
.yemek-gun.hafta-sonu {
    background: #fafbfc;
}
.yemek-gun.ay-disi {
    border-style: dashed;
    border-color: #eef1f5;
    background: transparent;
    box-shadow: none;
    cursor: default;
    pointer-events: none;
    transform: none;
}
.yemek-gun.secili {
    border-color: var(--yemek-vurgu);
    background: rgba(90, 141, 238, 0.07);
    box-shadow: 0 0 0 2px rgba(90, 141, 238, 0.35);
}
.yemek-gun-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--yemek-metin);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.yemek-gun.hafta-sonu .yemek-gun-no {
    color: var(--yemek-soluk);
}
.yemek-gun.bugun .yemek-gun-no {
    box-shadow: inset 0 0 0 2px var(--yemek-vurgu);
    color: var(--yemek-vurgu);
}
.yemek-gun.secili .yemek-gun-no {
    background: var(--yemek-vurgu);
    box-shadow: none;
    color: #fff;
}
.yemek-gun.bugun.secili .yemek-gun-no {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--yemek-vurgu);
}
.yemek-gun-noktalar {
    display: flex;
    gap: 0.25rem;
    min-height: 8px;
}
.yemek-nokta {
    display: inline-block;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.yemek-nokta-sabah {
    background: var(--yemek-sabah);
}
.yemek-nokta-ogle {
    background: var(--yemek-ogle);
}
.yemek-nokta-ikindi {
    background: var(--yemek-ikindi);
}

/* Lejant */
.yemek-lejant {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 0.875rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--yemek-kenar);
    color: var(--yemek-soluk);
    font-size: 0.75rem;
}
.yemek-lejant-oge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}
.yemek-lejant-bugun {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px var(--yemek-vurgu);
}

/* Gun paneli */
.yemek-panel {
    overflow: hidden;
}
.yemek-panel-bos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 2rem 1.5rem;
    color: var(--yemek-soluk);
    text-align: center;
}
.yemek-panel-bos-ikon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 0.875rem;
    border-radius: 50%;
    background: rgba(90, 141, 238, 0.08);
    color: var(--yemek-vurgu);
    font-size: 2rem;
}
.yemek-panel-bos-baslik {
    color: var(--yemek-metin);
    font-size: 0.9375rem;
    font-weight: 600;
}
.yemek-panel-bos-aciklama {
    max-width: 260px;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
}
.yemek-panel-icerik {
    animation: yemekPanelBelir 0.25s ease;
}
.yemek-panel-baslik {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem 0.875rem;
    border-bottom: 1px solid var(--yemek-kenar);
}
.yemek-panel-baslik-metin {
    flex: 1;
    min-width: 0;
}
.yemek-panel-ust-etiket {
    color: var(--yemek-soluk);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.yemek-panel-tarih {
    margin: 0.125rem 0 0;
    color: var(--yemek-metin);
    font-size: 1rem;
    font-weight: 700;
}
.yemek-kaydedilmedi {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.375rem;
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    background: rgba(253, 172, 65, 0.14);
    color: #d48a1f;
    font-size: 0.6875rem;
    font-weight: 600;
}
.yemek-panel-govde {
    padding: 1rem 1.25rem;
}
.yemek-ogun + .yemek-ogun {
    margin-top: 1rem;
}
.yemek-ogun-etiket {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
    color: var(--yemek-metin);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.yemek-ogun-alani {
    border-left-width: 3px;
    font-size: 0.8125rem;
    resize: vertical;
}
.yemek-ogun-sabah .yemek-ogun-alani {
    border-left-color: var(--yemek-sabah);
}
.yemek-ogun-ogle .yemek-ogun-alani {
    border-left-color: var(--yemek-ogle);
}
.yemek-ogun-ikindi .yemek-ogun-alani {
    border-left-color: var(--yemek-ikindi);
}
.yemek-ogun-alani[readonly] {
    background: #fafbfc;
}
.yemek-diger-kampusler {
    margin-top: 1.25rem;
    padding: 0.75rem 0.875rem;
    border: 1px dashed #d8dee9;
    border-radius: 0.5rem;
    background: #fbfcfe;
}
.yemek-diger-kampusler-baslik {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
    color: var(--yemek-metin);
    font-size: 0.75rem;
    font-weight: 600;
}
.yemek-diger-kampusler-baslik .bx {
    color: var(--yemek-vurgu);
    font-size: 1rem;
}
.yemek-diger-kampus-listesi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.25rem 0.75rem;
    max-height: 160px;
    overflow-y: auto;
}
.yemek-diger-kampus-listesi .form-check {
    margin-bottom: 0;
    font-size: 0.8125rem;
}
.yemek-diger-kampusler-not {
    display: block;
    margin-top: 0.5rem;
    color: var(--yemek-soluk);
    font-size: 0.6875rem;
}
.yemek-ipucu {
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
    margin-top: 1rem;
    color: var(--yemek-soluk);
    font-size: 0.6875rem;
}
.yemek-ipucu .bx {
    margin-top: 0.0625rem;
    font-size: 0.875rem;
}
.yemek-panel-alt {
    padding: 0 1.25rem 1.25rem;
}

@keyframes yemekPanelBelir {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@media (min-width: 992px) {
    .yemek-panel {
        position: sticky;
        top: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yemek-takvim *,
    .yemek-panel,
    .yemek-panel * {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 991.98px) {
    .yemek-araclar {
        width: 100%;
    }
    .yemek-kampus-secim {
        flex: 1 1 100%;
        width: auto;
    }
    .yemek-gun {
        min-height: 64px;
        padding: 0.375rem;
    }
    .yemek-panel-bos {
        min-height: 200px;
    }
}

@media (max-width: 575.98px) {
    .yemek-takvim {
        padding: 0.625rem;
    }
    .yemek-takvim-hafta,
    .yemek-takvim-izgara {
        gap: 0.25rem;
    }
    .yemek-gun {
        min-height: 52px;
        padding: 0.25rem;
        border-radius: 0.375rem;
    }
    .yemek-gun-no {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    .yemek-nokta {
        width: 6px;
        height: 6px;
    }
}

/* =============================================
   Gunluk Karneler
   ============================================= */
.karne-ust-cubuk {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}
.karne-ust-baslik {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
}
.karne-ozet {
    font-size: 0.75rem;
    color: #a1acb8;
}
.karne-ipucu {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #a1acb8;
}
.karne-ipucu i {
    font-size: 0.9375rem;
    color: #5a8dee;
}
.karne-yukleniyor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2.5rem 1rem;
    color: #a1acb8;
    font-size: 0.8125rem;
}
.karne-bos {
    padding: 2.5rem 1rem;
    text-align: center;
    color: #a1acb8;
    font-size: 0.8125rem;
    background: #fff;
    border: 1px dashed #d8dee9;
    border-radius: 0.75rem;
}
.karne-izgara {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 1rem;
    align-items: start;
}
.karne-kart {
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 0.875rem;
    box-shadow: 0 2px 6px rgba(67, 89, 113, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.karne-kart:hover {
    box-shadow: 0 8px 20px rgba(67, 89, 113, 0.1);
    transform: translateY(-1px);
}
.karne-kart-ust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f0f0f5;
    background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
}
.karne-avatar {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #fff;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}
.karne-avatar-1 { background: linear-gradient(135deg, #5a8dee, #3f6ad8); }
.karne-avatar-2 { background: linear-gradient(135deg, #39da8a, #24b56d); }
.karne-avatar-3 { background: linear-gradient(135deg, #fdac41, #f08a1a); }
.karne-avatar-4 { background: linear-gradient(135deg, #a66bff, #7d4ee6); }
.karne-avatar-5 { background: linear-gradient(135deg, #ff5b5c, #e03e3f); }
.karne-avatar-6 { background: linear-gradient(135deg, #00cfdd, #00a7b3); }
.karne-kart-kimlik {
    flex: 1;
    min-width: 0;
}
.karne-ogrenci-ad {
    font-size: 0.875rem;
    font-weight: 700;
    color: #566a7f;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.karne-sinif-ad {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a8dee;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.karne-rozet {
    flex-shrink: 0;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
}
.karne-rozet-var { background: rgba(57, 218, 138, 0.12); color: #24b56d; }
.karne-rozet-yok { background: rgba(161, 172, 184, 0.14); color: #8592a3; }
.karne-rozet-degisti { background: rgba(253, 172, 65, 0.14); color: #d9871a; }
.karne-kart-govde {
    padding: 0.75rem 1rem 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.karne-grup-baslik {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #a1acb8;
    margin-bottom: 0.4rem;
}
.karne-kriter-satir {
    display: grid;
    gap: 0.5rem;
}
.karne-kriter-satir-1 { grid-template-columns: minmax(0, 1fr); }
.karne-kriter-satir-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.karne-kriter-satir-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.karne-kriter {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    min-width: 0;
}
.karne-kriter-ad {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #566a7f;
}
.karne-kriter .form-select,
.karne-kriter .form-control {
    background-color: #f8f9fc;
    border-color: #e7ebf0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #566a7f;
}
.karne-kriter .form-select:focus,
.karne-kriter .form-control:focus {
    background-color: #fff;
    border-color: #5a8dee;
    box-shadow: 0 0 0 3px rgba(90, 141, 238, 0.12);
}
.karne-kriter-metin .form-control {
    resize: vertical;
    min-height: 56px;
}
.karne-kart-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem 0.875rem;
}
.karne-kayit-bilgi {
    font-size: 0.6875rem;
    color: #a1acb8;
}
.karne-kaydet-btn {
    min-width: 96px;
}

@media (prefers-reduced-motion: reduce) {
    .karne-kart {
        transition: none;
    }
    .karne-kart:hover {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .karne-izgara {
        grid-template-columns: minmax(0, 1fr);
    }
    .karne-kriter-satir-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.375rem;
    }
    .karne-kriter .form-select {
        padding-left: 0.5rem;
        padding-right: 1.5rem;
    }
}

/* =============================================
   Statik Sayfalar (yonetim + herkese acik sayfa)
   ============================================= */
.statik-sayfa-editor-alani .statik-sayfa-editor.ql-container {
    height: auto;
    font-family: inherit;
}
.statik-sayfa-editor-alani .statik-sayfa-editor .ql-editor {
    height: auto;
    min-height: 300px;
    max-height: 55vh;
    overflow-y: auto;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.6;
}
.statik-sayfa-editor-alani .ql-snow .ql-picker.ql-header {
    width: 128px;
}
.statik-sayfa-editor-alani .ql-snow .ql-picker.ql-header .ql-picker-label::before,
.statik-sayfa-editor-alani .ql-snow .ql-picker.ql-header .ql-picker-item::before {
    content: 'Normal Metin';
}
.statik-sayfa-editor-alani .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
.statik-sayfa-editor-alani .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
    content: 'Büyük Başlık';
}
.statik-sayfa-editor-alani .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,
.statik-sayfa-editor-alani .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
    content: 'Orta Başlık';
}
.statik-sayfa-editor-alani .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,
.statik-sayfa-editor-alani .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
    content: 'Küçük Başlık';
}
.statik-sayfa-yayin-anahtari {
    margin-right: auto;
}
.statik-sayfa-adres-on-ek {
    font-size: 0.8125rem;
    color: #a1acb8;
}
.statik-sayfa-bolum {
    height: 100%;
    padding: 1rem 1.125rem;
    border: 1px solid #e7ebf0;
    border-radius: 0.75rem;
    background: #fbfcfe;
}
.statik-sayfa-bolum-baslik {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.875rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #566a7f;
}
.statik-sayfa-bolum-baslik i {
    font-size: 1rem;
    color: #5a8dee;
}
.statik-sayfa-anahtar {
    display: flex;
    margin-bottom: 0.625rem;
}
.statik-sayfa-alt-secenekler {
    transition: opacity 0.15s ease;
}
.statik-sayfa-alt-secenekler.pasif {
    opacity: 0.45;
}

.statik-sayfa-govde {
    min-height: 100vh;
    background: linear-gradient(180deg, #f2f4f8 0%, #f8f9fc 260px, #f8f9fc 100%);
}
.statik-sayfa {
    max-width: 880px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
}
.statik-sayfa-kart {
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 1rem;
    box-shadow: 0 6px 24px rgba(67, 89, 113, 0.08);
    padding: 2.5rem 2.75rem 2rem;
}
.statik-sayfa-ust {
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f5;
}
.statik-sayfa-baslik {
    margin: 0;
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.25;
    color: #3b4d61;
    letter-spacing: -0.01em;
}
.statik-sayfa-tarih {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.625rem;
    font-size: 0.75rem;
    color: #a1acb8;
}
.statik-sayfa-icerik {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #566a7f;
    overflow-wrap: anywhere;
}
.statik-sayfa-icerik h2,
.statik-sayfa-icerik h3,
.statik-sayfa-icerik h4 {
    color: #3b4d61;
    font-weight: 700;
    margin: 1.75rem 0 0.625rem;
    line-height: 1.35;
}
.statik-sayfa-icerik h2 { font-size: 1.25rem; }
.statik-sayfa-icerik h3 { font-size: 1.0625rem; }
.statik-sayfa-icerik h4 { font-size: 0.9375rem; }
.statik-sayfa-icerik > :first-child {
    margin-top: 0;
}
.statik-sayfa-icerik p {
    margin-bottom: 0.875rem;
}
.statik-sayfa-icerik ul,
.statik-sayfa-icerik ol {
    padding-left: 1.375rem;
    margin-bottom: 1rem;
}
.statik-sayfa-icerik li {
    margin-bottom: 0.3rem;
}
.statik-sayfa-icerik blockquote {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-left: 3px solid #5a8dee;
    background: #f6f9ff;
    border-radius: 0 0.5rem 0.5rem 0;
}
.statik-sayfa-alt {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f5;
}
.statik-sayfa-bulunamadi {
    text-align: center;
    padding: 2rem 0 1rem;
}
.statik-sayfa-bulunamadi i {
    font-size: 3rem;
    color: #c5ccd4;
}
.statik-sayfa-bulunamadi p {
    margin: 0.75rem 0 0;
    color: #a1acb8;
}

@media (prefers-reduced-motion: reduce) {
    .statik-sayfa-alt-secenekler {
        transition: none;
    }
}

@media (max-width: 575.98px) {
    .statik-sayfa {
        padding: 1.25rem 0.75rem;
    }
    .statik-sayfa-kart {
        padding: 1.5rem 1.25rem 1.25rem;
        border-radius: 0.75rem;
    }
    .statik-sayfa-baslik {
        font-size: 1.3125rem;
    }
}
