﻿/* Base Styles */

@import "bootstrap-grid.min.css";

/*@import "bootstrap-grid.min.css";
@import "/assets/vendor/icofont/icofont.min.css";
@import "boxicons.min.css";
@import "normalize.css";*/

/*@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');*/


/*@import "/assets/vendor/fa/fa-all.min.css";*/



:root {
    --primary: #6b3891;
    --primary-light: #fbf5ff;
    --secondary: #00bfa5;
    --dark: #1e1e2f;
    --light: #ffffff;
    --card-bg: #ffffff;
    --body-bg: #f8f5fa;
    --button-bg: #6b3891;
    --input-bg: #ffffff;
    --gray: #747478;
    --gray-light: #e4e4e4;
    --success: #e8f5e9;
    --success-text: #2e7d32;
    --gray-gradient: linear-gradient(180deg, #f8f5fa, #efeaf4);
    --warning: #fff9d3;
    --warning-text: #8a6d00;
    --danger: #ffebee;
    --danger-text: #c62828;
    --blue: #2e7d32;
    --blue-soft: #2e7d3230;
    --border: #bab4be;
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
    --pd-xxs: 2px;
    --pd-xs: 4px;
    --pd-sm: 6px;
    --pd-md: 8px;
    --pd-lg: 10px;
    --pd-xl: 12px;
    --pd-xxl: 16px;
    --pd-xxxl: 22px;
    --font-icon-xs: 12px;
    --font-xs: 11px;
    --font-small: 12px;
    --font-sm: 13px;
    --font-md: 15px;
    --font-lg: 18px;
    --font-xl: 22px;
    --font-family-ui: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --type-page-title: 20px;
    --type-section-title: 17px;
    --type-card-title: 15px;
    --type-body: 14px;
    --type-label: 13px;
    --type-caption: 12px;
    --type-stat: 24px;
    --line-heading: 1.25;
    --line-body: 1.5;
    --line-compact: 1.35;
    --shadow-xs: 0 1px 3px rgba(30,30,47,0.08);
    --shadow-sm: 0 2px 8px rgba(30,30,47,0.08);
    --shadow-md: 0 4px 12px rgba(30,30,47,0.12);
    --shadow-lg: 0 8px 24px rgba(30,30,47,0.16);
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 16px;
}

.dark-theme {
    --primary: #d8c1ff;
    --primary-light: rgb(227 211 255 / 14%);
    --secondary: #00E5C3;
    --dark: #e0e0e0;
    --light: #121212;
    --card-bg: #2c2c2c;
    --body-bg: #1e1e1e;
    --button-bg: var(--primary);
    --input-bg: #d6cee3;
    --gray: #9E9E9E;
    --gray-light: #424242;
    --success: rgba(56, 142, 60, 0.2);
    --success-text: #81c784;
    --warning: rgba(255, 193, 7, 0.2);
    --warning-text: #ffd54f;
    --danger: rgba(244, 67, 54, 0.2);
    --danger-text: #e57373;
    --blue: #4CAF50;
    --blue-soft: rgb(76 134 175 / 33%);
    --border: #434744;
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.35);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
}

:root,
.dark-theme {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ---- Reset ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family-ui);
    transition: background-color 0.3s, color 0.3s;
}

body {
    min-height: 100vh;
    background-color: var(--body-bg);
    color: var(--dark);
    font-size: var(--type-body);
    line-height: var(--line-body);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--dark);
    font-weight: 600;
    line-height: var(--line-heading);
}

h1 {
    font-size: var(--type-page-title);
}

h2 {
    font-size: var(--type-section-title);
}

h3 {
    font-size: var(--type-card-title);
}

h4,
h5,
h6 {
    font-size: var(--type-body);
}

p {
    line-height: var(--line-body);
}

small {
    font-size: var(--type-caption);
    line-height: var(--line-compact);
}

@media (max-width: 768px) {
    :root {
        --type-page-title: 18px;
        --type-section-title: 16px;
        --type-card-title: 15px;
        --type-body: 14px;
        --type-label: 13px;
        --type-caption: 12px;
        --type-stat: 22px;
    }
}

/* ---- Scrollbar ---- */
/*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--body-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-light);
    border-radius: 8px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary);
    }*/

* {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-light) var(--body-bg);
}

a {
    text-decoration: none;
    color: var(--primary);
    cursor: pointer;
}

section {
    padding: 0 20px;
    margin-top: 20px;
}

button {
    border: none;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    font-family: inherit;
}

/* ---- Buttons ---- */
.btn {
    width: 100%;
    border: none;
    border-radius: 4px;
    padding: 7px 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: var(--type-body);
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: var(--line-compact);
    text-align: center;
}

    .btn:after, .btn:before {
        font-family: boxicons !important;
        text-indent: 0;
        align-self: center;
        font-size: var(--font-icon-xs);
    }

.btn-primary {
    background: var(--button-bg);
    color: var(--light);
}

.btn-primary-outline {
    border: 1px solid var(--primary);
}

.btn-gray {
    background: var(--gray);
    color: white;
}

.btn-rounded {
    border-radius: 50% !important;
}

.btn-next {
    background: var(--primary);
    color: var(--light);
}

    .btn-next:after {
        content: "\ebe6";
        margin-left: 0;
    }

.btn-prev {
    background: var(--primary);
    color: var(--light);
    text-indent: inherit;
}

    .btn-prev:before {
        content: "\eb33";
        margin-right: 0;
    }

.btn-next-green {
    background: var(--bs-green);
    color: var(--light);
}

    .btn-next-green:after {
        content: "\ebe6";
    }

.btn-next-darkpink {
    background: var(--bc-color-secondary);
    color: var(--light);
}

    .btn-next-darkpink:after {
        content: "\ebe6";
    }

.btn-clear {
    background: var(--bs-danger);
    color: var(--bs-white);
}

    .btn-clear:after {
        content: "\ec8d";
    }

.btn-delete {
    background: var(--bs-danger);
    color: var(--bs-white);
}

    .btn-delete:after {
        content: "\ec50";
    }

@media (max-width: 768px) {
    button,
    .btn {
        padding: 9px 12px;
        line-height: var(--line-compact);
        white-space: nowrap;
    }
}

/* ---- Colors ---- */
.bg-primary {
    background: var(--primary);
}

.bg-primary-light {
    background: var(--primary-light);
}

.bg-body {
    background: var(--body-bg)
}

.color-primary {
    color: var(--primary);
}

.color-primary-light {
    color: var(--primary-light);
}

.color-success {
    color: var(--bs-success);
}

.color-warning {
    color: var(--bs-warning);
}

.color-danger {
    color: var(--bs-danger);
}

.color-blue {
    color: var(--bs-blue);
}

.color-red {
    color: var(--bs-red) !important;
}

.card-bg {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    min-height: 90px;
    position: relative;
}

.primary-soft {
    color: var(--blue-soft);
}

.success-soft {
    color: var(--success-text);
}

.warning-soft {
    color: var(--warning-text);
}

.danger-soft {
    color: var(--danger-text);
}

.bg-primary-soft {
    background: var(--blue-soft) !important;
    color: var(--bs-primary) !important;
    font-weight: 600;
}

.bg-success-soft {
    background: var(--success) !important;
    color: var(--success-text) !important;
    font-weight: 600;
}

.bg-warning-soft {
    background: var(--warning) !important;
    color: var(--warning-text) !important;
    font-weight: 600;
}

.bg-danger-soft {
    background: var(--danger) !important;
    color: var(--danger-text) !important;
    font-weight: 600;
}

/* ---- Borders ---- */
.border-right-gray {
    border-right: 1px solid var(--bs-gray-400) !important;
}

.border-right-gray-desktop {
    border-right: 1px solid var(--bs-gray-400) !important;
}

.border-right-graydark {
    border-right: 1px solid var(--bs-gray-500) !important;
}

.border-right-graydark-desktop {
    border-right: 1px solid var(--bs-gray-600) !important;
}

.border-bottom-gray {
    border-bottom: 1px solid var(--bs-gray-400) !important;
}

.border-bottom-gray-desktop {
    border-bottom: 1px solid var(--bs-gray-400) !important;
}

.border-left-gray {
    border-left: 1px solid var(--bs-gray-400) !important;
}

.border-left-gray-desktop {
    border-left: 1px solid var(--bs-gray-400) !important;
}

.border-left-graydark-desktop {
    border-left: 1px solid var(--bs-gray-600) !important;
}

.border-top-gray {
    border-top: 1px solid var(--bs-gray-400) !important;
}

/* ---- Icons FA / Base Layout ---- */
svg:not(:host).svg-inline--fa, svg:not(:root).svg-inline--fa {
    padding: 2px 4px;
}

div {
    display: block;
}

/*[class^="col-"] {
    box-sizing: border-box;
    padding-top: calc(var(--bs-gutter-y) / 2);
    padding-right: calc(var(--bs-gutter-x) / 2);
    padding-left: calc(var(--bs-gutter-x) / 2);
    padding-bottom: calc(var(--bs-gutter-y) / 2);
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}*/

/* Not: align-items-*, justify-content-*, flex-*, row-cols-*, col-1..16
   (xs/sm/md/lg/xl/xxl varyantlarıyla) Bootstrap-benzeri otomatik grid
   yardımcı sınıfları burada aynen bırakıldı — tasarım/tipografi/renk
   açısından değişiklik gerekmiyor, orijinal dosyandan olduğu gibi
   kopyalayabilirsin. */


/* Tab System */


.tab-container {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid var(--border);
    padding-bottom: 4px;
}

.tab-link {
    padding: 12px 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
    display: block;
}

    .tab-link.selected {
        border: 1px solid var(--primary);
    }


/* Table System */


table {
    /* font-size: 14px; */
}

.table-header-sticky tr:first-child {
    position: sticky;
    top: 0;
}


.table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border: unset;
}

    .table thead {
        z-index: 1;
    }

    .table th {
        display: table-cell;
        vertical-align: inherit;
        font-weight: 500;
        text-align: unset;
        unicode-bidi: isolate;
        font-size: 14px;
        background: var(--primary-light);
        white-space: nowrap;
    }

    .table thead tr:first-child {
        border-bottom: 1px solid var(--border);
        background-color: var(--card-bg);
    }


    .table tbody tr {
        z-index: 1;
    }

    .table tr {
        border-bottom: 1px solid var(--border);
    }

    .table td, .table th {
        padding: 4px 6px;
        border: unset;
        text-align: left;
    }

    .table th {
        padding: 8px 6px;
    }

    .table td {
        font-size: 14px;
        padding: 0 2px;
    }

        .table td .btn {
            padding: 6px 8px;
            font-size: 12px;
            margin: 4px 0;
            font-weight: 500;
        }

/* Custom Table */

.table-border td {
    border: 1px solid var(--bs-gray-300);
}

.table-plan {
    border-radius: 8px;
}

    .table-plan thead tr:first-child {
        position: sticky;
        top: -2px;
        z-index: 1;
    }

    .table-plan tr:hover:not(:first-child) {
        background: var(--primary-light);
    }

    .table-plan th {
        border: 1px solid var(--border);
        align-items: center;
        padding: 12px 15px;
        text-decoration: none;
        font-weight: 500;
        color: var(--dark);
        text-align: center;
        /*background: var(--body-bg);*/
    }

    /*.table-plan tbody th, .table-plan thead th:first-child {
        position: sticky;
        left: -2px;
        z-index: 1984 !important;
    }*/

    .table-plan td {
        height: 100px;
        align-content: start;
        border: 1px solid var(--border);
    }

        .table-plan td > div > div {
            position: relative;
        }

    .table-plan b {
        display: block;
    }

    .table-plan th b {
        font-weight: 600;
        color: var(--gray);
        font-size: 14px;
    }

    .table-plan td.pOgleTatili {
        background-color: var(--gray-light);
        text-align: center;
        align-content: center;
        font-size: 28px;
        font-weight: 500;
    }

    .table-plan .pBaslamaBitis {
        color: var(--primary);
        font-size: 13px;
        font-weight: 500;
        position: absolute;
        right: 0;
        background: var(--primary-light);
        padding: 4px;
        border-radius: 4px;
    }

    /*.table-plan .pBaslamaBitis:after {
            content: '🕑';
        }*/

    .table-plan .pTurYaz {
        font-weight: 700;
        font-size: 12.5px;
        color: var(--dark);
    }

    .table-plan .pOgretmenAdi {
        color: var(--dark);
    }

    .table-plan .pAciklama a {
        color: var(--primary);
    }

#DersonetMain_hGunAdi {
    text-align: center;
}

.pMobilTarih {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray);
}

.pMobilGun {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}


.table-column {
    display: table;
    width: 100%;
}

    .table-column tr {
        display: flex;
        flex-direction: column;
        text-align: left;
        background: unset;
    }

        .table-column tr:first-child {
            background: unset;
        }

    .table-column th {
        padding: var(--pd-xxs);
    }

    .table-column td {
        overflow-wrap: anywhere;
        padding: var(--pd-xxs);
    }


        .table-column td a {
            overflow-wrap: anywhere;
        }


/* Responsive Table System */
@media screen and (max-width: 768px) {
    .table {
        max-width: 100%;
    }

        .table:not(.table-responsive):not(.table-plan) {
            display: table;
            width: 100%;
            overflow-x: auto;
            overscroll-behavior-inline: contain;
            scrollbar-width: thin;
            -webkit-overflow-scrolling: touch;
        }

    /*.table-plan thead th {
        display: none;
    }*/

    .table-sticky-last-td tr:not(:first-child) {
        position: relative;
    }

        .table-sticky-last-td tr:not(:first-child) td:last-child {
            position: sticky;
            right: 0;
            background: var(--bs-body-bg);
            box-shadow: inset 5px 0px 9px 0px rgb(0 0 0 / 5%);
        }


    table th, table td {
        font-size: 13px !important;
        padding: 2px 4px !important;
    }

    .table-responsive thead {
        display: none;
    }

    .table-responsive tbody {
        display: block;
    }

        .table-responsive tbody tr {
            display: block;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--card-bg);
            margin-bottom: 8px;
            padding: 8px;
            overflow: hidden;
        }

            .table-responsive tbody tr:hover {
                border: 1px solid var(--bs-gray-dark);
            }

            .table-responsive tbody tr:first-child {
                display: none;
            }

        .table-responsive tbody td {
            display: flex;
            text-align: left;
            font-weight: normal;
            padding: 3px 4px !important;
            align-items: center;
            font-size: 14px;
            width: unset !important;
            min-width: 0;
            overflow-wrap: anywhere;
        }

            .table-responsive tbody td[data-label="İçerik"],
            .table-responsive tbody td[data-label="Düşünce"] {
                max-height: 6.2em;
                align-items: flex-start;
                overflow: hidden;
                line-height: var(--line-body);
            }

            .table-responsive tbody td .btn {
                font-size: var(--type-label);
            }

            .table-responsive tbody td span {
                /*display: inline-flex;*/
            }

            /* span:has(.selection) {
        display: unset !important;
    }*/


            .table-responsive tbody td:before {
                content: attr(data-label) ":";
                display: inline-block;
                font-weight: normal;
                margin-right: 4px;
                font-weight: 500;
                min-width: 35%;
                color: var(--primary);
                max-width: 120px;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                flex: 0 0 35%;
                font-size: var(--type-label);
            }

    tr.detail-row.show > td:before {
        content: none !important;
        display: none !important;
    }

    /*.table-responsive tbody td:last-child:before {
                content: none;
            }*/

    /* Mobil Tablo Sayfalama */

    .table-pager:has(table) {
        display: inline-flex !important;
        width: 100% !important;
        position: sticky !important;
        bottom: 12px !important;
        background: var(--bs-white) !important;
        border: 1px solid var(--border) !important;
        box-shadow: var(--shadow-xs);
    }

        .table-pager:has(table) tr {
            display: flex !important;
            justify-content: center;
            background: unset !important;
            position: unset !important;
            box-shadow: unset !important;
            top: unset !important;
            border: 0 !important;
            padding: 0;
            margin: 0;
        }


        .table-pager:has(table) td {
            display: unset !important;
            border: unset !important;
            text-align: unset;
            font-weight: unset;
            align-self: center;
        }

            .table-pager:has(table) td:not(:last-child) {
                border-right: 1px solid var(--border) !important;
            }

            .table-pager:has(table) td a, .table-pager:has(table) td span {
                padding: var(--pd-sm);
            }

            .table-pager:has(table) td span {
                font-weight: 600;
            }

            .table-pager:has(table) td:before {
                content: "" !important;
                display: unset;
                position: sticky;
                bottom: 0;
                min-width: unset;
                margin-right: 0;
            }

    /* Mobil Tablo İşlemler */

    .table-responsive tbody tr td:first-child:has(> #table-list-actions):before {
        content: "" !important;
        display: unset;
        position: sticky;
        bottom: 0;
        min-width: unset;
        margin-right: 0;
    }

    .table-responsive tbody tr td:has(> #table-list-actions) {
        display: inline-flex !important;
        width: 100% !important;
        position: sticky !important;
        bottom: 0 !important;
        background: var(--bc-color-primary);
    }

        .table-responsive tbody tr td:has(> #table-list-actions) ul {
            display: flex !important;
            justify-content: center;
            background: unset !important;
            position: unset !important;
            box-shadow: unset !important;
            top: unset !important;
            border: 0 !important;
            padding: 0;
            margin: 0;
        }

            .table-responsive tbody tr td:has(> #table-list-actions) ul li {
                background: var(--bs-yellow)
            }

                .table-responsive tbody tr td:has(> #table-list-actions) ul li a {
                    background: var(--bs-green);
                }
}
/* Lists */

ul {
    list-style: circle;
}

/* Genel tablo stili */
.attendance-table {
    width: 100%;
    border-collapse: collapse;
}

    .attendance-table th {
        color: var(--primary);
    }

    .attendance-table th,
    .attendance-table td {
        padding: 4px 6px;
        text-align: left;
    }

/* Dinamik eklenen detay satırları gizle/göster */
.detail-row {
    display: none;
    border: unset;
}

    .detail-row td {
        box-sizing: border-box;
    }

    .detail-row.show {
        display: table-row;
    }

    /* Detay içi animasyon (isteğe bağlı) */
    .detail-row td {
        animation: fadeIn 0.3s ease-out;
        padding: 0;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive — 600px altı: tablo→kart görünüme dönüş */
@media (max-width: 600px) {
    .attendance-table,
    .attendance-table thead,
    .attendance-table tbody,
    .attendance-table th,
    .attendance-table td,
    .attendance-table tr {
        display: block;
    }

        /* 1) Öncelikle tüm tr’ları blok yap, ama detay satırları hariç */
        .attendance-table tr:not(.detail-row) {
            display: block;
        }

        /* 2) Detay satırlarını kapalı tutmak için */
        .attendance-table tr.detail-row {
            display: none;
        }

            /* 3) “.show” sınıfı varsa aç diye kural ekle */
            .attendance-table tr.detail-row.show {
                display: block;
            }

        .attendance-table thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

        .attendance-table tr {
            margin: 0 0 1rem 0;
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
        }

        .attendance-table td {
            border: none;
            border-bottom: 1px thin var(--border);
            position: relative;
            text-align: left;
        }


    /*            .attendance-table td:before {
                position: absolute;
                top: 0;
                left: 0;
                width: 45%;
                padding: 0.75rem;
                white-space: nowrap;
                font-weight: bold;
            }

            .attendance-table td:nth-of-type(1):before {
                content: "Aylar";
            }

            .attendance-table td:nth-of-type(2):before {
                content: "Devamsız";
            }

            .attendance-table td:nth-of-type(3):before {
                content: "Mazeretli";
            }

            .attendance-table td:nth-of-type(4):before {
                content: "İzinli";
            }

            .attendance-table td:nth-of-type(5):before {
                content: "Raporlu";
            }

            .attendance-table td:nth-of-type(6):before {
                content: "Geç Girdi";
            }

            .attendance-table td:nth-of-type(7):before {
                content: "Toplam";
            }

            .attendance-table td:nth-of-type(8):before {
                content: "";
            }*/
}



@media screen and (max-width: 768px) {
    .table-plan {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1px;
        width: 100%;
        min-width: 0;
        overflow: visible;
        border: 1px solid var(--border);
        border-radius: 8px;
    }

        .table-plan thead,
        .table-plan tbody {
            display: grid;
        }

        .table-plan tr {
            display: grid;
            grid-template-columns: 1fr;
            grid-auto-rows: minmax(54px, auto);
        }

        .table-plan thead tr {
            position: unset;
            left: 0;
            background-color: var(--body-bg);
        }

        .table-plan tbody tr {
            border-left: 1px solid var(--border);
        }

        .table-plan .pBaslamaBitis {
            position: static;
            display: inline-flex;
            width: fit-content;
            margin-bottom: 4px;
            text-align: left;
        }

        .table-plan th,
        .table-plan td {
            align-items: center;
            min-width: 0;
            min-height: 54px;
            padding: 10px 12px !important;
            font-size: 14px;
            line-height: 1.35;
            overflow-wrap: anywhere;
        }

        .table-plan tbody tr:nth-child(even) td {
            background-color: var(--card-bg);
        }

    .pMobilTarih {
        margin-bottom: 2px;
        font-size: 16px;
        line-height: 1.25;
    }

    .pMobilGun {
        font-size: 14px;
        line-height: 1.25;
    }

    .overflow-mb-x:has(> .table-plan, > [class*="plan"]) {
        overflow: visible;
        white-space: normal;
    }

    .overflow-mb-x > :is(.table-plan, [class*="plan"]) {
        padding: 8px 4px;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: var(--line-body);
    }
}

.table-sm th,
.table-sm td {
    padding: 2px !important;
}

.table-list {
    display: table;
    width: 100%;
}

    .table-list tr {
        border: unset;
    }

        .table-list tr:first-child {
            position: unset;
            background: unset;
            border-bottom: unset;
            box-shadow: unset;
        }

        .table-list tr:hover:not(:first-child) {
            background: unset;
        }

        .table-list tr:nth-of-type(odd) {
            background: unset;
        }

    .table-list td, .table-list th {
        padding: 4px 6px;
        text-align: left;
        color: var(--gray);
    }

        .table-list td:last-child:before {
            content: ':';
            margin-right: 6px;
        }


.table-box {
    width: 100%;
    display: table;
}

    .table-box tbody {
        display: grid;
        grid-template-columns: repeat(5, minmax(100px, calc(20% + 50px)));
        row-gap: 10px;
        column-gap: 10px;
        padding: 8px 0;
    }

        .table-box tbody tr:first-child {
            display: none;
        }

    .table-box th {
        padding: 0;
        text-align: left;
        border: 0;
    }

    .table-box tr {
        display: flex;
        flex-direction: column;
        padding: 4px;
        border: 1px solid var(--border);
        background: var(--primary-light);
        border-radius: 8px;
    }

        .table-box tr td {
            text-align: left;
        }

        .table-box tr:first-child {
            border: unset;
            background: unset;
            border: 0;
        }


@media screen and (max-width: 768px) {

    .table-box tbody {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Table No Data */


.table-no-data {
    background: unset !important;
    border: unset !important;
    box-shadow: unset !important;
    position: unset !important;
}

    .table-no-data > td {
        color: var(--gray);
        margin: 0;
        padding: inherit;
        border: 1px solid var(--border);
        /*border-right: unset;*/
        border-radius: 8px;
        display: flex;
        align-items: center;
        padding: 8px 10px;
    }

        .table-no-data > td:before {
            font-family: boxicons !important;
            content: "\e9d2";
            font-size: 16px;
            -webkit-animation: burst 2s infinite linear;
            animation: pulse 2s infinite linear;
            margin-right: 6px;
            color: var(--primary);
            width: 30px;
            height: 30px;
            background: var(--primary-light);
            border-radius: 8px;
            align-content: center;
            text-align-last: center;
        }

/*table td > :is(p, input, select, textarea, label, .btn, .select2-container, .select2-selection--single) {
    height: 28px;
}*/



/* Sidebar Styles */
.sidebar {
    width: 270px;
    background-color: var(--card-bg);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 0 0 20px 0;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    transition: all 0.3s;
    z-index: 0;
    display: flex;
    flex-direction: column;
}

    .sidebar > div:last-child {
        margin-top: auto;
    }

    .sidebar.collapsed {
        width: 90px;
    }

        .sidebar.collapsed .logo span,
        .sidebar.collapsed .nav-item span {
            display: none;
        }

        .sidebar.collapsed .nav-item a {
            justify-content: center;
        }

        .sidebar.collapsed .nav-item svg {
            margin-right: 0;
        }

    .sidebar .dts-logo {
        display: flex;
        justify-content: center;
    }

        .sidebar .dts-logo img {
            height: 42px;
            width: auto;
        }

.sidebar-toggle {
    position: absolute;
    right: 10px;
    top: 30px;
    cursor: pointer;
    color: var(--gray);
    z-index: 100;
}

.mobile-menu-toggle {
    position: fixed;
    top: 10px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
}

.logo {
    text-align: center;
    align-content: center;
    height: 75px;
    padding: 14px 30px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    position: relative;
}

    .logo a {
        color: var(--primary);
    }

        .logo a span img {
            width: 150px;
            height: 32px;
        }

        .logo a img {
            height: 32px;
            width: 32px;
        }

.nav-menu {
    list-style: none;
    padding: 0 20px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.nav-item {
    margin-bottom: 5px;
    border-radius: 8px;
    transition: all 0.3s;
}

    .nav-item:hover {
        background-color: var(--primary-light);
    }

    .nav-item a {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
    }

    .nav-item svg {
        margin-right: 4px;
        color: var(--gray);
        font-size: 18px;
        min-width: 24px;
        text-align: center;
    }

    .nav-item.active {
        background-color: var(--primary-light);
    }

        .nav-item.active a {
            color: var(--primary);
        }

        .nav-item.active svg {
            color: var(--primary);
        }

@media (max-width: 992px) {
    .sidebar {
        width: min(270px, 82vw);
        height: 100dvh;
        transform: translateX(-100%);
        z-index: 100;
        overscroll-behavior: contain;
        transition: transform 0.3s ease;
    }

        .sidebar.visible {
            transform: translateX(0);
        }

            .sidebar.visible ~ .main-content {
                filter: blur(4px);
                pointer-events: none;
                transition: filter 0.3s ease;
            }

    body:has(.sidebar.visible) {
        overflow: hidden;
        overscroll-behavior: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: none;
    }

    .sidebar.collapsed .nav-item span {
        display: unset;
    }

    .nav-menu {
        padding-inline: 16px;
    }

    .nav-item a {
        min-height: 46px;
    }
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    height: 75px;
    padding: 14px 30px;
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.school-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.school-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.school-text {
    line-height: 1.2;
    min-width: 0;
}

.school-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.branch-name {
    font-size: 14px;
    color: var(--gray);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.header-notify-icons ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.header-notify-icons li {
    position: relative;
    margin: 0 10px;
}

    .header-notify-icons li svg {
        font-size: 16px;
        color: var(--gray);
    }

        .header-notify-icons li svg:hover {
            color: var(--primary);
        }



    .header-notify-icons li .notification-badge {
        position: absolute;
        top: -10px;
        right: -10px;
        background: red;
        color: white;
        font-size: 10px;
        width: 16px;
        height: 16px;
        padding: 4px 4px;
        border-radius: 50%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        font-weight: 700;
        animation: pulse 2s infinite;
    }

.language-switcher {
    position: relative;
    display: inline-block;
}

.current-language {
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-width: 180px;
    display: none;
    z-index: 100;
}

    .dropdown-menu li {
        list-style: none;
    }


.language-dropdown li {
    padding: 8px 16px;
    cursor: pointer;
    color: var(--primary);
    transition: background 0.2s;
    list-style: none;
}

    .language-dropdown li:hover {
        background-color: rgba(95, 46, 234, 0.05);
        font-weight: 500;
    }

    .language-dropdown li img {
        width: 30px;
        height: auto;
        margin-left: auto;
    }




@media (max-width: 992px) {
    .header {
        height: auto;
    }

    .dropdown-menu {
        left: -20px;
    }

    .school-name {
        max-width: 220px;
    }
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    min-width: 0;
}

    .user-trigger:hover {
        background: var(--primary-light);
    }

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
}

.user-text {
    line-height: 1.2;
    min-width: 0;
}

.user-name {
    font-size: 16px;
    font-weight: 500;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 12px;
    color: var(--gray);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: var(--dark);
    text-decoration: none;
}

    .dropdown-menu a:hover {
        background: var(--primary-light);
    }

    .dropdown-menu a svg {
        margin-right: 4px;
        color: var(--primary);
    }


@media (max-width: 992px) {
    .user-name {
        max-width: 80px;
    }
}

@media (max-width: 768px) {
    .header {
        min-height: 118px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 15px;
        z-index: 2;
    }

    .header-left,
    .header-right {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .header-left {
        padding-right: 50px;
    }

    .school-info {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .school-text {
        flex: 1 1 auto;
    }

    .school-name {
        width: 100%;
        max-width: 220px;
    }

    .header-right {
        gap: 0;
    }

    .header-notify-icons {
        flex: 0 0 auto;
    }

        .header-notify-icons li {
            margin-inline: 7px;
        }

    .user-dropdown {
        min-width: 0;
        margin-left: auto;
    }

    .user-trigger {
        gap: 8px;
        padding: 4px;
    }

    .user-name {
        max-width: 82px;
        line-height: 1.15;
        white-space: normal;
    }
}

@media (max-width: 420px) {
    .header {
        padding-inline: 12px;
    }

    .current-language {
        padding: 7px 10px;
    }

    .header-notify-icons li {
        margin-inline: 5px;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
    }
}

/* Custom Dropdowns */





/* Generic Modal */


.modal {
    display: none;
    position: fixed;
    z-index: 5;
    bottom: 0;
    right: 0;
    top: 0;
    left: 0;
    margin: 0;
    overflow: auto;
    background-color: rgb(0 0 0 / 55%);
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: fadeIn;
    animation-duration: .75s
}

/* Modal Content */
.modal-content {
    margin: auto;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: .75s;
    min-width: 20%;
    max-width: 100%;
}

.modal:where([style*="flex"], .active) ~ .main-content {
    filter: blur(6px);
    pointer-events: none;
}


/* Modal Head */
.modal-head {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    max-height: 5vh;
    background: linear-gradient(270deg, #662483 0%, #ab2c69 100%);
    align-items: center;
    border-radius: 8px 8px 0 0;
}

    .modal-head h1 {
        margin: 7px 14px;
        padding: 0;
        color: white;
        font-size: 16px;
        text-shadow: 0px 3px 1px #00000017;
    }

    .modal-head span {
        margin: 0px 5px;
        padding: 0;
        color: white;
        font-size: inherit;
        font-family: inherit;
        font-weight: 500;
    }

        .modal-head span > a {
            font-size: 24px;
            color: var(--bs-white);
            vertical-align: super;
        }

        .modal-head span a:hover {
            color: var(--bs-white) !important;
        }


/* Modal Text Area */
.modal-text {
    padding: 8px 12px;
    border-radius: 0 0 8px 8px;
    background-color: var(--card-bg);
    min-width: 0;
    overflow-wrap: anywhere;
}

.modal-icon {
    text-align: center;
    align-self: center;
}

.modal-text i {
    /*color: var(--primary);*/
}

.modal-text br {
    display: table-cell;
    content: " ";
    height: 4px;
}

.modal-text p {
    margin-bottom: 4px;
}

.modal-text b {
    font-weight: 600;
}

.modal-button {
    margin: auto;
}

/* Modal Info Icons */

.modal-icon-error {
    font-family: IcoFont !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    height: 64px;
    width: 64px;
    display: inline-block;
    align-content: center;
    background: var(--danger);
    color: var(--bs-danger);
    border-radius: 8px;
    animation: fadeIn;
}

    .modal-icon-error:before {
        content: "\eee4";
    }

.modal-icon-warning {
    font-family: IcoFont !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    height: 64px;
    width: 64px;
    display: inline-block;
    align-content: center;
    background: var(--warning);
    color: var(--bs-orange);
    border-radius: 8px;
    animation: fadeIn;
}

    .modal-icon-warning:before {
        content: "\ef1c";
    }

.modal-icon-success {
    font-family: IcoFont !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    height: 64px;
    width: 64px;
    display: inline-block;
    align-content: center;
    background: var(--success);
    color: var(--bs-success);
    border-radius: 8px;
    animation: fadeIn;
}

    .modal-icon-success:before {
        content: "\eed8";
    }

/* The Close Button */
.modal-close {
    position: relative;
    float: right;
    padding: 0 8px;
    font-size: 30px;
}

    .modal-close:hover, .modal-close:focus {
        color: white;
        text-decoration: none;
        cursor: pointer;
    }

@media (max-width: 768px) {
    .modal {
        padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
        align-items: center;
    }

    .modal-content {
        width: 100%;
        max-width: 560px;
        max-height: calc(100dvh - 160px);
        margin: auto;
    }

    .modal-head {
        flex: 0 0 auto;
        min-height: 42px;
        max-height: none;
    }

        .modal-head h1 {
            margin: 8px 12px;
            font-size: 15px;
            line-height: 1.2;
        }

    .modal-close {
        display: grid;
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
        place-items: center;
        font-size: 24px;
    }

    .modal-text {
        padding: 10px 8px;
        overflow: auto;
        overscroll-behavior: contain;
    }

    .modal iframe {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 0;
    }

    /* Ajanda ve ana sayfadaki not penceresi */
    /*    .modal-content:has(iframe[src*="AjandaNotu"]) {
        max-height: calc(100dvh - 20px);
        overflow: hidden;
    }

    .modal iframe[src*="AjandaNotu"] {
        height: clamp(390px, 52dvh, 520px) !important;
        min-height: 390px !important;
        max-height: calc(100dvh - 92px);
    }*/

    .container {
        width: 100%;
        border-radius: unset;
    }
}

/* Forms Texts Inputs */

input, text, textarea {
    border: 1px solid var(--border);
    display: block;
    width: 100%;
    outline: none;
    inset-inline: unset;
    padding: 5px 8px;
    background-clip: padding-box;
    border-radius: 6px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-sizing: border-box;
    background-color: var(--input-bg);
    font-size: inherit;
}


:is(input, textarea):not(.btn):hover {
    border: 1px solid var(--primary);
}

input[type="file" i] {
    background: var(--primary-light);
}

input[type="file"]::file-selector-button {
    padding: .4em 1em;
    border: 1px solid var(--primary-light);
    background: var(--border);
    color: var(--dark);
    border-radius: 6px;
    cursor: pointer;
}

/* Eski WebKit‑tabanlı tarayıcılar için (Chrome, Safari) */
input[type="file"]::-webkit-file-upload-button {
    /* aynı stiller buraya */
}



.form-group {
    display: flex;
    flex-direction: column;
    justify-content: end;
    font-size: var(--type-body);
    margin: 8px 0;
    color: var(--dark);
}

.custom-checkbox {
    cursor: pointer;
    accent-color: var(--primary);
    display: flex;
    justify-content: center;
}

    .custom-checkbox input, .custom-checkbox label {
        cursor: pointer;
        width: inherit;
    }

    .custom-checkbox label {
        margin-left: 4px;
    }


.form-group > span:not(.select2) {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: var(--line-compact);
}

.form-group > .custom-checkbox > label {
    margin-left: 4px;
}

/* Custom Checkbox Switch */

.custom-checkbox-switch {
    position: relative;
    display: inline-block;
    height: 24px;
}

    .custom-checkbox-switch > input[type="checkbox"] {
        display: none;
    }

    .custom-checkbox-switch > label {
        color: var(--gray);
        cursor: pointer;
        left: 56px;
        position: absolute;
        font-size: 14px;
        text-wrap-mode: nowrap;
        overflow-wrap: normal;
    }

    .custom-checkbox-switch input[type="checkbox"] + label:hover {
        opacity: 0;
        width: 0;
        height: 0;
        font-size: 12px;
        cursor: pointer;
    }

    /* Checked ve disabled durumunda renk soluk, hover pasif */
    .custom-checkbox-switch input[type="checkbox"]:checked:disabled + .custom-checkbox-slider {
        background: var(--bs-gray-700);
        opacity: 1;
        cursor: not-allowed;
    }

        /* Hover’da da aynı davranış devam etsin */
        .custom-checkbox-switch input[type="checkbox"]:checked:disabled + .custom-checkbox-slider:hover {
            cursor: not-allowed;
            background: var(--bs-gray-700);
        }

    /* Label da pasif görünsün */
    .custom-checkbox-switch input[type="checkbox"]:checked:disabled ~ label {
        opacity: 1;
        cursor: not-allowed;
    }

    .custom-checkbox-switch .custom-checkbox-slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ccc;
        border-radius: 34px;
        transition: background 0.3s;
        width: 48px;
    }

        .custom-checkbox-switch .custom-checkbox-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            top: 3px;
            background: #fff;
            border-radius: 50%;
            transition: transform 0.3s;
            box-shadow: 0 2px 6px #0001;
        }

    .custom-checkbox-switch input[type="checkbox"]:checked + .custom-checkbox-slider {
        background: var(--primary);
    }

        .custom-checkbox-switch input[type="checkbox"]:checked + .custom-checkbox-slider:before {
            transform: translateX(24px);
        }

@media (max-width: 600px) {
    .form-group {
        min-width: 0;
        margin-block: 6px;
    }

        .form-group input:not([type="checkbox"]):not([type="radio"]),
        .form-group textarea {
            font-size: var(--type-body);
            line-height: var(--line-compact);
        }

        .form-group textarea {
            min-height: 96px;
            resize: vertical;
        }

    .custom-checkbox-switch {
        height: 25px;
    }

        .custom-checkbox-switch .custom-checkbox-slider:before {
            height: 18px;
            width: 18px;
            top: 4px;
            left: 4px;
        }

        .custom-checkbox-switch input[type="checkbox"]:checked + .custom-checkbox-slider:before {
            transform: translateX(24px);
        }

    .form-group > span:not(.select2) {
        font-size: var(--type-label);
    }
}


/* Select2 Styles */

.select2-container {
    width: auto !important;
    max-width: 100%;
}

.select2-dropdown {
    /* width: auto !important;
    min-width: inherit !important;
    max-width: none !important;*/
    max-width: none !important;
}


.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--primary-light) !important;
    border: 1px solid var(--primary) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    margin: 4px !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid var(--border) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: transparent !important;
    background: var(--primary);
    color: var(--dark) !important;
    padding: 0 6px !important;
    top: 0;
    bottom: 0;
    font-size: inherit !important;
}

.select2-container--default {
    background-color: var(--body-bg) !important;
}

.select2-results__options {
    white-space: nowrap; /* text-wrap-mode yerine */
    max-height: 400px !important;
    background: var(--body-bg);
}



.select2-container .select2-selection--single {
    font-family: inherit;
    height: unset !important;
    /*min-height: 32px !important;*/
    padding: 6px 8px;
    background-clip: padding-box;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-sizing: border-box;
    margin-bottom: 0;
    background-color: var(--input-bg) !important;
    color: initial;
    line-height: var(--line-compact);
}

.select2-container .select2-selection--multiple {
    margin-bottom: 0 !important;
}

/*.select2-dropdown {
    width: auto !important;*/ /* İçeriğe göre genişlik */
/*min-width: 200px !important;*/ /* Minimum genişlik */
/*max-width: 500px !important;*/ /* Maksimum genişlik */
/*overflow: auto !important;*/ /* Taşma durumunda scroll çubuğu göster */
/*}*/

.select2-results__option--selectable {
    font-size: inherit;
    color: var(--dark);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary) !important;
    color: var(--card-bg) !important;
    margin-bottom: 0 !important;
}

.select2-container--default .select2-results__option--selected {
    overflow-wrap: normal;
    background-color: var(--primary) !important;
    color: var(--light);
}

.select2-search--dropdown {
    background: var(--body-bg);
    color: var(--dark);
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: var(--gray-light) !important;
    color: var(--gray);
    cursor: not-allowed !important;
    border: 1px solid var(--border) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: inherit !important;
    background-color: unset;
    line-height: unset !important;
    padding-left: 0 !important;
    padding-right: 28px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 28px;
    position: absolute;
    top: 50% !important;
    right: 4px !important;
    width: 20px;
    transform: translateY(-50%);
}


/* SelecT2 Styles */
.select2 > span {
    display: unset;
}

.form-group:has(.select2-container),
[class*="col-"]:has(> .select2-container) {
    min-width: 0;
}

@media (max-width: 768px) {
    .select2-container,
    .select2-container--open,
    .select2-container--open .select2-dropdown {
    }

    .select2-dropdown {
    }

    .select2-results__options {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
        white-space: normal;
    }

    .select2-results__option {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}


/* Helpers */


hr {
    display: block;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    unicode-bidi: isolate;
    overflow: hidden;
    border-style: solid;
    border-width: 1px;
    border-color: var(--border);
}

.d-none {
    display: none;
}

.d-mobile {
    display: none !important;
}

.d-mobile-flex {
    display: none;
}

.d-desktop {
    display: block !important;
}

.d-desktop-flex {
    display: flex !important
}

.desktop-table-cell {
    display: table-cell !important;
}

.rotate-icon {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.w-auto {
    width: 100%;
    height: auto;
}

.no-resize {
    resize: none;
}

.no-list li {
    list-style: none;
}

.liste-aktarma {
    align-self: center;
}


.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 4px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 12px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-5 {
    margin-bottom: 18px;
}




.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-normal {
    font-weight: 400;
}

.text-bold {
    font-weight: bold;
}

.text-semibold {
    font-weight: 600;
}

.text-danger {
    color: var(--bs-danger);
}

.text-success {
    color: var(--bs-success);
}

@media(min-width:992px) {

    .text-crop-lg {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        text-overflow: ellipsis;
        display: inline-block;
        overflow: clip;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
}

.text-crop {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    text-overflow: ellipsis;
    display: inline-block;
    overflow: clip;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}


@media(min-width:992px) {
    .text-lg-center {
        text-align: center !important;
    }

    .text-lg-left {
        text-align: left !important;
    }

    .text-lg-right {
        text-align: right !important;
    }

    .text-lg-nowrap {
        white-space: nowrap !important;
    }

    .float-lg-right {
        float: right;
    }

    .float-lg-left {
        float: left;
    }
}

@media (min-width:992px) {



    .width-lg-5 {
        width: 5%;
        flex: 0 0 auto;
    }


    .width-lg-6 {
        width: 6%;
        flex: 0 0 auto;
    }


    .width-lg-7 {
        width: 7%;
        flex: 0 0 auto;
    }

    .width-lg-8 {
        width: 8%;
        flex: 0 0 auto;
    }

    .width-lg-9 {
        width: 9%;
        flex: 0 0 auto;
    }

    .width-lg-10 {
        width: 10%;
        flex: 0 0 auto;
    }

    .width-lg-15 {
        width: 15%;
        flex: 0 0 auto;
    }

    .width-lg-20 {
        width: 20%;
        flex: 0 0 auto;
    }

    .width-lg-25 {
        width: 25%;
        flex: 0 0 auto;
    }

    .width-lg-30 {
        width: 30%;
        flex: 0 0 auto;
    }

    .width-lg-35 {
        width: 35%;
        flex: 0 0 auto;
    }

    .width-lg-40 {
        width: 40%;
        flex: 0 0 auto;
    }

    .width-lg-45 {
        width: 45%;
        flex: 0 0 auto;
    }

    .width-lg-50 {
        width: 50%;
        flex: 0 0 auto;
    }

    .width-lg-55 {
        width: 55%;
        flex: 0 0 auto;
    }

    .width-lg-60 {
        width: 60%;
        flex: 0 0 auto;
    }

    .width-lg-65 {
        width: 65%;
        flex: 0 0 auto;
    }

    .width-lg-70 {
        width: 70%;
        flex: 0 0 auto;
    }

    .width-lg-75 {
        width: 75%;
        flex: 0 0 auto;
    }

    .width-lg-80 {
        width: 80%;
        flex: 0 0 auto;
    }

    .width-lg-85 {
        width: 85%;
        flex: 0 0 auto;
    }

    .width-lg-90 {
        width: 90%;
        flex: 0 0 auto;
    }

    .width-lg-95 {
        width: 95%;
        flex: 0 0 auto;
    }

    .w-max-content {
        width: max-content;
    }
}

@media(max-width:768px) {
    .d-mobile {
        display: block !important;
    }

    .d-mobile-flex {
        display: flex !important
    }

    .d-desktop {
        display: none !important;
    }

    .d-desktop-flex {
        display: none !important;
    }

    .desktop-table-cell {
        display: none !important;
    }
}



.overflow-x {
    overflow-x: auto;
    width: 100%;
    white-space: nowrap;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.overflow-y-10 {
    overflow-y: auto;
    max-height: 10vh;
}

.overflow-y-15 {
    overflow-y: auto;
    max-height: 15vh;
}

.overflow-y-20 {
    overflow-y: auto;
    max-height: 20vh;
}

.overflow-y-25 {
    overflow-y: auto;
    max-height: 25vh;
}

.overflow-y-30 {
    overflow-y: auto;
    max-height: 30vh;
}

.overflow-y-35 {
    overflow-y: auto;
    max-height: 35vh;
}

.overflow-y-40 {
    overflow-y: auto;
    max-height: 40vh;
}

.overflow-y-45 {
    overflow-y: auto;
    max-height: 45vh;
}

.overflow-y-50 {
    overflow-y: auto;
    max-height: 50vh;
}

.overflow-y-55 {
    overflow-y: auto;
    max-height: 55vh;
}

.overflow-y-60 {
    overflow-y: auto;
    max-height: 60vh;
}

.overflow-y-65 {
    overflow-y: auto;
    max-height: 65vh;
}

.overflow-y-70 {
    overflow-y: auto;
    max-height: 70vh;
}

.overflow-y-75 {
    overflow-y: auto;
    max-height: 75vh;
}

.overflow-y-80 {
    overflow-y: auto;
    max-height: 80vh;
}

.overflow-y-85 {
    overflow-y: auto;
    max-height: 85vh;
}

.overflow-y-90 {
    overflow-y: auto;
    max-height: 90vh;
}

.overflow-y-95 {
    overflow-y: auto;
    max-height: 95vh;
}

.overflow-y-100 {
    overflow-y: auto;
    max-height: 100vh;
}

.height-lg-3 {
    height: 3vh;
}

.height-lg-4 {
    height: 4vh;
}

.height-lg-5 {
    height: 5vh;
}

.height-lg-6 {
    height: 6vh;
}

.height-lg-7 {
    height: 7vh;
}

.height-lg-8 {
    height: 8vh;
}

.height-lg-10 {
    height: 10vh;
}

.height-lg-15 {
    height: 15vh;
}

.height-lg-20 {
    height: 20vh;
}

.height-lg-25 {
    height: 25vh;
}

.height-lg-30 {
    height: 30vh;
}

.height-lg-35 {
    height: 35vh;
}

.height-lg-40 {
    height: 40vh;
}

.height-lg-45 {
    height: 45vh;
}

.height-lg-50 {
    height: 50vh;
}

.height-lg-55 {
    height: 55vh;
}

.height-lg-60 {
    height: 60vh;
}

.height-lg-65 {
    height: 65vh;
}

.height-lg-70 {
    height: 70vh;
}

.height-lg-75 {
    height: 75vh;
}

.height-lg-80 {
    height: 80vh;
}

.height-lg-85 {
    height: 85vh;
}

.height-lg-90 {
    height: 90vh;
}

.height-lg-95 {
    height: 95vh;
}

.height-lg-auto {
    height: auto !important;
}


@media (min-width: 992px) {

    .overflow-lg-y-10 {
        overflow-y: auto;
        max-height: 10vh !important;
    }

    .overflow-lg-y-15 {
        overflow-y: auto;
        max-height: 15vh !important;
    }

    .overflow-lg-y-20 {
        overflow-y: auto;
        max-height: 20vh !important;
    }

    .overflow-lg-y-25 {
        overflow-y: auto;
        max-height: 25vh !important;
    }

    .overflow-lg-y-30 {
        overflow-y: auto;
        max-height: 30vh !important;
    }

    .overflow-lg-y-35 {
        overflow-y: auto;
        max-height: 35vh !important;
    }

    .overflow-lg-y-40 {
        overflow-y: auto;
        max-height: 40vh !important;
    }

    .overflow-lg-y-45 {
        overflow-y: auto;
        max-height: 45vh !important;
    }

    .overflow-lg-y-50 {
        overflow-y: auto;
        max-height: 50vh !important;
    }

    .overflow-lg-y-55 {
        overflow-y: auto;
        max-height: 55vh !important;
    }

    .overflow-lg-y-60 {
        overflow-y: auto;
        max-height: 60vh !important;
    }

    .overflow-lg-y-65 {
        overflow-y: auto;
        max-height: 65vh !important;
    }

    .overflow-lg-y-70 {
        overflow-y: auto;
        max-height: 70vh !important;
    }

    .overflow-lg-y-75 {
        overflow-y: auto;
        max-height: 75vh !important;
    }

    .overflow-lg-y-80 {
        overflow-y: auto;
        max-height: 80vh !important;
    }

    .overflow-lg-y-85 {
        overflow-y: auto;
        max-height: 85vh !important;
    }

    .overflow-lg-y-90 {
        overflow-y: auto;
        max-height: 90vh !important;
    }

    .overflow-lg-y-95 {
        overflow-y: auto;
        max-height: 95vh !important;
    }

    .overflow-lg-y-100 {
        overflow-y: auto;
        max-height: 100vh !important;
    }

    overflow-lg-x {
        overflow-x: auto;
        width: 100%;
    }
}


@media(max-width:992px) {

    .overflow-mb-x {
        overflow-x: auto;
        white-space: nowrap;
    }

    .overflow-mb-y-10 {
        overflow-y: auto;
        max-height: 10vh;
    }

    .overflow-mb-y-15 {
        overflow-y: auto;
        max-height: 15vh;
    }

    .overflow-mb-y-20 {
        overflow-y: auto;
        max-height: 20vh;
    }

    .overflow-mb-y-25 {
        overflow-y: auto;
        max-height: 25vh;
    }

    .overflow-mb-y-30 {
        overflow-y: auto;
        max-height: 30vh;
    }

    .overflow-mb-y-35 {
        overflow-y: auto;
        max-height: 35vh;
    }

    .overflow-mb-y-40 {
        overflow-y: auto;
        max-height: 40vh;
    }

    .overflow-mb-y-45 {
        overflow-y: auto;
        max-height: 45vh;
    }

    .overflow-mb-y-50 {
        overflow-y: auto;
        max-height: 50vh;
    }

    .overflow-mb-y-55 {
        overflow-y: auto;
        max-height: 55vh;
    }

    .overflow-mb-y-60 {
        overflow-y: auto;
        max-height: 60vh;
    }

    .overflow-mb-y-65 {
        overflow-y: auto;
        max-height: 65vh;
    }

    .overflow-mb-y-70 {
        overflow-y: auto;
        max-height: 70vh;
    }

    .overflow-mb-y-75 {
        overflow-y: auto;
        max-height: 75vh;
    }

    .overflow-mb-y-80 {
        overflow-y: auto;
        max-height: 80vh;
    }

    .overflow-mb-y-85 {
        overflow-y: auto;
        max-height: 85vh;
    }

    .overflow-mb-y-90 {
        overflow-y: auto;
        max-height: 90vh;
    }

    .overflow-mb-y-95 {
        overflow-y: auto;
        max-height: 95vh;
    }

    .overflow-mb-y-100 {
        overflow-y: auto;
        max-height: 100vh;
    }
}


/* Iframe Control */

.iframe-container {
    /*min-height: 360px;*/
}

iframe {
    overflow: hidden;
    border: 0;
    width: 100%;
    min-height: 100%;
}

.iframe-container > body {
    height: auto;
    background: var(--body-bg);
}

.iframe-wrapper {
    background-color: inherit;
    height: contain;
    min-height: 100%;
}

@media (max-width: 768px) {
    .iframe-wrapper {
        /* padding: 0 12px 12px; */
        height: 100%;
        min-height: 100%;
        display: block;
    }

        .iframe-wrapper > .row {
            margin-right: 0;
            margin-left: 0;
        }

            /* Ajanda notu: saatler mobilde yan yana, işlem butonu görünür kalır. */
            .iframe-wrapper > .row:has(#ddlBaslamaSaati) {
                /* display: flex; */
                /* flex-wrap: wrap; */
                /* column-gap: 10px; */
            }

                .iframe-wrapper > .row:has(#ddlBaslamaSaati) > .form-group {
                    /* margin-left: 0; */
                    /* margin-right: 0; */
                    /* padding-left: 0; */
                    /* padding-right: 0; */
                }

                    .iframe-wrapper > .row:has(#ddlBaslamaSaati) > .form-group:nth-child(2),
                    .iframe-wrapper > .row:has(#ddlBaslamaSaati) > .form-group:nth-child(3) {
                        /* flex: 1 1 calc(50% - 5px); */
                        /* width: calc(50% - 5px); */
                        /* min-width: 0; */
                    }

                    .iframe-wrapper > .row:has(#ddlBaslamaSaati) > .form-group:last-child {
                        margin-bottom: 0;
                        padding-bottom: max(8px, env(safe-area-inset-bottom));
                    }
}


iframe > body {
    background-color: inherit;
}


/* Main Content */
.main-content {
    flex: 1;
    margin-left: 270px;
    transition: margin-left 0.3s;
}

.sidebar.collapsed ~ .main-content {
    margin-left: 90px;
}

@media (max-width: 992px) {
    .main-content,
    .sidebar.collapsed ~ .main-content {
        width: 100%;
        min-width: 0;
        margin-left: 0;
        padding-top: 0;
    }
}

.section-heading-inner {
    padding: 6px 0 6px 0;
    margin-bottom: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, var(--primary), var(--primary-light)) 90;
}

    .section-heading-inner h3 {
        font-size: var(--type-section-title);
        line-height: var(--line-heading);
        color: var(--primary);
    }

    .section-heading-inner a {
        font-size: var(--type-caption);
        line-height: var(--line-compact);
    }

/* Announcement Slider */
.announcement-slider {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.slider-container {
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.announcement-card {
    min-width: 100%;
    height: 120px;
    align-content: baseline;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-light));
    /* background: var(--gray-light);*/
    padding: 24px 64px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(95, 46, 234, 0.2);
    opacity: 0;
    transition: opacity 0.5s;
    position: absolute;
    border: 1px solid var(--primary);
}

    .announcement-card.active {
        position: relative;
        opacity: 1;
    }

.announcement-title {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
}

    .announcement-title i {
        margin-right: 10px;
    }

.announcement-text {
    font-size: 14px;
    opacity: 0.9;
}

    .announcement-text a {
        color: var(--dark);
        font-weight: 700;
    }

.announcement-link {
    color: var(--dark);
    font-weight: 700;
    z-index: 1;
    display: inline-block;
    position: relative;
}

    .announcement-link a i {
        color: var(--primary);
    }

    .announcement-link a span {
        font-size: 13px;
    }

.slider-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .slider-nav:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .slider-nav.prev {
        left: 12px;
    }

    .slider-nav.next {
        right: 12px;
    }

.slider-dots {
    display: flex;
    justify-content: center;
    margin: 15px;
    gap: 8px;
}

    .slider-dots .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--gray-light);
        cursor: pointer;
    }

        .slider-dots .dot.active {
            background-color: var(--gray);
        }


@media(max-width:768px) {
    .announcement-card {
        height: 160px;
    }
}

/* Grid Layout */
.grid-layout {
    padding: 0;
}

.grid-item {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    min-height: 100px;
    position: relative;
}

    .grid-item:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

.grid-item-placeholder {
    background: var(--primary-light);
    border: 2px dashed var(--primary);
    border-radius: 12px;
}

.grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .grid-header h3 {
        font-size: var(--type-card-title);
        line-height: var(--line-heading);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .grid-header svg, .grid-header i {
        color: var(--primary);
        font-size: 18px;
    }

.grid-actions {
    color: var(--gray);
    cursor: pointer;
}

.page-inner {
    background-color: var(--body-bg);
    padding: 8px 12px;
    min-height: calc(100vh - 75px);
}

.page-inner-container {
    padding: 16px 22px;
}

    .page-inner-container:has(.tabs-nav) {
        display: flex;
        flex-direction: column;
    }

        .page-inner-container:has(.tabs-nav) > div:last-child {
            margin-top: auto;
        }

.page-inner-header {
    padding: 0 0 8px 0;
    margin: 0 0 8px 0;
    border-bottom: 1px dashed var(--border);
}

    .page-inner-header h3 {
        text-decoration: none;
        color: var(--gray);
        font-size: var(--type-page-title);
        font-weight: 600;
        line-height: var(--line-heading);
    }

        .page-inner-header h3 i {
            margin-right: 8px;
            color: var(--primary);
        }


@media(max-width:768px) {
    .page-inner-container {
        padding: 8px 4px;
    }

    .page-inner {
        padding: 8px 12px;
    }
}


/* Mini Calendar */

.mini-calendar {
    background: var(--card-bg);
    padding: 1rem;
    border-bottom: 1px solid var(--border)
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

    .calendar-header #prevMonth, .calendar-header #nextMonth {
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 4px;
        padding: 6px 10px;
        cursor: pointer;
        font-size: 14px;
    }

    .calendar-header #monthYear {
        font-size: 18px;
        font-weight: 700;
    }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 1rem;
}

    .calendar-grid div {
        padding: 8px;
        text-align: center;
        border-radius: 4px;
        cursor: pointer;
        background: var(--card-bg);
        transition: background 0.2s;
    }

        .calendar-grid div:hover {
            background: var(--primary);
            color: var(--light);
            font-weight: bold;
        }

    .calendar-grid .selected {
        border: 2px solid var(--primary);
        font-weight: bold;
    }

    .calendar-grid .today {
        border: 2px solid var(--primary);
        color: var(--light);
        background: var(--primary);
    }

    .calendar-grid .has-event {
        /*background-color: var(--gray-light);*/
        font-weight: bold;
    }

.calendar-info .event-list-wrapper {
    display: flex;
    flex-direction: column;
    max-height: 220px;
}

.calendar-info .event-list {
    overflow-y: auto;
    max-height: 160px;
    margin-bottom: 0.5rem;
}

.calendar-info .event-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.3rem 0;
    background: var(--card-bg);
    padding: 0.5rem;
    border-radius: 4px;
}

    .calendar-info .event-item a {
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 4px;
        padding: 6px 10px;
        cursor: pointer;
        font-size: 14px;
    }

.calendar-info .event-item {
    font-size: 14px;
    border-bottom: 1px solid var(--gray-light);
}

    .calendar-info .event-item span {
        font-size: 13px;
        color: var(--gray);
        max-width: 70%;
    }

    .calendar-info .event-item b {
        font-weight: 600;
    }


.agenda-header {
    display: grid;
    grid-template-columns: 100px repeat(7, 1fr);
    background: #e6f0ff;
    text-align: center;
    font-weight: bold;
}

.agenda-grid {
    display: grid;
    grid-template-columns: 100px repeat(7, 1fr);
}

.agenda-time {
    padding: 8px;
    border: 1px solid #ddd;
    font-size: 12px;
    text-align: center;
}

.agenda-cell {
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 120px;
}

.agenda-subrow {
    display: flex;
    flex: 1;
    border-top: 1px solid #f0f0f0;
}

.agenda-slot {
    flex: 1;
    border-left: 1px solid #f0f0f0;
    position: relative;
    cursor: pointer;
}

    .agenda-slot:hover {
        background-color: #eef;
    }

.agenda-event {
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    background: #4287f5;
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.agenda-popup {
    display: none;
    position: fixed;
    top: 30%;
    left: 40%;
    background: white;
    padding: 20px;
    border: 2px solid #aaa;
    z-index: 1;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.agenda-popup-content input {
    width: 200px;
    padding: 6px;
    margin-bottom: 8px;
}

.agenda-btn {
    display: inline-block;
    text-decoration: none;
    background-color: #4287f5;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-right: 8px;
    transition: background-color 0.2s;
}

    .agenda-btn:hover {
        background-color: #2e6de0;
    }

.agenda-cancel {
    background-color: #999;
}

    .agenda-cancel:hover {
        background-color: #777;
    }


@media(max-width:1600px) {
    .calendar-grid div {
        padding: 4px;
    }
}

@media(max-width:992px) {
    .mini-calendar {
        padding: 0;
        width: 100%;
    }
}


/* Success Stats */

.info-stats-1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}

.info-stats-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.info-stats-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.info-stats-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.info-stats-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.info-stats-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.success-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-card {
    background: var(--primary-light);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

    .stat-card p {
        text-align: center;
        font-size: var(--type-caption);
        line-height: var(--line-compact);
        color: var(--gray);
        font-weight: 500;
    }

    .stat-card b {
        font-size: var(--type-stat);
        line-height: var(--line-heading);
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 5px;
    }

.stat-value {
    font-size: var(--type-stat);
    line-height: var(--line-heading);
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: var(--type-caption);
    line-height: var(--line-compact);
    color: var(--gray);
}

@media screen and (max-width: 768px) {

    .info-stats-3 {
        display: grid;
        grid-template-columns: repeat(1, 2fr);
        column-gap: 10px;
    }
}

@media (max-width: 480px) {
    .info-stats-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .info-stats-4 .stat-card {
            min-width: 0;
            padding: 12px 8px;
        }
}

/* Etüt Listesi */
.etut-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.etut-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(95, 46, 234, 0.05);
}

.etut-date {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.etut-info h4 {
    font-size: 14px;
    margin-bottom: 3px;
}

.etut-info p {
    font-size: 12px;
    color: var(--gray);
}

.yoklama-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
    background: var(--light);
    padding: 12px;
    border-radius: 8px;
}

.yoklama-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 12px;
    display: flex;
}

    .yoklama-content hr {
        /* display: block; */
        /* margin-block-start: 0.5em; */
        /* margin-block-end: 0.5em; */
        margin-inline-start: auto;
        margin-inline-end: 12px;
        /* unicode-bidi: isolate; */
        /* overflow: hidden; */
        border-style: dashed;
        border-width: 1px;
        border-color: var(--border);
    }

.yoklama-content-resim {
    margin-right: 6px;
}

    .yoklama-content-resim img {
        width: 60px;
        height: auto;
        border-radius: 8px;
    }

.yoklama-content-ogrenci {
    text-align: left;
}

    .yoklama-content-ogrenci p {
        color: var(--gray);
    }

    .yoklama-content-ogrenci b {
        color: var(--dark);
        width: 140px;
        display: block;
    }

.yoklama-content-action {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.radio-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    width: 48px;
    text-align: center;
    user-select: none;
    background-color: var(--body-bg);
    transform: scale(1);
}

    .radio-box:hover {
        cursor: pointer;
    }

    .radio-box i {
        font-size: 24px;
        margin-bottom: 8px;
        color: var(--gray);
        transition: color 0.3s;
    }

    .radio-box span {
        font-size: 14px;
        font-weight: 500;
    }

    .radio-box input[type="radio"] {
        opacity: 0;
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
    }

        .radio-box input[type="radio"]:hover {
            cursor: pointer;
        }

    .radio-box:hover {
        opacity: 0.7;
        transform: scale(1.05);
    }

    .radio-box.active {
        opacity: 1;
        font-weight: bold;
        transform: scale(1.08);
    }

@media (max-width: 768px) {
    .yoklama-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .yoklama-content {
        flex-wrap: wrap;
        gap: 10px;
        min-height: 0;
        padding: 12px;
    }

    .yoklama-content-resim {
        margin-right: 0;
    }

        .yoklama-content-resim img {
            width: 52px;
        }

    .yoklama-content-ogrenci {
        flex: 1 1 calc(100% - 62px);
        min-width: 0;
    }

        .yoklama-content-ogrenci b {
            width: 100%;
            white-space: normal;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: var(--type-body);
            line-height: var(--line-compact);
        }

        .yoklama-content-ogrenci p {
            font-size: var(--type-caption);
            line-height: var(--line-compact);
        }

    .yoklama-content-action {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        margin-left: 0;
    }

    .radio-box {
        width: 100%;
        min-width: 0;
        min-height: 68px;
        padding: 8px 4px;
        border-radius: 8px;
    }

        .radio-box i {
            margin-bottom: 4px;
            font-size: 20px;
        }

        .radio-box span {
            font-size: var(--type-caption);
            line-height: var(--line-compact);
        }
}

/* Animations */

.pulse {
    animation: pulse 2s infinite;
}


@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}



/* Responsive Styles */
@media (max-width: 1200px) {
    .grid-item {
        grid-column-end: span 4;
        margin-bottom: 12px;
    }

    .success-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .grid-item {
        grid-column-end: span 6;
    }
}

@media (max-width: 768px) {
    .grid-layout {
        grid-template-columns: 1fr 1fr;
    }

    .grid-item {
        grid-column-end: span 1;
    }
}

@media (max-width: 576px) {
    .success-stats {
        grid-template-columns: repeat(3, 3fr);
    }

    .announcement-slider {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }

    .announcement-card {
        padding: 10px 40px;
    }

    .slider-nav {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1984;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-logo {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ajanda */

.ajanda-baslik {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    gap: 12px;
    margin: 8px 0 4px 0;
}

    .ajanda-baslik h3 {
        margin: 0 8px;
    }

/*.ajanda-hafta-saat-container {
    height: 55vh;
    overflow-y: auto;
}*/

.ajanda-hafta-gunler {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-columns: 8px;
    overflow-x: hidden;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
}


.ajanda-hafta-saat-detay > div:not(:last-child) {
    margin-bottom: 0;
}

.ajanda-hafta-saat-detay > div > div:first-child {
    white-space: nowrap;
}

.ajanda-hafta-saat-detay > div > div:last-child {
    text-align: right;
}






.ajanda-hafta-gun {
    padding: 8px 4px;
    background: var(--primary);
    border-right: 1px solid var(--border);
    text-align: center;
    color: var(--light);
    position: sticky;
    top: 0;
}

    .ajanda-hafta-gun a {
        font-weight: 500;
        color: var(--light);
    }

.ajanda-hafta-saatler {
    /*display: grid;
    grid-template-rows: repeat(4, 20px);*/
    padding: 4px;
    flex: 1;
    align-items: center;
    min-height: 80px;
    align-content: start;
    border-bottom: 1px solid var(--gray-light);
    /*display: flex;
    flex-direction: column;
    width: calc(100% / 7);*/
}

.ajanda-hafta-saat-container {
    border-right: 1px solid var(--gray-light);
}

.ajanda-hafta-ikon-sabit {
    display: flex;
    flex-direction: row;
    row-gap: 4px;
    border-bottom: 1px solid var(--gray-light);
}

.ajanda-hafta-saat-sabit p {
    margin: 0 4px;
}

.ajanda-hafta-saat {
    padding: 2px;
}

    .ajanda-hafta-saat span {
        margin-bottom: unset;
        display: inline;
    }

.ajanda-hafta-etkinlik p {
    margin-left: 0px;
    margin-bottom: 0;
    color: var(--dark);
}

.ajanda-hafta-saat p {
    /*margin: 0;
    white-space: nowrap;
    width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;*/
    margin-bottom: 0;
}


.ajanda-hafta-saat-detay {
    /*display: grid;
    grid-template-columns: minmax(min-content, 13%) minmax(22%, 1fr) 65%;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 4px;*/
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

    .ajanda-hafta-saat-detay > div:first-child {
        color: var(--dark);
    }

@media (max-width: 600px) {
    .ajanda-baslik {
        gap: 6px;
        margin: 6px 0 10px;
    }

    .ajanda-hafta-gunler {
        grid-template-columns: repeat(1, 1fr);
        overflow: visible;
        border: unset;
        gap: 18px;
    }

    .ajanda-baslik h3 {
        flex: 1 1 auto;
        min-width: 0;
        margin-inline: 4px;
        font-size: 14px;
        line-height: 1.3;
        text-align: center;
    }

    .ajanda-baslik + .overflow-mb-y-70 {
        max-height: none;
        overflow: visible;
    }

    .ajanda-hafta-gunler-container {
        min-width: 0;
    }

    .ajanda-hafta-saatler {
        min-height: 64px;
        padding: 8px;
    }

    .ajanda-hafta-saat-container {
        min-width: 0;
        border: unset;
    }

    .ajanda-hafta-gun {
        border-right: unset;
        text-align: left;
        position: unset;
        padding: 9px 10px;
        font-size: 14px;
        line-height: 1.3;
    }

    .ajanda-hafta-ikon-sabit {
        min-height: 34px;
        align-items: center;
        padding-inline: 4px;
    }

    .ajanda-hafta-saat-detay {
        min-width: 0;
        gap: 2px;
        font-size: 13px;
        line-height: 1.35;
    }

        .ajanda-hafta-saat-detay > div,
        .ajanda-hafta-saat-detay > div > div {
            min-width: 0;
        }

            .ajanda-hafta-saat-detay > div > div:last-child {
                text-align: left;
            }

    .ajanda-hafta-etkinlik p,
    .ajanda-hafta-saat p {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}


/* Ajanda Günlük JS Stiller */

.ajanda-gunluk-aylar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 8px;
}

    .ajanda-gunluk-aylar div {
        cursor: pointer;
        padding: var(--pd-sm) var(--pd-md);
        font-size: var(--font-md);
        color: #888;
        transition: color 0.3s, font-weight 0.3s;
    }

        .ajanda-gunluk-aylar div.selected {
            color: black;
            font-weight: bold;
        }

.ajanda-gunluk-gunler {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

    .ajanda-gunluk-gunler div {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        text-align: center;
        font-size: var(--font-sm);
        cursor: pointer;
        background-color: #f2f2f2;
        color: #333;
        transition: background-color 0.3s, color 0.3s;
        display: inline-flex;
        justify-content: center;
        align-items: anchor-center;
        padding: 8px 10px;
    }

        .ajanda-gunluk-gunler div.weekend {
            background: var(--bc-color-primary-light);
        }

    .ajanda-gunluk-gunler .selected {
        background: var(--bs-gray-600);
        color: white;
        font-weight: bold;
    }

    .ajanda-gunluk-gunler .weekend.selected {
        color: var(--bs-white);
        background: var(--bs-orange);
    }

.ajanda-gunluk-icerik {
}

    .ajanda-gunluk-icerik p {
        padding: 4px;
        text-align: center;
    }



/* Ajanda Günlük Plan */
.ajanda-gunluk-plan {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: var(--pd-xl);
    width: 100%;
}

.ajanda-gunluk-plan-saat {
    display: flex;
    flex-direction: row;
    justify-content: start;
    padding: var(--pd-md) 0;
}

    .ajanda-gunluk-plan-saat p {
        background: var(--bc-color-primary-light);
        color: var(--bc-color-primary-dark);
        padding: var(--pd-sm) var(--pd-xl);
        border-radius: var(--border-radius-sm);
        font-weight: bold;
    }

    .ajanda-gunluk-plan-saat::after {
        content: "";
        width: 90%;
        height: 1px;
        border-top: 1px dashed;
        display: inline-block;
        background: transparent;
        color: var(--bs-gray-500);
        margin: 14px 10px;
    }

.ajanda-gunluk-plan-etkinlik {
    display: flex;
    border: 1px solid var(--bs-gray-300);
    padding: var(--pd-xl);
    border-radius: var(--border-radius-md);
}

    .ajanda-gunluk-plan-etkinlik:hover {
        border: 1px solid var(--bs-gray-500);
        background: var(--bs-gray-100);
    }

.ajanda-gunluk-plan-etkinlik-metin {
    display: flex;
    flex-direction: column;
}

    .ajanda-gunluk-plan-etkinlik-metin p {
        margin-bottom: 0;
    }


/* Günlük Ajanda */

/*.ajanda-gunluk {
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
}

.ajanda-gunluk-icerik {
    text-align: center;
    font-size: var(--font-lg);
}

    .ajanda-gunluk-icerik b {
        font-size: var(--font-lg) !important;
    }

.ajanda-gunluk p {
    margin: 0;
    padding: 8px;
    font-size: var(--font-xxs);
    align-content: center;
    height: 30px;
}


.ajanda-gunluk-container {
    display: flex;
    align-items: start;
    margin-bottom: 4px;
}


.ajanda-gunluk-saat-dakikalar, .ajanda-gunluk-etkinlik-container {
    display: grid;
    grid-row-gap: 0;
    border-right: 1px solid var(--bs-gray-200);
}

.ajanda-gunluk-etkinlik-container {
    width: 120px;
    border-right: 1px solid var(--bs-gray-300);
}

.ajanda-gunluk-etkinlik-wrapper {
    display: flex;
}

.ajanda-gunluk-etkinlik-st1, .ajanda-gunluk-etkinlik-st2 {
    width: 60px;
}

.ajanda-gunluk-saat-dakikalar p {
    background: var(--bc-color-primary);
    color: white;
    align-self: center;
    text-align: center;
    border-bottom: 1px dashed;
}

    .ajanda-gunluk-saat-dakikalar p:first-child {
        margin: 0;
        padding: 8px;
        font-size: var(--font-xs);
        align-content: center;
    }

.ajanda-gunluk-saat {
    background: var(--bc-color-primary);
    color: white;
    align-self: center;
    text-align: center;
    align-content: center;
    align-self: self-start;
    width: 120px;
}

.ajanda-gunluk-etkinlik {
    width: 60px;
}

    .ajanda-gunluk-etkinlik p {
        word-wrap: break-word;
        white-space: normal;
        border-bottom: 1px dashed var(--bs-gray-500);
        align-content: start;
    }

.ajanda-mavi {
    background: #daf3ff !important;
}

.ajanda-mor {
    background: #dac6ff !important;
}

.ajanda-sari {
    background: #fff2cc !important;
}

.ajanda-gunluk-saat-dakikalar {
    width: 60px;
    position: sticky;
    left: 0;
}*/

.ajanda-gunluk {
    display: flex;
}

.ajanda-gunluk-saatler {
    /*display: grid;
    grid-template-rows: repeat(24, 1fr);*/
}

.ajanda-gunluk-saat {
    height: 90px;
    align-content: center;
    border-right: 1px solid var(--bs-gray-400);
    border-bottom: 1px solid var(--bs-gray-400);
    width: 90px;
    text-align: center;
}

.ajanda-gunluk-etkinlik-container {
    position: relative;
    min-height: 1440px;
    background-image: linear-gradient( to bottom, transparent, transparent 89px, var(--bs-gray-400) 89.5px, var(--bs-gray-400) 90px );
    background-size: 100% 90px;
    background-repeat: repeat-y;
    width: 90%;
}

.ajanda-gunluk-etkinlik-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 33%;
}

.ajanda-gunluk-etkinlik {
    height: 30px;
    width: 100%;
    align-content: center;
    padding: 2px 4px;
    box-shadow: var(--shadow-xs);
    border: 1px var(--bs-gray-500);
    border-bottom-style: inset;
    margin-left: 8px;
}

.ajanda-etkinlik-mavi {
    background: #d5e8ff !important;
}

.ajanda-etkinlik-mor {
    background: #e8dbff !important;
}

.ajanda-etkinlik-sari {
    background: #feffdb !important;
}

.ajanda-etkinlik-kirmizi {
    background: #ffe5e7 !important;
}

.ajanda-etkinlik-turuncu {
    background: #ffe7dd !important;
}

.ajanda-etkinlik-yesil {
    background: #d2ffea !important;
}

.ajanda-etkinlik-gri {
    background: #e9e9e9 !important;
}

.ajanda-gunluk-etkinlik-metin {
    display: flex;
    gap: 4px;
    font-size: 11px;
}

    .ajanda-gunluk-etkinlik-metin span {
        margin: 0;
    }

    .ajanda-gunluk-etkinlik-metin b {
        color: slategrey;
        min-width: 25%;
    }

    .ajanda-gunluk-etkinlik-metin p {
        margin-bottom: 0;
    }

#haftalikAjanda {
    display: block;
}

#gunlukAjanda {
    display: block;
}


@media (max-width:576px) {
    .ajanda-gunluk-aylar {
        flex-wrap: nowrap;
        overflow-y: auto;
        justify-content: flex-start;
    }

    .ajanda-gunluk-gunler {
        flex-wrap: nowrap;
        overflow-y: auto;
        justify-content: flex-start;
    }

    .ajanda-gunluk-etkinlik-column {
        width: 49%;
    }

    .ajanda-gunluk-etkinlik-metin {
        flex-direction: column;
    }

        .ajanda-gunluk-etkinlik-metin span {
            display: block;
        }
}

.kurumsecim {
    max-height: 45vh;
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(48%, calc(20% + 50px)));
    row-gap: 10px;
    column-gap: 10px;
    justify-content: space-around;
}

.radiodiv {
    width: 100%;
    height: 100%;
    display: contents;
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    justify-content: flex-start;
}

    .radiodiv h2 {
        font-size: var(--font-sm);
        font-weight: bold;
    }

    .radiodiv p {
        font-size: var(--font-small);
        font-weight: normal;
    }

    .radiodiv hr {
    }

.radiodivbos {
    width: 220px;
    height: 180px;
}


.radiodiv input[type="radio"] {
    display: none;
}

.radiocss {
    width: 50px;
    height: 50px;
    position: absolute;
    z-index: 1;
    font-family: Arial;
    content: "✓";
    margin-left: 75px;
    margin-top: -7.5px;
    border: 2px solid #3f729b;
    border-radius: 50%;
    font-size: 24px;
    background: white;
    display: none;
}

.radiodiv input[type="radio"]:disabled ~ .radiodiv label {
    color: hsla(150, 5%, 75%, 1);
    border-color: hsla(150, 5%, 75%, 1);
    box-shadow: none;
    cursor: not-allowed;
}

.radiodiv label {
    border: 1px solid var(--dark);
    border-radius: 12px;
    padding: 8px 12px;
    margin: 8px;
    box-shadow: 0px 3px 10px -2px hsla(150, 5%, 65%, 0.5);
    position: relative;
    cursor: pointer;
}

    .radiodiv label h2 {
        margin-top: 0;
    }

    .radiodiv label img {
        width: 50px;
        height: 70px;
        border-radius: 8px;
    }

    .radiodiv label p {
        min-height: 70px;
    }

        .radiodiv label p:last-of-type {
            margin-top: auto;
            min-height: unset;
        }

            .radiodiv label p:last-of-type:before {
                border: 0;
                height: 1px;
                background: #333;
                background-image: linear-gradient(to right, #fff, #333, #fff);
                width: 100%;
                float: left;
                margin-top: 5px;
                margin-bottom: 10px;
            }

.radiodiv input[type="radio"]:checked + label {
    background: #008dff1f;
    box-shadow: 0px 0px 20px 6px #3f729b2e;
}

    .radiodiv input[type="radio"]:checked + label:after {
        z-index: 2;
        content: "✓";
        font-size: 14px;
        position: absolute;
        top: -5px;
        right: -20px;
        transform: translateX(-50%);
        height: 30px;
        width: 30px;
        line-height: 30px;
        text-align: center;
        border-radius: 50%;
        background: var(--primary);
        box-shadow: 0px 2px 5px -2px hsl(0deg 0% 0% / 25%);
        color: var(--card-bg);
        font-weight: 500;
    }

@media (max-width:992px) {
    .ogrencisecim {
        height: 50vh;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--bs-border-color-translucent);
    }

    .kurumsecim {
        grid-template-columns: repeat(1, minmax(100%, calc(20% + 50px)));
    }

    .radiodiv label img {
        width: 40px;
        height: 40px;
    }

    .radiodiv {
        width: 100%;
    }

        .radiodiv label {
            min-height: 180px;
        }
}

.student-info b {
    display: block;
    margin-bottom: 6px;
}

.student-info p {
    color: var(--gray);
}

.student-actions {
    display: flex;
    flex-direction: row;
    gap: 6px;
}

    .student-actions a {
        padding: 4px;
        margin: 4px 0px;
        height: 32px;
        width: 32px;
        border-radius: 12px;
        border: 1px solid var(--border);
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }


.danismanlik-buton-wrapper {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-column-gap: 12px;
    margin-bottom: 16px;
}

    .danismanlik-buton-wrapper li a {
        padding: 12px 16px;
        background: var(--primary-light);
        color: var(--primary);
        font-weight: 600;
        border-radius: 8px;
        display: block;
        text-wrap: nowrap;
    }

        .danismanlik-buton-wrapper li a.selected {
            border: 1px solid var(--primary);
        }

.danismanlik-div-wrapper {
    display: block;
}

.student-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
}


.etut-div-wrapper {
    display: block;
}

.etut-buton-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 12px;
    margin-bottom: 16px;
}

    .etut-buton-wrapper li a {
        padding: 12px 16px;
        background: var(--primary-light);
        color: var(--primary);
        font-weight: 600;
        border-radius: 8px;
        display: block;
    }

        .etut-buton-wrapper li a.selected {
            border: 1px solid var(--primary);
        }


@media (max-width: 768px) {

    .etut-buton-wrapper,
    .danismanlik-buton-wrapper {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 12px;
        padding-inline-start: 0;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

        .etut-buton-wrapper li,
        .danismanlik-buton-wrapper li {
            flex: 0 0 auto;
            scroll-snap-align: start;
        }

            .etut-buton-wrapper li a,
            .danismanlik-buton-wrapper li a {
                min-height: 42px;
                display: inline-flex;
                align-items: center;
                padding: 9px 12px;
                white-space: nowrap;
            }

    .student-card,
    .student-card-wrapper {
        row-gap: 12px;
    }

        .student-card > [class*="col-"],
        .student-card-wrapper > [class*="col-"],
        .danismanlik-div-wrapper {
            min-width: 0;
        }

    .student-photo,
    .student-info,
    .student-actions,
    .danismanlik-div-wrapper {
        box-sizing: border-box;
    }

    .student-photo {
        display: block;
        width: 112px;
        height: 112px;
        margin-inline: auto;
        border-radius: 50%;
        object-fit: cover;
        object-position: top;
    }

    .student-info {
        text-align: left;
    }

        .student-info b {
            margin-bottom: 3px;
            font-size: var(--type-card-title);
            line-height: var(--line-heading);
        }

        .student-info p {
            font-size: var(--type-caption);
            line-height: var(--line-compact);
        }

    .student-actions {
        justify-content: center;
        gap: 8px;
    }

        .student-actions a {
            width: 42px;
            height: 42px;
            margin-block: 6px;
            padding: 8px;
            border-radius: 10px;
        }

    .danismanlik-div-wrapper .table-list {
        width: 100%;
        table-layout: fixed;
    }

        .danismanlik-div-wrapper .table-list tr {
            border-bottom: 1px solid var(--border);
        }

        .danismanlik-div-wrapper .table-list th,
        .danismanlik-div-wrapper .table-list td {
            padding: 4px !important;
            font-size: var(--type-label) !important;
            line-height: 1.2;
            overflow-wrap: anywhere;
        }

        .danismanlik-div-wrapper .table-list th {
            width: 33%;
            color: var(--gray);
            font-weight: 600;
        }

        .danismanlik-div-wrapper .table-list td {
            color: var(--dark);
        }

    .danismanlik-div-wrapper .section-heading-inner {
        margin-top: 10px;
        padding-block: 8px;
    }

    .etut-div-wrapper {
        min-width: 0;
        padding: 12px;
    }

        .etut-div-wrapper .overflow-x {
            margin-bottom: 12px;
            border: 1px solid var(--border);
            border-radius: 8px;
        }

            .etut-div-wrapper .overflow-x > .table {
                min-width: 576px;
            }

        .etut-div-wrapper div:has(> [id^="Grafik"]) {
            width: 100% !important;
            max-width: 100% !important;
            overflow: hidden;
            border-radius: 8px;
        }

        .etut-div-wrapper [id^="Grafik"] {
            width: 100% !important;
            max-width: 100% !important;
            height: 260px !important;
        }

        .etut-div-wrapper .success-stats {
            gap: 8px;
        }

        .etut-div-wrapper .stat-card {
            min-width: 0;
            padding: 10px 6px;
        }

        .etut-div-wrapper .stat-label {
            overflow-wrap: anywhere;
        }

        /* Yeni Etüt: ilişkili seçimleri yan yana tutup kaydet butonunu yukarı taşır. */
        .etut-div-wrapper > div > .row:has(> .form-group:nth-child(9):last-child) {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            margin-right: 0;
            margin-left: 0;
        }

            .etut-div-wrapper > div > .row:has(> .form-group:nth-child(9):last-child) > .form-group {
                width: 100%;
                min-width: 0;
                margin: 0;
                padding: 0;
            }

                .etut-div-wrapper > div > .row:has(> .form-group:nth-child(9):last-child) > .form-group:first-child,
                .etut-div-wrapper > div > .row:has(> .form-group:nth-child(9):last-child) > .form-group:nth-child(6),
                .etut-div-wrapper > div > .row:has(> .form-group:nth-child(9):last-child) > .form-group:last-child {
                    grid-column: 1 / -1;
                }

            .etut-div-wrapper > div > .row:has(> .form-group:nth-child(9):last-child) .select2-container {
                width: 100% !important;
            }

            .etut-div-wrapper > div > .row:has(> .form-group:nth-child(9):last-child) > .form-group:last-child > .btn {
                display: flex;
                width: 100%;
                min-height: 44px;
                align-items: center;
                justify-content: center;
                margin-top: 2px;
            }

    /* Danışmanlık / Sınav: analiz işlemi yatay kaydırmada kaybolmasın. */
    .danismanlik-div-wrapper .overflow-lg-y-20 > table th:last-child,
    .danismanlik-div-wrapper .overflow-lg-y-20 > table td:last-child {
        position: sticky;
        right: 0;
        z-index: 1;
        min-width: 78px;
        background: var(--card-bg);
        box-shadow: -6px 0 8px rgb(0 0 0 / 5%);
        text-align: center;
    }

    .danismanlik-div-wrapper .overflow-lg-y-20 > table th:last-child {
        z-index: 2;
        background: var(--primary-light);
    }

    .danismanlik-div-wrapper .overflow-lg-y-20 > table td:last-child a {
        display: inline-flex;
        min-width: 64px;
        min-height: 36px;
        align-items: center;
        justify-content: center;
        padding: 7px 10px;
        border: 1px solid var(--primary);
        border-radius: 6px;
        font-weight: 600;
    }

    /* Danışmanlık / Devamsızlık: aylık kartları daha kompakt göster. */
    .danismanlik-div-wrapper .attendance-table tbody tr:not(.detail-row):not(:first-child) {
        display: grid !important;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 0;
        padding: 8px;
    }

    .danismanlik-div-wrapper .attendance-table tbody td {
        display: flex !important;
        min-width: 0;
        min-height: 24px;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        padding: 2px 4px !important;
        line-height: 1;
    }

        .danismanlik-div-wrapper .attendance-table tbody td:first-child,
        .danismanlik-div-wrapper .attendance-table tbody td:last-child {
            grid-column: 1 / -1;
        }


    .attendance-table tr:first-child {
        display: none !important;
    }



    /* Danışmanlık / Etüt: tek satırlık özet verilerini iki sütuna dağıt. */
    .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Etüt Saati"]) tbody tr {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 8px;
    }

        .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Etüt Saati"]) tbody tr:first-child {
            display: none !important;
        }

    .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Etüt Saati"]) tbody td {
        display: flex !important;
        min-width: 0;
        min-height: 42px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        padding: 7px 8px !important;
    }

        .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Etüt Saati"]) tbody td:before {
            flex: unset;
        }

        .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Etüt Saati"]) tbody td:first-child {
            grid-column: 1 / -1;
        }

    /* Danışmanlık / Ödev: uzun kartları okunabilir iki sütunlu özete çevir. */
    .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Öğretmen"]):has(td[data-label="Teslim Tarihi"]) tbody tr {
        display: grid;
        /* padding: 8px; */
    }

        .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Öğretmen"]):has(td[data-label="Teslim Tarihi"]) tbody tr:first-child {
            display: none;
        }


    .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Öğretmen"]):has(td[data-label="Teslim Tarihi"]) tbody td {
        display: flex !important;
        gap: 0px;
        padding: 2px 0px !important;
        overflow-wrap: anywhere;
    }

        .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Öğretmen"]):has(td[data-label="Teslim Tarihi"]) tbody td:nth-child(5),
        .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Öğretmen"]):has(td[data-label="Teslim Tarihi"]) tbody td:nth-child(6),
        .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Öğretmen"]):has(td[data-label="Teslim Tarihi"]) tbody td:nth-child(8),
        .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Öğretmen"]):has(td[data-label="Teslim Tarihi"]) tbody td:last-child {
            grid-column: 1 / -1;
        }

            .danismanlik-div-wrapper table.table-responsive:has(td[data-label="Öğretmen"]):has(td[data-label="Teslim Tarihi"]) tbody td:last-child .btn {
                width: 100%;
                min-height: 32px;
            }

    /* Ödev filtreleri: başlangıç ve bitiş tarihini tek satırda tut. */
    .form-group > .row > [class*="col-"] > input[type="date"] {
        min-width: 0;
    }


    /* Ödev Verme / bilgiler: teslim tarih ve saatini birlikte göster. */
    .etut-div-wrapper:has(input[type="file"]) .row:has(> .form-group input[type="date"]):has(> .form-group .select2-container) {
        /*display: grid;*/
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        gap: 10px;
        margin-right: 0;
        margin-left: 0;
    }

        .etut-div-wrapper:has(input[type="file"]) .row:has(> .form-group input[type="date"]):has(> .form-group .select2-container) > .form-group {
            width: 100%;
            min-width: 0;
            margin: 0;
            padding: 0;
        }

    .etut-div-wrapper:has(input[type="file"]) input[type="date"],
    .etut-div-wrapper:has(input[type="file"]) select + .select2-container {
        width: 100% !important;
        min-width: 0;
    }

    .etut-div-wrapper:has(input[type="file"]) textarea {
        min-height: 112px;
        resize: vertical;
    }

    .etut-div-wrapper:has(input[type="file"]) input[type="file"] {
        min-height: 44px;
        padding: 6px;
    }

    .etut-div-wrapper:has(input[type="file"]) .tabs-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 0 max(8px, env(safe-area-inset-bottom));
    }

        .etut-div-wrapper:has(input[type="file"]) .tabs-nav li:last-child {
            flex: 1 1 100%;
        }

            .etut-div-wrapper:has(input[type="file"]) .tabs-nav li:last-child a {
                display: flex;
                width: 100%;
                min-height: 44px;
                align-items: center;
                justify-content: center;
            }
}

.tabs {
    width: 100%;
}

.tabs-nav {
    list-style: none;
    margin-bottom: var(--pd-xl);
    overflow: auto;
    display: flex;
    flex-direction: row;
    gap: var(--pd-xxl);
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: var(--pd-xl);
    background: var(--gray-light);
    margin-top: 12px;
}

    .tabs-nav li a {
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 10px;
        border-radius: 4px;
        cursor: pointer;
    }

        .tabs-nav li a:has(:hover) {
            background: var(--bc-color-primary-light);
        }

.tab-content {
    padding: 0;
}

.tab-li-active {
    background: var(--primary);
    color: var(--light);
    border: 1px solid transparent;
}

.tab-li-passive {
    border: 1px solid var(--bs-gray-600)
}

@media (max-width: 768px) {
    .tabs-nav {
        justify-content: flex-start;
        gap: 8px;
        margin-bottom: var(--pd-md);
        padding: 8px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

        .tabs-nav li {
            flex: 0 0 auto;
            scroll-snap-align: start;
        }

            .tabs-nav li a {
                min-height: 42px;
                height: auto;
                padding: 9px 12px;
                white-space: nowrap;
            }
}


/* Ders Başarı - Sınavlar */
.success-dashboard {
    /*max-width: 1600px;*/
    /*margin: 0 auto;*/
}

    /* Üst Bilgi Kartı */
    .success-dashboard .top-info-card {
        background: var(--card-bg);
        border-radius: 16px;
        padding: 14px 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        margin-bottom: 30px;
        position: relative;
        overflow: hidden;
    }

        .success-dashboard .top-info-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
        }

        .success-dashboard .top-info-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
        }

    .success-dashboard .top-info-section {
        padding: 20px;
        border-right: 2px solid var(--gray-light);
        position: relative;
    }

        .success-dashboard .top-info-section:last-child {
            border-right: none;
        }

        .success-dashboard .top-info-section::after {
            content: '';
            position: absolute;
            right: -2px;
            top: 20%;
            bottom: 20%;
            width: 2px;
            background: linear-gradient(180deg, transparent, var(--border), transparent);
        }

        .success-dashboard .top-info-section:last-child::after {
            display: none;
        }

    .success-dashboard .top-info-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 16px;
    }

    .success-dashboard .top-info-title {
        font-size: 14px;
        color: var(--gray);
        margin-bottom: 4px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .success-dashboard .top-info-icon {
        font-size: 32px;
        opacity: 0.3;
    }

    .success-dashboard .top-info-main {
        font-size: 36px;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 8px;
        line-height: 1;
    }

    .success-dashboard .top-info-subtitle {
        font-size: 13px;
        color: var(--gray);
        margin-bottom: 8px;
    }

    .success-dashboard .top-info-details {
        font-size: 13px;
        color: var(--gray);
        line-height: 1.8;
        background: var(--body-bg);
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .success-dashboard .top-info-detail-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 4px;
        padding-bottom: 4px;
        border-bottom: 1px dashed var(--border);
    }

        .success-dashboard .top-info-detail-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

    .success-dashboard .top-info-detail-label {
        color: var(--gray);
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .success-dashboard .top-info-detail-label::before {
            content: '•';
            color: var(--primary);
            font-weight: bold;
        }

    .success-dashboard .top-info-detail-value {
        font-weight: 700;
        color: var(--dark);
    }

    .success-dashboard .top-info-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        margin-top: 8px;
    }

        .success-dashboard .top-info-badge::before {
            content: '◆';
            font-size: 8px;
        }

        .success-dashboard .top-info-badge.success {
            background: linear-gradient(135deg, #d1fae5, #a7f3d0);
            color: var(--bs-success);
        }

        .success-dashboard .top-info-badge.warning {
            background: linear-gradient(135deg, #fef3c7, #fde68a);
            color: var(--dark);
        }

        .success-dashboard .top-info-badge.danger {
            background: linear-gradient(135deg, #fee2e2, #fecaca);
            color: var(--bs-danger);
        }

    .success-dashboard .top-info-chart {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 110px;
        height: 110px;
    }

    /* Ders Kartları Bölümü */
    .success-dashboard .lessons-section {
        margin-bottom: 30px;
    }

    .success-dashboard.section-title {
        font-size: 18px;
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 16px;
    }

    .success-dashboard.lessons-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* Ders Kartları Bölümü */
    .success-dashboard.lessons-section {
        margin-bottom: 30px;
    }

    .success-dashboard.section-title {
        font-size: 18px;
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 16px;
    }

    .success-dashboard.lessons-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* Scroll Okları */
    .success-dashboard.scroll-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--card-bg);
        border: 2px solid var(--primary);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

        .success-dashboard.scroll-arrow:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }

        .success-dashboard.scroll-arrow:active {
            transform: translateY(-50%) scale(0.95);
        }

    .success-dashboard.scroll-arrow-left {
        left: -24px;
    }

    .success-dashboard.scroll-arrow-right {
        right: -24px;
    }

    .success-dashboard.lessons-scroll-container {
        flex: 1;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        position: relative;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 16px;
        /* Scroll Snap */
        scroll-snap-type: x mandatory;
        scroll-padding: 0 5vw; /* Snap'in merkezlenmesi için */
    }

        .success-dashboard.lessons-scroll-container::-webkit-scrollbar {
            display: none;
        }

        .success-dashboard.lessons-scroll-container.dragging {
            scroll-behavior: auto;
            cursor: grabbing;
            user-select: none;
        }

        .success-dashboard.lessons-scroll-container:not(.dragging) {
            cursor: grab;
        }

        .success-dashboard.lessons-scroll-container.no-snap {
            scroll-snap-type: none !important;
        }

    .success-dashboard.lessons-grid {
        display: flex;
        gap: 20px;
        /*width: fit-content;*/
        margin: 16px 0;
        padding: 8px 0;
    }

    .success-dashboard.lesson-card {
        background: var(--card-bg);
        border-radius: 20px;
        padding: 24px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 1px solid transparent;
        /* min-width: 340px;
        width: 340px;
        max-width: 340px;*/
        width: 100%;
        flex-shrink: 0;
        transition: all 0.3s ease;
        /* Scroll Snap */
        scroll-snap-align: center;
        scroll-snap-stop: always;
        position: relative;
    }

        .success-dashboard.lesson-card:hover {
            transform: translateY(0px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
            border-color: var(--primary);
        }

    .success-dashboard.lesson-card-header {
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        top: 0;
        left: 0;
        right: 0;
        position: absolute;
        padding: 6px 16px;
        border-radius: 14px 14px 0 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .success-dashboard.lesson-card-title {
        font-size: 20px;
        font-weight: 600;
        color: var(--light);
        margin: 0;
    }

    /* Form Badge - Daha Belirgin */
    .success-dashboard.lesson-form-badge {
        /* background: var(--form-badge-bg);
        backdrop-filter: blur(10px);
        border: 2px solid var(--form-badge-border);
        color: var(--dark);*/
        padding: 2px 6px;
        background: var(--body-bg);
        border-radius: 8px;
        font-size: 12px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 8px;
        /*box-shadow: 0 4px 12px var(--form-badge-shadow);*/
        justify-content: center;
        align-content: center;
        align-items: center;
    }

    .success-dashboard.form-mini-chart {
        width: 45px;
        height: 28px;
        display: flex;
        align-items: flex-end;
        gap: 3px;
    }

    .success-dashboard.form-mini-bar {
        flex: 1;
        background: var(--form-bar-color);
        border-radius: 3px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .success-dashboard.form-trend-icon {
        font-size: 18px;
        font-weight: bold;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        margin-top: 2px;
    }

        .success-dashboard.form-trend-icon.up {
            color: var(--bs-success);
        }

        .success-dashboard.form-trend-icon.down {
            color: var(--bs-danger);
        }

        .success-dashboard.form-trend-icon.flat {
            color: var(--dark);
        }

    .success-dashboard.lesson-chart {
        width: 100%;
        height: 150px;
        margin: 10px 0;
    }

    .success-dashboard .lesson-stats-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }

    /* Son elemanı 2 sütuna yay */
    /*.success-dashboard .lesson-stats-grid > *:last-child {
            grid-column: 1 / -1;*/ /* veya grid-column: span 2; */
    /*}*/

    .success-dashboard.lesson-stat {
        text-align: center;
        padding: 2px 6px;
        /*background: var(--body-bg);*/
        border-radius: 12px;
        /*border: 1px solid var(--border);*/
        transition: all 0.2s;
    }

        .success-dashboard.lesson-stat:hover {
            border-color: var(--primary);
            transform: translateY(0px);
        }

    .success-dashboard.lesson-stat-label {
        font-size: 10px;
        color: var(--gray);
        margin-bottom: 0px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .success-dashboard.lesson-stat-value {
        font-size: 18px;
        font-weight: 700;
        color: var(--dark);
    }

        .success-dashboard.lesson-stat-value.success {
            color: var(--bs-success);
        }

        .success-dashboard.lesson-stat-value.danger {
            color: var(--bs-danger);
        }

        .success-dashboard.lesson-stat-value.warning {
            color: var(--gray);
        }

        .success-dashboard.lesson-stat-value.primary {
            color: var(--primary);
        }

        .success-dashboard.lesson-stat-value.empty {
            color: #f57c00;
        }

        .success-dashboard.lesson-stat-value.secondary {
            color: var(--secondary);
        }

/* Responsive */
@media (max-width: 1400px) {
    .success-dashboard.scroll-arrow-left {
        left: 8px;
    }

    .success-dashboard.scroll-arrow-right {
        right: 8px;
    }
}

@media (max-width: 768px) {

    .success-dashboard.lesson-card-title {
        font-size: 18px;
    }

    .success-dashboard.lessons-scroll-container {
        scroll-padding: 0 7.5vw;
    }

    .success-dashboard.lessons-grid {
        gap: 20px;
        padding: 8px 7.5vw;
    }

    .success-dashboard.lesson-card {
        min-width: 85vw;
        width: 85vw;
        max-width: 85vw;
        padding: 24px;
    }

    .success-dashboard.scroll-arrow {
        width: 36px;
        height: 36px;
        opacity: 0.8;
    }

        .success-dashboard.scroll-arrow svg {
            width: 20px;
            height: 20px;
        }

    .success-dashboard.scroll-arrow-left {
        left: 4px;
    }

    .success-dashboard.scroll-arrow-right {
        right: 4px;
    }
}

/* Daha küçük ekranlar için */
@media (max-width: 480px) {
    .success-dashboard.lessons-grid {
        gap: 15px;
        padding: 8px 4vw;
    }

    .success-dashboard.lesson-card {
        min-width: 72vw;
        width: 72vw;
        max-width: 72vw;
        padding: 52px 26px;
    }
}

/* Alt Grafikler */
.success-dashboard .content-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.success-dashboard .content-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.success-dashboard .content-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.success-dashboard .content-card-chart {
    width: 100%;
    height: 300px;
}

/* Öğrenme Analizi */
.success-dashboard .learning-analysis {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.success-dashboard .learning-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.success-dashboard .learning-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.success-dashboard .learning-filters {
    display: flex;
    gap: 8px;
}

.success-dashboard .filter-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px solid var(--border);
    background: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

    .success-dashboard .filter-btn:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    .success-dashboard .filter-btn.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

    .success-dashboard .filter-btn.low.active {
        background: var(--bs-danger);
        border-color: var(--bs-danger);
    }

    .success-dashboard .filter-btn.medium.active {
        background: var(--bs-warning);
        border-color: var(--bs-warning);
    }

    .success-dashboard .filter-btn.high.active {
        background: var(--bs-success);
        border-color: var(--bs-success);
    }

/* Accordion Topics */
.success-dashboard .topics-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.success-dashboard .topic-main {
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

    .success-dashboard .topic-main.open {
        border-color: var(--primary);
    }

.success-dashboard .topic-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--body-bg);
    cursor: pointer;
    transition: all 0.2s;
}

    .success-dashboard .topic-main-header:hover {
        background: var(--gray-light);
    }

.success-dashboard .topic-main.open .topic-main-header {
    background: var(--primary-light);
}

.success-dashboard .topic-main-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.success-dashboard .topic-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.success-dashboard .topic-main.low .topic-icon {
    background: #fee2e2;
}

.success-dashboard .topic-main.medium .topic-icon {
    background: #fef3c7;
}

.success-dashboard .topic-main.high .topic-icon {
    background: #d1fae5;
}

.success-dashboard .topic-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.success-dashboard .topic-main-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.success-dashboard .topic-stat {
    text-align: center;
}

.success-dashboard .topic-stat-value {
    font-size: 20px;
    font-weight: 700;
}

.success-dashboard .topic-main.low .topic-stat-value {
    color: var(--bs-danger);
}

.success-dashboard .topic-main.medium .topic-stat-value {
    color: var(--bs-warning);
}

.success-dashboard .topic-main.high .topic-stat-value {
    color: var(--bs-success);
}

.success-dashboard .topic-stat-label {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
}

.success-dashboard .topic-toggle {
    font-size: 20px;
    color: var(--gray);
    transition: transform 0.3s;
}

.success-dashboard .topic-main.open .topic-toggle {
    transform: rotate(180deg);
}

.success-dashboard .topic-sub-items {
    display: none;
    padding: 12px;
    background: white;
}

.success-dashboard .topic-main.open .topic-sub-items {
    display: block;
}

.success-dashboard .topic-sub-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: var(--body-bg);
    border-radius: 6px;
    /* border: 0px solid transparent; */
    transition: all 0.2s;
}

    .success-dashboard .topic-sub-item:hover {
        background: var(--gray-light);
        transform: translateX(4px);
    }

    .success-dashboard .topic-sub-item.low {
        background: var(--danger);
    }

    .success-dashboard .topic-sub-item.medium {
        border-left-color: var(--bs-warning);
    }

    .success-dashboard .topic-sub-item.high {
        border-left-color: var(--bs-success);
        background: var(--success);
    }

.success-dashboard .topic-sub-name {
    font-size: 14px;
    color: var(--dark);
    flex: 1;
    font-weight: 600;
}

.success-dashboard .topic-sub-stats {
    display: flex;
    gap: 12px;
    position: relative;
    align-items: center;
    width: 100%;
    font-size: 12px;
}

.success-dashboard .topic-sub-stat {
    /* font-size: 13px; */
    font-weight: 600;
    color: var(--gray);
    overflow-wrap: normal;
    text-wrap: nowrap;
}

.success-dashboard .topic-trend {
    font-size: 18px;
    position: absolute;
    right: 6px;
    bottom: 8px;
    font-weight: 600;
    -webkit-text-stroke-width: medium;
}

    .success-dashboard .topic-trend.up {
        color: var(--bs-success);
    }

    .success-dashboard .topic-trend.down {
        color: var(--bs-danger);
    }

    .success-dashboard .topic-trend.straight {
        color: var(--bs-warning);
    }

/* Responsive */
@media (max-width: 768px) {
    .success-dashboard .top-info-section {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 16px 0;
    }

        .success-dashboard .top-info-section:last-child {
            border-bottom: none;
        }

    .success-dashboard .lesson-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .success-dashboard.lesson-stat {
    }

    .success-dashboard.lesson-stat-label {
        font-size: 14px;
    }

    .success-dashboard.lesson-stat-value {
        font-size: 24px;
        line-height: 1.2;
    }


    .success-dashboard .learning-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .success-dashboard .topic-main-stats {
        flex-direction: column;
        gap: 8px;
        align-items: flex-end;
    }

    .success-dashboard .topic-sub-item {
        flex-direction: column;
        padding: 4px 6px;
        gap: 2px;
    }

    .success-dashboard .topic-sub-name {
        text-align: left;
        width: 100%;
        overflow-x: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .success-dashboard .topic-main-header {
        flex-direction: column;
        align-items: start;
        position: relative;
    }

    .success-dashboard .topic-main-stats {
        flex-direction: row;
        gap: calc(10% - 8%);
        align-items: flex-end;
        text-align: left;
        width: 100%;
    }

    .success-dashboard .topic-toggle {
        position: absolute;
        right: 6%;
        top: 40%;
        margin-left: 4px;
    }
}


/* Scroll Arrow Stilleri */
.success-dashboard .lessons-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-dashboard .scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    .success-dashboard .scroll-arrow:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }

    .success-dashboard .scroll-arrow:active {
        transform: translateY(-50%) scale(0.95);
    }

.success-dashboard .scroll-arrow-left {
    left: -24px;
}

.success-dashboard .scroll-arrow-right {
    right: -24px;
}

/* Responsive için okları içeride göster */
@media (max-width: 1400px) {
    .success-dashboard .scroll-arrow-left {
        left: 8px;
    }

    .success-dashboard .scroll-arrow-right {
        right: 8px;
    }
}

@media (max-width: 768px) {
    .success-dashboard .scroll-arrow {
        width: 40px;
        height: 40px;
    }

        .success-dashboard .scroll-arrow svg {
            width: 20px;
            height: 20px;
        }
}

/* --------------------------------------- */

/* ============================================
   EXAM ANALYZE - COMPLETE CSS
   ============================================ */

/* Ana Kart Yapısı */
.exam-analyze-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
    border: 1px solid var(--gray-light);
}

/* Card Header */
.exam-analyze-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-light);
}

.exam-analyze-card-date {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
    background: var(--gray-light);
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
}

.exam-analyze-card-category-badge {
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.badge-ktt {
    background: var(--warning);
    color: #856404;
}

.badge-tyt {
    background: var(--blue-soft);
    color: var(--blue);
}

.badge-ayt {
    background: #f3e8ff;
    color: var(--secondary);
}

.exam-analyze-card-title {
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
    flex: 1;
}

.exam-analyze-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    box-shadow: 0 2px 4px rgba(55, 96, 158, 0.3);
    transition: all 0.2s ease;
}


/* Card Body */
.exam-analyze-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Üst İstatistikler */
.exam-analyze-card-stats {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.exam-analyze-card-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.exam-analyze-card-stat-header {
    display: flex;
    align-items: center;
    gap: 4px;
}

.exam-analyze-card-stat-icon {
    font-size: 14px;
}

.exam-analyze-card-stat-label {
    font-size: 11px;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.exam-analyze-card-stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
}

.exam-analyze-card-stat-item.correct .exam-analyze-card-stat-value {
    color: #2e7d32;
}

.exam-analyze-card-stat-item.wrong .exam-analyze-card-stat-value {
    color: #d32f2f;
}

.exam-analyze-card-stat-item.empty .exam-analyze-card-stat-value {
    color: #f57c00;
}

.exam-analyze-card-stat-item.primary .exam-analyze-card-stat-value {
    color: var(--primary);
}

/* ============================================
   DERSLER BÖLÜMÜ - SCROLL ÖZELLİKLİ
   ============================================ */

.exam-analyze-lessons-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

/* Scroll Okları */
.exam-analyze-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    .exam-analyze-scroll-arrow:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }

    .exam-analyze-scroll-arrow:active {
        transform: translateY(-50%) scale(0.95);
    }

.exam-analyze-scroll-arrow-left {
    left: -12px;
}

.exam-analyze-scroll-arrow-right {
    right: -12px;
}

/* Scroll Container */
.exam-analyze-lessons-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding: 0;
}

    .exam-analyze-lessons-scroll-container::-webkit-scrollbar {
        display: none;
    }

    .exam-analyze-lessons-scroll-container.dragging {
        scroll-behavior: auto;
        cursor: grabbing;
        user-select: none;
    }

    .exam-analyze-lessons-scroll-container:not(.dragging) {
        cursor: grab;
    }

/* Ders Kartları Grid */
.exam-analyze-lessons-grid {
    display: flex;
    gap: 20px;
    width: fit-content;
}

/* Ders Kartı */
.exam-analyze-lesson-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid transparent;
    flex-shrink: 0;
    width: 340px;
}

    .exam-analyze-lesson-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        border-color: var(--primary);
    }

/* Mobil için center snap */
@media (max-width: 768px) {
    .exam-analyze-lessons-scroll-container {
        scroll-snap-type: x mandatory;
        padding: 8px 7.5vw;
    }

    .exam-analyze-lessons-grid {
        gap: 5vw;
    }

    .exam-analyze-lesson-card {
        scroll-snap-align: center;
        width: 85vw;
    }

        .exam-analyze-lesson-card:first-child {
            margin-left: 7.5vw;
        }

        .exam-analyze-lesson-card:last-child {
            margin-right: 7.5vw;
        }
}

/* Ders Kartı Header */
.exam-analyze-lesson-card-header {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: -24px -24px 10px -24px;
    padding: 6px 16px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exam-analyze-lesson-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--light);
    margin: 0;
}

/* Ders Grafiği */
.exam-analyze-lesson-chart {
    width: 100%;
    height: 150px;
    margin: 10px 0;
}

/* Ders İstatistikleri */
.exam-analyze-lesson-stats-grid {
    display: grid;
    gap: 10px;
}

.exam-analyze-lesson-stat {
    text-align: center;
    padding: 2px 6px;
    border-radius: 12px;
    transition: all 0.2s;
}

    .exam-analyze-lesson-stat:hover {
        border-color: var(--primary);
        transform: translateY(-1px);
    }

.exam-analyze-lesson-stat-label {
    font-size: 10px;
    color: var(--gray);
    margin-bottom: 0px;
    font-weight: 700;
    text-transform: uppercase;
}

.exam-analyze-lesson-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

    .exam-analyze-lesson-stat-value.success {
        color: var(--bs-success);
    }

    .exam-analyze-lesson-stat-value.danger {
        color: var(--bs-danger);
    }

    .exam-analyze-lesson-stat-value.warning {
        color: var(--gray);
    }

    .exam-analyze-lesson-stat-value.primary {
        color: var(--primary);
    }

    .exam-analyze-lesson-stat-value.empty {
        color: #f57c00;
    }

    .exam-analyze-lesson-stat-value.secondary {
        color: var(--secondary);
    }

/* ============================================
   CEVAP ANAHTARI VE KONU ANALİZİ - SCROLL YOK
   ============================================ */

.exam-analyze-content-section {
    margin-bottom: 20px;
}

.exam-analyze-content-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.exam-analyze-content-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 0; /* ← padding: 24px yerine 0 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid transparent;
    height: 100%; /* ← Yeni eklendi */
    display: flex; /* ← Yeni eklendi */
    flex-direction: column; /* ← Yeni eklendi */
    overflow: hidden; /* ← Yeni eklendi */
}

    .exam-analyze-content-card:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        border-color: var(--primary);
    }

.exam-analyze-content-card-header {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 0px 0px 0 0;
    padding: 6px 16px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.exam-analyze-content-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.exam-analyze-content-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--light);
    margin: 0;
}

.exam-analyze-content-chart {
    width: 100%;
    padding: 12px;
    overflow-x: auto;
    white-space: nowrap;
}

/* ============================================
   KONU ANALİZİ ACCORDION
   ============================================ */

.exam-analyze-topics-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px;
}

.exam-analyze-topic-main {
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

    .exam-analyze-topic-main.open {
        border-color: var(--primary);
    }

.exam-analyze-topic-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--body-bg);
    cursor: pointer;
    transition: all 0.2s;
}

    .exam-analyze-topic-main-header:hover {
        background: var(--gray-light);
    }

.exam-analyze-topic-main.open .exam-analyze-topic-main-header {
    background: var(--primary-light);
}

.exam-analyze-topic-main-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.exam-analyze-topic-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.exam-analyze-topic-main-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.exam-analyze-topic-stat {
    text-align: center;
}


.exam-analyze-topic-stat-value {
    font-size: 18px;
    font-weight: 700;
}

.exam-analyze-topic-main.low .exam-analyze-topic-stat-value {
    color: var(--bs-danger);
}

.exam-analyze-topic-main.medium .exam-analyze-topic-stat-value {
    color: var(--bs-warning);
}

.exam-analyze-topic-main.high .exam-analyze-topic-stat-value {
    color: var(--bs-success);
}

.exam-analyze-topic-stat-label {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
}

.exam-analyze-topic-toggle {
    font-size: 20px;
    color: var(--gray);
    transition: transform 0.3s;
    margin-left: 8px;
}

.exam-analyze-topic-main.open .exam-analyze-topic-toggle {
    transform: rotate(180deg);
}

.exam-analyze-topic-sub-items {
    display: none;
    padding: 12px;
    background: white;
}

.exam-analyze-topic-main.open .exam-analyze-topic-sub-items {
    display: block;
}

.exam-analyze-topic-sub-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: var(--body-bg);
    border-radius: 8px;
    transition: all 0.2s;
}

    .exam-analyze-topic-sub-item:hover {
        background: var(--gray-light);
        transform: translateX(4px);
    }

    .exam-analyze-topic-sub-item.low {
        border-left-color: var(--bs-danger);
    }

    .exam-analyze-topic-sub-item.medium {
        border-left-color: var(--bs-warning);
    }

    .exam-analyze-topic-sub-item.high {
        border-left-color: var(--bs-success);
    }

.exam-analyze-topic-sub-name {
    font-size: 14px;
    color: var(--dark);
    flex: 1;
    font-weight: 600;
}

.exam-analyze-topic-sub-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.exam-analyze-topic-sub-stat {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
}

.exam-analyze-topic-trend {
    font-size: 18px;
    -webkit-text-stroke-width: medium;
    position: absolute;
    right: -20px;
}

    .exam-analyze-topic-trend.up {
        color: var(--bs-success);
    }

    .exam-analyze-topic-trend.down {
        color: var(--bs-danger);
    }

    .exam-analyze-topic-trend.straight {
        color: var(--bs-orange);
    }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1400px) {
    .exam-analyze-scroll-arrow-left {
        left: 8px;
    }

    .exam-analyze-scroll-arrow-right {
        right: 8px;
    }
}

@media (max-width: 768px) {
    .exam-analyze-card {
        padding: 12px;
        box-shadow: unset;
        border: unset;
    }

    .exam-analyze-card-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .exam-analyze-card-title {
        flex-basis: 100%;
        /* veya width: 100%; */
        font-size: 16px;
    }

    .exam-analyze-card-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }


    .exam-analyze-scroll-arrow {
        width: 40px;
        height: 40px;
    }

        .exam-analyze-scroll-arrow svg {
            width: 20px;
            height: 20px;
        }

    .exam-analyze-lesson-card {
        min-width: 290px;
        max-width: 240px;
    }

    .exam-analyze-lesson-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .exam-analyze-card-stat-value {
        font-size: 18px;
    }

    .exam-analyze-content-grid {
        flex-direction: column;
    }

    .exam-analyze-content-card {
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .exam-analyze-topic-main-stats {
        flex-direction: row;
        gap: 4px;
        align-items: flex-end;
        text-align: left;
        width: 100%;
    }

    .exam-analyze-topic-sub-item {
        flex-direction: column;
        padding: 4px 8px;
        gap: 4px;
        align-items: unset;
    }

    .exam-analyze-topic-sub-stat {
        font-size: 12px;
    }

    .exam-analyze-topic-sub-stats {
        display: flex;
        gap: 4px;
        align-items: center;
        margin-right: 0;
    }

    .exam-analyze-topic-trend {
        right: 0;
    }

    .exam-analyze-topic-sub-name {
        text-align: left;
        width: 100%;
        overflow-x: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


    .exam-analyze-topic-main-header {
        flex-direction: column;
        position: relative;
    }

    .exam-analyze-topic-main-info {
        text-align: left;
        width: 100%;
    }

    .exam-analyze-topic-toggle {
        position: absolute;
        right: 12px;
        top: 40%;
    }
}

@media(max-width:768px) {
    .exam-analyze-topic-stat-value {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .exam-analyze-card-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.25rem;
    }
}

.align-items-start {
    align-items: flex-start !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.align-items-baseline {
    align-items: baseline !important;
}

.align-items-stretch {
    align-items: stretch !important;
}

@media (min-width: 576px) {
    .align-items-sm-start {
        align-items: flex-start !important;
    }

    .align-items-sm-center {
        align-items: center !important;
    }

    .align-items-sm-end {
        align-items: flex-end !important;
    }

    .align-items-sm-baseline {
        align-items: baseline !important;
    }

    .align-items-sm-stretch {
        align-items: stretch !important;
    }
}

@media (min-width: 768px) {
    .align-items-md-start {
        align-items: flex-start !important;
    }

    .align-items-md-center {
        align-items: center !important;
    }

    .align-items-md-end {
        align-items: flex-end !important;
    }

    .align-items-md-baseline {
        align-items: baseline !important;
    }

    .align-items-md-stretch {
        align-items: stretch !important;
    }
}

@media (min-width: 992px) {
    .align-items-lg-start {
        align-items: flex-start !important;
    }

    .align-items-lg-center {
        align-items: center !important;
    }

    .align-items-lg-end {
        align-items: flex-end !important;
    }

    .align-items-lg-baseline {
        align-items: baseline !important;
    }

    .align-items-lg-stretch {
        align-items: stretch !important;
    }
}

@media (min-width: 1200px) {
    .align-items-xl-start {
        align-items: flex-start !important;
    }

    .align-items-xl-center {
        align-items: center !important;
    }

    .align-items-xl-end {
        align-items: flex-end !important;
    }

    .align-items-xl-baseline {
        align-items: baseline !important;
    }

    .align-items-xl-stretch {
        align-items: stretch !important;
    }
}

@media (min-width: 1400px) {
    .align-items-xxl-start {
        align-items: flex-start !important;
    }

    .align-items-xxl-center {
        align-items: center !important;
    }

    .align-items-xxl-end {
        align-items: flex-end !important;
    }

    .align-items-xxl-baseline {
        align-items: baseline !important;
    }

    .align-items-xxl-stretch {
        align-items: stretch !important;
    }
}


/* Justify Content*/

.justify-content-start {
    justify-content: flex-start !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-around {
    justify-content: space-around !important;
}

.justify-content-evenly {
    justify-content: space-evenly !important;
}

@media (min-width: 576px) {
    .justify-content-sm-start {
        justify-content: flex-start !important;
    }

    .justify-content-sm-center {
        justify-content: center !important;
    }

    .justify-content-sm-end {
        justify-content: flex-end !important;
    }

    .justify-content-sm-between {
        justify-content: space-between !important;
    }

    .justify-content-sm-around {
        justify-content: space-around !important;
    }

    .justify-content-sm-evenly {
        justify-content: space-evenly !important;
    }
}

@media (min-width: 768px) {
    .justify-content-md-start {
        justify-content: flex-start !important;
    }

    .justify-content-md-center {
        justify-content: center !important;
    }

    .justify-content-md-end {
        justify-content: flex-end !important;
    }

    .justify-content-md-between {
        justify-content: space-between !important;
    }

    .justify-content-md-around {
        justify-content: space-around !important;
    }

    .justify-content-md-evenly {
        justify-content: space-evenly !important;
    }
}

@media (min-width: 992px) {
    .justify-content-lg-start {
        justify-content: flex-start !important;
    }

    .justify-content-lg-center {
        justify-content: center !important;
    }

    .justify-content-lg-end {
        justify-content: flex-end !important;
    }

    .justify-content-lg-between {
        justify-content: space-between !important;
    }

    .justify-content-lg-around {
        justify-content: space-around !important;
    }

    .justify-content-lg-evenly {
        justify-content: space-evenly !important;
    }
}

@media (min-width: 1200px) {
    .justify-content-xl-start {
        justify-content: flex-start !important;
    }

    .justify-content-xl-center {
        justify-content: center !important;
    }

    .justify-content-xl-end {
        justify-content: flex-end !important;
    }

    .justify-content-xl-between {
        justify-content: space-between !important;
    }

    .justify-content-xl-around {
        justify-content: space-around !important;
    }

    .justify-content-xl-evenly {
        justify-content: space-evenly !important;
    }
}

@media (min-width: 1400px) {
    .justify-content-xxl-start {
        justify-content: flex-start !important;
    }

    .justify-content-xxl-center {
        justify-content: center !important;
    }

    .justify-content-xxl-end {
        justify-content: flex-end !important;
    }

    .justify-content-xxl-between {
        justify-content: space-between !important;
    }

    .justify-content-xxl-around {
        justify-content: space-around !important;
    }

    .justify-content-xxl-evenly {
        justify-content: space-evenly !important;
    }
}

/* Flex Row - Column */


.flex-row {
    flex-direction: row !important;
}

.flex-row-reverse {
    flex-direction: row-reverse !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-column-reverse {
    flex-direction: column-reverse !important;
}

/* SM - Small */
@media (min-width: 576px) {
    .flex-sm-row {
        flex-direction: row !important;
    }

    .flex-sm-row-reverse {
        flex-direction: row-reverse !important;
    }

    .flex-sm-column {
        flex-direction: column !important;
    }

    .flex-sm-column-reverse {
        flex-direction: column-reverse !important;
    }
}

/* MD - Medium */
@media (min-width: 768px) {
    .flex-md-row {
        flex-direction: row !important;
    }

    .flex-md-row-reverse {
        flex-direction: row-reverse !important;
    }

    .flex-md-column {
        flex-direction: column !important;
    }

    .flex-md-column-reverse {
        flex-direction: column-reverse !important;
    }
}

/* LG - Large */
@media (min-width: 992px) {
    .flex-lg-row {
        flex-direction: row !important;
    }

    .flex-lg-row-reverse {
        flex-direction: row-reverse !important;
    }

    .flex-lg-column {
        flex-direction: column !important;
    }

    .flex-lg-column-reverse {
        flex-direction: column-reverse !important;
    }
}

/* XL - Extra Large */
@media (min-width: 1200px) {
    .flex-xl-row {
        flex-direction: row !important;
    }

    .flex-xl-row-reverse {
        flex-direction: row-reverse !important;
    }

    .flex-xl-column {
        flex-direction: column !important;
    }

    .flex-xl-column-reverse {
        flex-direction: column-reverse !important;
    }
}

/* XXL - Extra Extra Large */
@media (min-width: 1400px) {
    .flex-xxl-row {
        flex-direction: row !important;
    }

    .flex-xxl-row-reverse {
        flex-direction: row-reverse !important;
    }

    .flex-xxl-column {
        flex-direction: column !important;
    }

    .flex-xxl-column-reverse {
        flex-direction: column-reverse !important;
    }
}


/* Row Cols */


.row-cols-1 > * {
    flex: 0 0 auto;
    width: 100%;
}

.row-cols-2 > * {
    flex: 0 0 auto;
    width: 50%;
}

.row-cols-3 > * {
    flex: 0 0 auto;
    width: 33.3333%;
}

.row-cols-4 > * {
    flex: 0 0 auto;
    width: 25%;
}

.row-cols-5 > * {
    flex: 0 0 auto;
    width: 20%;
}

.row-cols-6 > * {
    flex: 0 0 auto;
    width: 16.6667%;
}


@media (min-width: 576px) {
    .row-cols-sm-1 > * {
        flex: 0 0 auto;
        width: 100%;
    }

    .row-cols-sm-2 > * {
        flex: 0 0 auto;
        width: 50%;
    }

    .row-cols-sm-3 > * {
        flex: 0 0 auto;
        width: 33.3333%;
    }

    .row-cols-sm-4 > * {
        flex: 0 0 auto;
        width: 25%;
    }

    .row-cols-sm-5 > * {
        flex: 0 0 auto;
        width: 20%;
    }

    .row-cols-sm-6 > * {
        flex: 0 0 auto;
        width: 16.6667%;
    }
}

@media (min-width: 768px) {
    .row-cols-md-1 > * {
        flex: 0 0 auto;
        width: 100%;
    }

    .row-cols-md-2 > * {
        flex: 0 0 auto;
        width: 50%;
    }

    .row-cols-md-3 > * {
        flex: 0 0 auto;
        width: 33.3333%;
    }

    .row-cols-md-4 > * {
        flex: 0 0 auto;
        width: 25%;
    }

    .row-cols-md-5 > * {
        flex: 0 0 auto;
        width: 20%;
    }

    .row-cols-md-6 > * {
        flex: 0 0 auto;
        width: 16.6667%;
    }
}

@media (min-width: 992px) {
    .row-cols-lg-1 > * {
        flex: 0 0 auto;
        width: 100%;
    }

    .row-cols-lg-2 > * {
        flex: 0 0 auto;
        width: 50%;
    }

    .row-cols-lg-3 > * {
        flex: 0 0 auto;
        width: 33.3333%;
    }

    .row-cols-lg-4 > * {
        flex: 0 0 auto;
        width: 25%;
    }

    .row-cols-lg-5 > * {
        flex: 0 0 auto;
        width: 20%;
    }

    .row-cols-lg-6 > * {
        flex: 0 0 auto;
        width: 16.6667%;
    }
}

@media (min-width: 1200px) {
    .row-cols-xl-1 > * {
        flex: 0 0 auto;
        width: 100%;
    }

    .row-cols-xl-2 > * {
        flex: 0 0 auto;
        width: 50%;
    }

    .row-cols-xl-3 > * {
        flex: 0 0 auto;
        width: 33.3333%;
    }

    .row-cols-xl-4 > * {
        flex: 0 0 auto;
        width: 25%;
    }

    .row-cols-xl-5 > * {
        flex: 0 0 auto;
        width: 20%;
    }

    .row-cols-xl-6 > * {
        flex: 0 0 auto;
        width: 16.6667%;
    }
}

@media (min-width: 1400px) {
    .row-cols-xxl-1 > * {
        flex: 0 0 auto;
        width: 100%;
    }

    .row-cols-xxl-2 > * {
        flex: 0 0 auto;
        width: 50%;
    }

    .row-cols-xxl-3 > * {
        flex: 0 0 auto;
        width: 33.3333%;
    }

    .row-cols-xxl-4 > * {
        flex: 0 0 auto;
        width: 25%;
    }

    .row-cols-xxl-5 > * {
        flex: 0 0 auto;
        width: 20%;
    }

    .row-cols-xxl-6 > * {
        flex: 0 0 auto;
        width: 16.6667%;
    }
}



/* COL sütun ayarları */


.col {
    flex: 1 0 0%;
}

/* XS */


.col-1 {
    flex: 0 0 6.25%;
    max-width: 6.25%;
}

.col-2 {
    flex: 0 0 12.5%;
    max-width: 12.5%;
}

.col-3 {
    flex: 0 0 18.75%;
    max-width: 18.75%;
}

.col-4 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-5 {
    flex: 0 0 31.25%;
    max-width: 31.25%;
}

.col-6 {
    flex: 0 0 37.5%;
    max-width: 37.5%;
}

.col-7 {
    flex: 0 0 43.75%;
    max-width: 43.75%;
}

.col-8 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-9 {
    flex: 0 0 56.25%;
    max-width: 56.25%;
}

.col-10 {
    flex: 0 0 62.5%;
    max-width: 62.5%;
}

.col-11 {
    flex: 0 0 68.75%;
    max-width: 68.75%;
}

.col-12 {
    flex: 0 0 75%;
    max-width: 75%;
}

.col-13 {
    flex: 0 0 81.25%;
    max-width: 81.25%;
}

.col-14 {
    flex: 0 0 87.5%;
    max-width: 87.5%;
}

.col-15 {
    flex: 0 0 93.75%;
    max-width: 93.75%;
}

.col-16 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 576px) {
    .col-sm-1 {
        flex: 0 0 calc(6.25%);
        max-width: calc(6.25%);
    }

    .col-sm-2 {
        flex: 0 0 calc(12.5%);
        max-width: calc(12.5%);
    }

    .col-sm-3 {
        flex: 0 0 calc(18.75%);
        max-width: calc(18.75%);
    }

    .col-sm-4 {
        flex: 0 0 calc(25%);
        max-width: calc(25%);
    }

    .col-sm-5 {
        flex: 0 0 calc(31.25%);
        max-width: calc(31.25%);
    }

    .col-sm-6 {
        flex: 0 0 calc(37.5%);
        max-width: calc(37.5%);
    }

    .col-sm-7 {
        flex: 0 0 calc(43.75%);
        max-width: calc(43.75%);
    }

    .col-sm-8 {
        flex: 0 0 calc(50%);
        max-width: calc(50%);
    }

    .col-sm-9 {
        flex: 0 0 calc(56.25%);
        max-width: calc(56.25%);
    }

    .col-sm-10 {
        flex: 0 0 calc(62.5%);
        max-width: calc(62.5%);
    }

    .col-sm-11 {
        flex: 0 0 calc(68.75%);
        max-width: calc(68.75%);
    }

    .col-sm-12 {
        flex: 0 0 calc(75%);
        max-width: calc(75%);
    }

    .col-sm-13 {
        flex: 0 0 calc(81.25%);
        max-width: calc(81.25%);
    }

    .col-sm-14 {
        flex: 0 0 calc(87.5%);
        max-width: calc(87.5%);
    }

    .col-sm-15 {
        flex: 0 0 calc(93.75%);
        max-width: calc(93.75%);
    }

    .col-sm-16 {
        flex: 0 0 calc(100%);
        max-width: calc(100%);
    }
}

@media (min-width: 768px) {
    .col-md-1 {
        flex: 0 0 calc(6.25%);
        max-width: calc(6.25%);
    }

    .col-md-2 {
        flex: 0 0 calc(12.5%);
        max-width: calc(12.5%);
    }

    .col-md-3 {
        flex: 0 0 calc(18.75%);
        max-width: calc(18.75%);
    }

    .col-md-4 {
        flex: 0 0 calc(25%);
        max-width: calc(25%);
    }

    .col-md-5 {
        flex: 0 0 calc(31.25%);
        max-width: calc(31.25%);
    }

    .col-md-6 {
        flex: 0 0 calc(37.5%);
        max-width: calc(37.5%);
    }

    .col-md-7 {
        flex: 0 0 calc(43.75%);
        max-width: calc(43.75%);
    }

    .col-md-8 {
        flex: 0 0 calc(50%);
        max-width: calc(50%);
    }

    .col-md-9 {
        flex: 0 0 calc(56.25%);
        max-width: calc(56.25%);
    }

    .col-md-10 {
        flex: 0 0 calc(62.5%);
        max-width: calc(62.5%);
    }

    .col-md-11 {
        flex: 0 0 calc(68.75%);
        max-width: calc(68.75%);
    }

    .col-md-12 {
        flex: 0 0 calc(75%);
        max-width: calc(75%);
    }

    .col-md-13 {
        flex: 0 0 calc(81.25%);
        max-width: calc(81.25%);
    }

    .col-md-14 {
        flex: 0 0 calc(87.5%);
        max-width: calc(87.5%);
    }

    .col-md-15 {
        flex: 0 0 calc(93.75%);
        max-width: calc(93.75%);
    }

    .col-md-16 {
        flex: 0 0 calc(100%);
        max-width: calc(100%);
    }
}

@media (min-width: 992px) {
    .col-lg-1 {
        flex: 0 0 calc(6.25%);
        max-width: calc(6.25%);
    }

    .col-lg-2 {
        flex: 0 0 calc(12.5%);
        max-width: calc(12.5%);
    }

    .col-lg-3 {
        flex: 0 0 calc(18.75%);
        max-width: calc(18.75%);
    }

    .col-lg-4 {
        flex: 0 0 calc(25%);
        max-width: calc(25%);
    }

    .col-lg-5 {
        flex: 0 0 calc(31.25%);
        max-width: calc(31.25%);
    }

    .col-lg-6 {
        flex: 0 0 calc(37.5%);
        max-width: calc(37.5%);
    }

    .col-lg-7 {
        flex: 0 0 calc(43.75%);
        max-width: calc(43.75%);
    }

    .col-lg-8 {
        flex: 0 0 calc(50%);
        max-width: calc(50%);
    }

    .col-lg-9 {
        flex: 0 0 calc(56.25%);
        max-width: calc(56.25%);
    }

    .col-lg-10 {
        flex: 0 0 calc(62.5%);
        max-width: calc(62.5%);
    }

    .col-lg-11 {
        flex: 0 0 calc(68.75%);
        max-width: calc(68.75%);
    }

    .col-lg-12 {
        flex: 0 0 calc(75%);
        max-width: calc(75%);
    }

    .col-lg-13 {
        flex: 0 0 calc(81.25%);
        max-width: calc(81.25%);
    }

    .col-lg-14 {
        flex: 0 0 calc(87.5%);
        max-width: calc(87.5%);
    }

    .col-lg-15 {
        flex: 0 0 calc(93.75%);
        max-width: calc(93.75%);
    }

    .col-lg-16 {
        flex: 0 0 calc(100%);
        max-width: calc(100%);
    }
}

@media (min-width: 1200px) {
    .col-xl-1 {
        flex: 0 0 calc(6.25%);
        max-width: calc(6.25%);
    }

    .col-xl-2 {
        flex: 0 0 calc(12.5%);
        max-width: calc(12.5%);
    }

    .col-xl-3 {
        flex: 0 0 calc(18.75%);
        max-width: calc(18.75%);
    }

    .col-xl-4 {
        flex: 0 0 calc(25%);
        max-width: calc(25%);
    }

    .col-xl-5 {
        flex: 0 0 calc(31.25%);
        max-width: calc(31.25%);
    }

    .col-xl-6 {
        flex: 0 0 calc(37.5%);
        max-width: calc(37.5%);
    }

    .col-xl-7 {
        flex: 0 0 calc(43.75%);
        max-width: calc(43.75%);
    }

    .col-xl-8 {
        flex: 0 0 calc(50%);
        max-width: calc(50%);
    }

    .col-xl-9 {
        flex: 0 0 calc(56.25%);
        max-width: calc(56.25%);
    }

    .col-xl-10 {
        flex: 0 0 calc(62.5%);
        max-width: calc(62.5%);
    }

    .col-xl-11 {
        flex: 0 0 calc(68.75%);
        max-width: calc(68.75%);
    }

    .col-xl-12 {
        flex: 0 0 calc(75%);
        max-width: calc(75%);
    }

    .col-xl-13 {
        flex: 0 0 calc(81.25%);
        max-width: calc(81.25%);
    }

    .col-xl-14 {
        flex: 0 0 calc(87.5%);
        max-width: calc(87.5%);
    }

    .col-xl-15 {
        flex: 0 0 calc(93.75%);
        max-width: calc(93.75%);
    }

    .col-xl-16 {
        flex: 0 0 calc(100%);
        max-width: calc(100%);
    }
}

@media (min-width: 1400px) {
    .col-xxl-1 {
        flex: 0 0 calc(6.25%);
        max-width: calc(6.25%);
    }

    .col-xxl-2 {
        flex: 0 0 calc(12.5%);
        max-width: calc(12.5%);
    }

    .col-xxl-3 {
        flex: 0 0 calc(18.75%);
        max-width: calc(18.75%);
    }

    .col-xxl-4 {
        flex: 0 0 calc(25%);
        max-width: calc(25%);
    }

    .col-xxl-5 {
        flex: 0 0 calc(31.25%);
        max-width: calc(31.25%);
    }

    .col-xxl-6 {
        flex: 0 0 calc(37.5%);
        max-width: calc(37.5%);
    }

    .col-xxl-7 {
        flex: 0 0 calc(43.75%);
        max-width: calc(43.75%);
    }

    .col-xxl-8 {
        flex: 0 0 calc(50%);
        max-width: calc(50%);
    }

    .col-xxl-9 {
        flex: 0 0 calc(56.25%);
        max-width: calc(56.25%);
    }

    .col-xxl-10 {
        flex: 0 0 calc(62.5%);
        max-width: calc(62.5%);
    }

    .col-xxl-11 {
        flex: 0 0 calc(68.75%);
        max-width: calc(68.75%);
    }

    .col-xxl-12 {
        flex: 0 0 calc(75%);
        max-width: calc(75%);
    }

    .col-xxl-13 {
        flex: 0 0 calc(81.25%);
        max-width: calc(81.25%);
    }

    .col-xxl-14 {
        flex: 0 0 calc(87.5%);
        max-width: calc(87.5%);
    }

    .col-xxl-15 {
        flex: 0 0 calc(93.75%);
        max-width: calc(93.75%);
    }

    .col-xxl-16 {
        flex: 0 0 calc(100%);
        max-width: calc(100%);
    }
}
