﻿.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color: #001128 !important;
    --bs-pagination-bg: #fff;
    --bs-pagination-border-width: 1px;
    --bs-pagination-border-color: #dee2e6;
    --bs-pagination-border-radius: 0.375rem;
    --bs-pagination-hover-color: #060606 !important;
    --bs-pagination-hover-bg: #e9ecef;
    --bs-pagination-hover-border-color: #dee2e6;
    --bs-pagination-focus-color: #000000 !important;
    --bs-pagination-focus-bg: #e9ecef;
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #3064b2 !important;
    --bs-pagination-active-border-color: #0d6efd !important;
    --bs-pagination-disabled-color: #6c757d !important;
    --bs-pagination-disabled-bg: #fff;
    --bs-pagination-disabled-border-color: #dee2e6;
    display: flex;
    padding-left: 0;
    list-style: none;
}

.main-layout {
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding: 0 0 120px 0;
    margin: 0;
}

.data-table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin: 2rem auto 3rem auto;
    max-width: 95%;
    width: 100%;
}

.table-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.table-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.table-title {
    flex: 1;
}

    .table-title h4 {
        margin-bottom: 0.5rem;
        color: #1e293b;
        font-weight: 600;
        font-size: 1.2rem;
    }

    .table-title p {
        color: #64748b;
        margin-bottom: 0;
        font-size: 0.9rem;
    }

.table-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-start;
}

.filter-btn {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

    .filter-btn:hover {
        background: #eff6ff;
        border-color: #2563eb;
        color: #2563eb;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
    }

    .filter-btn.active {
        background: #2563eb;
        border-color: #2563eb;
        color: white;
    }

    .filter-btn i {
        font-size: 0.7rem;
    }

.table-responsive {
    padding: 0;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

table.dataTable {
    border: none !important;
    font-size: 0.7rem !important;
    width: 100% !important;
    margin: 0 !important;
    table-layout: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

    table.dataTable thead th {
        background: #f3f4f6 !important;
        border: 1px solid #0000004d !important;
        color: #1e293b !important;
        font-weight: bold !important;
        font-size: 0.7rem !important;
        text-align: center !important;
        padding: 0.6rem 0.5rem !important;
        letter-spacing: 0.2px !important;
        white-space: nowrap !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
    }

        table.dataTable thead th:last-child {
            border-right: none !important;
        }

        table.dataTable thead th:first-child {
            border-left: none !important;
        }

    table.dataTable tbody td {
        padding: 0.4rem 0.3rem !important;
        border-bottom: 1px solid #f1f5f9 !important;
        border-right: 1px solid #f1f5f9 !important;
        vertical-align: middle !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: center !important;
        font-size: 0.70rem !important;
    }

        table.dataTable tbody td:last-child {
            border-right: none !important;
        }

    table.dataTable tbody tr:hover {
        background-color: #f8fafc !important;
    }

    table.dataTable.no-footer {
        border-bottom: none !important;
    }

    table.dataTable thead .sorting,
    table.dataTable thead .sorting_asc,
    table.dataTable thead .sorting_desc {
        background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%) !important;
        color: #9a3412 !important;
    }

        table.dataTable thead .sorting:before,
        table.dataTable thead .sorting:after,
        table.dataTable thead .sorting_asc:before,
        table.dataTable thead .sorting_asc:after,
        table.dataTable thead .sorting_desc:before,
        table.dataTable thead .sorting_desc:after {
            color: #c2410c !important;
        }

#table {
    border: none;
    font-size: 0.7rem;
    width: 100%;
    margin: 0;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
}

    #table thead th {
        background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
        border: none;
        border-bottom: 2px solid #2563eb;
        border-right: 1px solid #dbeafe;
        padding: 0.5rem 0.4rem;
        font-weight: 600;
        color: #1e40af;
        font-size: 0.65rem;
        letter-spacing: 0.3px;
        white-space: nowrap;
        position: sticky;
        top: 0;
        z-index: 10;
        text-align: center;
        vertical-align: middle;
    }

        #table thead th:last-child {
            border-right: none;
        }

    #table tbody td {
        padding: 0.4rem 0.3rem;
        border-bottom: 1px solid #f1f5f9;
        border-right: 1px solid #f1f5f9;
        vertical-align: middle;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
        font-size: 0.65rem;
    }

        #table tbody td:last-child {
            border-right: none;
        }

    #table tbody tr:hover {
        background-color: #eff6ff;
    }

    #table th, #table td {
        width: auto;
        min-width: 60px;
        max-width: 200px;
    }

        #table th:nth-child(2), #table td:nth-child(2),
        #table th:nth-child(3), #table td:nth-child(3),
        #table th:nth-child(4), #table td:nth-child(4),
        #table th:nth-child(5), #table td:nth-child(5) {
            text-align: left;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 150px;
        }

table.dataTable tbody td:nth-child(1),
table.dataTable tbody td:nth-child(2),
table.dataTable tbody td:nth-child(3),
table.dataTable tbody td:nth-child(4),
table.dataTable tbody td:nth-child(5),
table.dataTable tbody td:nth-child(6),
table.dataTable tbody td:nth-child(7),
table.dataTable tbody td:nth-child(8),
table.dataTable tbody td:nth-child(9),
table.dataTable tbody td:nth-child(10),
table.dataTable tbody td:nth-child(11) {
    text-align: center !important;
}

.dataTables_wrapper {
    width: 100%;
    margin: 0;
    padding: 1rem 1rem 3rem 1rem;
    overflow: visible;
}

.dataTables_filter {
    float: right;
    text-align: right;
    margin-bottom: 1rem;
}

    .dataTables_filter label {
        font-weight: 500;
        color: #1e293b;
        margin-right: 0.5rem;
        font-size: 0.8rem;
    }

    .dataTables_filter input {
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        width: 180px;
        margin-left: 0.5rem;
    }

.dataTables_length {
    float: left;
    margin-bottom: 1rem;
}

    .dataTables_length label {
        font-weight: 500;
        color: #1e293b;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .dataTables_length select {
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 0.4rem;
        font-size: 0.8rem;
        margin: 0 0.5rem;
    }

.dataTables_info {
    float: left;
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
}

.dataTables_paginate {
    float: right;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

    .dataTables_paginate .paginate_button {
        padding: 0.3rem 0.6rem;
        margin: 0 0.1rem;
        border: 1px solid #e2e8f0;
        border-radius: 4px;
        background: white;
        color: #1e293b;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 0.75rem;
        font-weight: 500;
    }

        .dataTables_paginate .paginate_button:hover {
            background: #eff6ff;
            border-color: #2563eb;
            color: #2563eb;
        }

        .dataTables_paginate .paginate_button.current {
            background: #2563eb;
            color: white;
            border-color: #2563eb;
        }

        .dataTables_paginate .paginate_button.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

.dataTables_scroll {
    width: 100%;
    clear: both;
    overflow: visible;
}

.dataTables_scrollHead {
    overflow: hidden;
    position: relative;
    border: none;
    width: 100%;
}

.dataTables_scrollBody {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 60vh;
    width: 100%;
    border: none;
}

.dataTables_scrollHeadInner {
    width: 100% !important;
    border: none;
}

    .dataTables_scrollHeadInner table {
        margin: 0 !important;
        border: none;
    }

.dataTables_scrollBodyInner {
    width: 100% !important;
}

    .dataTables_scrollBodyInner table {
        border: none;
    }

.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    margin-top: -25px;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #dbeafe;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    color: #2563eb;
    font-size: 0.8rem;
}

@@media (max-width: 1200px) {
    .main-layout {
        padding-bottom: 100px;
    }

    .data-table-container {
        margin: 1rem auto 2.5rem auto;
        max-width: 98%;
    }

    .dataTables_wrapper {
        padding: 0.75rem;
    }

    .dataTables_filter input {
        width: 140px;
    }

    #table {
        font-size: 0.65rem;
    }

        #table thead th {
            padding: 0.4rem 0.3rem;
            font-size: 0.6rem;
        }

        #table tbody td {
            padding: 0.35rem 0.25rem;
            font-size: 0.6rem;
        }
}

@@media (max-width: 992px) {
    .main-layout {
        padding-bottom: 80px;
    }

    .data-table-container {
        margin: 1rem auto 2rem auto;
        max-width: 99%;
    }

    .dataTables_wrapper {
        padding: 0.5rem;
    }

    .dataTables_filter,
    .dataTables_length {
        float: none;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .dataTables_info,
    .dataTables_paginate {
        float: none;
        text-align: center;
        margin-top: 0.5rem;
    }

    .dataTables_filter input {
        width: 120px;
    }

    #table {
        font-size: 0.6rem;
    }

        #table thead th {
            padding: 0.3rem 0.2rem;
            font-size: 0.55rem;
        }

        #table tbody td {
            padding: 0.3rem 0.2rem;
            font-size: 0.55rem;
        }
}

@@media (max-width: 768px) {
    .main-layout {
        padding-bottom: 70px;
    }

    .data-table-container {
        margin: 0.5rem auto 1.5rem auto;
        max-width: 99%;
        border-radius: 4px;
    }

    .table-header {
        padding: 0.75rem 1rem;
    }

        .table-header h4 {
            font-size: 1rem;
        }

        .table-header p {
            font-size: 0.8rem;
        }



    #table {
        font-size: 0.55rem;
    }

        #table thead th {
            padding: 0.25rem 0.15rem;
            font-size: 0.5rem;
        }

        #table tbody td {
            padding: 0.25rem 0.15rem;
            font-size: 0.5rem;
        }
}

@@media (max-width: 768px) {
    .filter-sidebar {
        width: 100%;
        right: 0;
        border-radius: 0;
    }

    .filter-search {
        font-size: 16px;
    }

    .filter-option {
        padding: 1rem 0.75rem;
    }

    .filter-option-text {
        font-size: 0.95rem;
    }

    .filter-actions {
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 2px solid #e2e8f0;
        margin: 0 -0.5rem -0.5rem -0.5rem;
        padding: 1rem;
    }

    .filter-action-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .table-filters {
        gap: 0.25rem;
    }

    .filter-btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .filter-toggle-btn {
        bottom: 20px;
        right: 20px;
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
}

@@media (max-width: 480px) {
    .table-header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .table-filters {
        justify-content: flex-start;
    }

    .active-filter-item span {
        font-size: 0.8rem;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.btn-add-preference {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

    .btn-add-preference:hover {
        background: linear-gradient(135deg, #5db698 0%, rgb(53, 173, 135) 100%);
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
    }

.btn-remove-preference {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

    .btn-remove-preference:hover {
        background: linear-gradient(135deg, #e27a42 0%, #b8422e 100%);
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
    }

.btn-view-conditions {
    background: #53565a;
    color: #ffde01;
    border: none;
    padding: 0.2rem 0.4rem;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
}

    .btn-view-conditions:hover {
        background: #01004ea8;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
    }

.btn-view-details {
    background: linear-gradient(135deg, #3b82f6 0%, #6389f5 100%);
    color: white;
    border: none;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

    .btn-view-details:hover {
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
    }

.quota-container, .rank-container {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    min-width: 80px;
    max-width: 100px;
    width: 100%;
}

.year-badges {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    width: 100%;
}

.badge-year-current {
    background: #00a1aa;
    color: white;
    padding: 0.15rem 0.3rem;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    border: none;
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.2);
}

.badge-year-prev1 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.15rem 0.3rem;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    border: none;
    box-shadow: 0 1px 2px rgba(245, 158, 11, 0.2);
}

.badge-year-prev2 {
    background: #93328e;
    color: white;
    padding: 0.15rem 0.3rem;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    border: none;
    box-shadow: 0 1px 2px rgba(239, 68, 68, 0.2);
}

.badge-year-prev3 {
    background: #6c757d;
    color: white;
    padding: 0.15rem 0.3rem;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    border: none;
    box-shadow: 0 1px 2px rgba(239, 68, 68, 0.2);
}

/* ===== YENİ RANKING BADGE ===== */
.badge-new-ranking {
    background: linear-gradient(
        45deg,
        #ffecd2 0%,
        #fcb69f 20%,
        #a8edea 40%,
        #fed6e3 60%,
        #d299c2 80%,
        #ffecd2 100%
    );
    background-size: 300% 300%;
    color: #2d3748;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 800;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.rainbow-pulse {
    animation: rainbowPulse 3s ease-in-out infinite;
}

@keyframes rainbowPulse {
    0% {
        background-position: 0% 50%;
        transform: scale(1);
        box-shadow: 
            0 3px 10px rgba(255, 236, 210, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }
    20% {
        background-position: 20% 50%;
        transform: scale(1.05);
        box-shadow: 
            0 4px 12px rgba(252, 182, 159, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }
    40% {
        background-position: 40% 50%;
        transform: scale(1.08);
        box-shadow: 
            0 5px 15px rgba(168, 237, 234, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    60% {
        background-position: 60% 50%;
        transform: scale(1.05);
        box-shadow: 
            0 4px 12px rgba(254, 214, 227, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }
    80% {
        background-position: 80% 50%;
        transform: scale(1.02);
        box-shadow: 
            0 3px 10px rgba(210, 153, 194, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }
    100% {
        background-position: 100% 50%;
        transform: scale(1);
        box-shadow: 
            0 3px 10px rgba(255, 236, 210, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }
}

.year-label {
    font-size: 0.50rem;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 0.02rem;
    text-align: center;
}

.filter-sidebar {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .filter-sidebar.open {
        left: 0;
    }

.filter-sidebar-header {
    background: linear-gradient(135deg, #77a6ff 0%, #224288 100%);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dbeafe;
}

    .filter-sidebar-header h5 {
        margin: 0;
        font-weight: 600;
        display: flex;
        align-items: center;
    }

.filter-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

    .filter-close-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.filter-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.active-filters {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

    .active-filters h6 {
        margin-bottom: 1rem;
        color: #1e293b;
        font-weight: 600;
        font-size: 0.9rem;
    }

.active-filters-list {
    margin-bottom: 1rem;
}

.no-filters {
    color: #64748b;
    font-style: italic;
    font-size: 0.85rem;
    margin: 0;
}

.active-filter-item {
    display: inline-flex;
    align-items: center;
    background: #fed7aa;
    color: #9a3412;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.2rem 0.2rem 0.2rem 0;
    gap: 0.3rem;
}

.active-filter-remove {
    background: none;
    border: none;
    color: #9a3412;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

    .active-filter-remove:hover {
        background: #9a3412;
        color: white;
    }

.btn-clear-all-filters {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

    .btn-clear-all-filters:hover {
        background: #dc2626;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }

.filter-content {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

.filter-instruction {
    color: #64748b;
    font-style: italic;
    text-align: center;
    margin: 2rem 0;
    font-size: 0.9rem;
}

.filter-section {
    padding: 0;
}

    .filter-section h6 {
        margin-bottom: 1rem;
        color: #1e293b;
        font-weight: 600;
        font-size: 1rem;
        padding: 0 0.5rem;
    }

.filter-search-container {
    position: relative;
    margin-bottom: 1rem;
}

.filter-search {
    max-width: 100%;
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #f8fafc;
    transition: all 0.3s ease;
}

    .filter-search:focus {
        outline: none;
        border-color: #ea580c;
        background: white;
        box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
    }

.filter-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
    pointer-events: none;
}

.filter-options-container {
    max-height: 30rem;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
}

.filter-option-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.filter-option {
    background: white;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .filter-option:last-child {
        border-bottom: none;
    }

    .filter-option:hover {
        background: #f8fafc;
        transform: none;
        border-color: #f1f5f9;
    }

    .filter-option.selected {
        background: #fef7ed;
        border-color: #fed7aa;
        color: #9a3412;
    }

.filter-option-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    position: relative;
    background: white;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.filter-option.selected .filter-option-checkbox {
    background: #ea580c;
    border-color: #ea580c;
}

    .filter-option.selected .filter-option-checkbox::after {
        content: '✓';
        color: white;
        font-size: 12px;
        font-weight: bold;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.filter-option-text {
    font-weight: 500;
    font-size: 0.9rem;
    flex: 1;
    text-align: left;
}

.filter-option-count {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.filter-option.selected .filter-option-count {
    background: #fed7aa;
    color: #9a3412;
}

.filter-actions {
    padding: 1rem 0.5rem 0.5rem 0.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.5rem;
}

.filter-action-btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .filter-action-btn:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .filter-action-btn.primary {
        background: #00a1aa;
        border-color: #5293d4 #00a1aa #fff !important;
        color: white;
    }

.no-results {
    padding: 2rem 1rem;
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    font-size: 0.9rem;
}

.filter-option-list.single-select .filter-option {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

    .filter-option-list.single-select .filter-option:hover {
        background: #f1f5f9;
        border-color: #3b82f6;
        transform: translateX(5px);
    }

    .filter-option-list.single-select .filter-option.selected {
        background: #3b82f6;
        border-color: #3b82f6;
        color: white;
    }

.filter-option {
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(59, 130, 246, 0.1);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.filter-action-btn {
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(59, 130, 246, 0.1);
}

.filter-search {
    -webkit-appearance: none;
    appearance: none;
}

.filter-options-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.filter-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #9ca3af;
}

    .filter-loading::after {
        content: '';
        width: 20px;
        height: 20px;
        margin-left: 10px;
        border: 2px solid #e5e7eb;
        border-top: 2px solid #ea580c;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.preference-panel {
    position: fixed;
    bottom: 0px;
    right: 20px;
    width: 350px;
    max-height: 85vh;
    min-height: 60px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    z-index: 1000;
    transform: translateY(calc(100% - 60px));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .preference-panel.expanded {
        transform: translateY(0);
    }

.preference-header {
    background: linear-gradient(135deg, #77a6ff 0%, #224288 100%);
    color: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    border-radius: 12px 12px 0 0;
}

    .preference-header:hover {
        background: linear-gradient(135deg, #487ddf 0%, #224288 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
        transition: all 0.3s ease;
    }

.preference-header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fullscreen-icon {
    font-size: 1.1rem;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.fullscreen-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.preference-title {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preference-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.preference-content {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
    background: #f8fafc;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.preference-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: grab;
    transition: all 0.2s ease;
    position: relative;
}

    .preference-item:hover {
        border-color: #ea580c;
        box-shadow: 0 2px 8px rgba(234, 88, 12, 0.1);
        transform: translateY(-1px);
    }

    .preference-item:active {
        cursor: grabbing;
    }

    .preference-item.ui-sortable-helper {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        transform: rotate(3deg);
        border-color: #ea580c;
        background: #fef7ed;
    }

    .preference-item.ui-sortable-placeholder {
        background: #f1f5f9;
        border: 2px dashed #cbd5e1;
        visibility: visible !important;
        height: 60px;
    }

.preference-number {
    background: #92a2ff;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.preference-remove {
    background: #ef4444;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .preference-remove:hover {
        background: #dc2626;
        transform: scale(1.1);
    }

.preference-info {
    flex: 1;
    min-width: 0;
}

.preference-program {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preference-details {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.preference-university {
    font-weight: 500;
    color: #475569;
}

.preference-location-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.preference-city {
    color: #64748b;
    flex: 1;
}

.preference-type {
    color: #2563eb;
    font-weight: 500;
    font-size: 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    white-space: nowrap;
}

.preference-burs {
    color: white;
    font-weight: 500;
    font-size: 0.75rem;
    background: hsl(303deg 92.78% 17.31% / 56%);
    padding: 0.15rem 0.4rem;
    border-radius: 12px;
    border: 1px solid hsl(303deg 92.78% 17.31% / 56%);
    white-space: nowrap;
}

.preference-sira {
    color: #059669;
    font-weight: 600;
    font-size: 0.75rem;
    background: rgba(5, 150, 105, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 12px;
    border: 1px solid rgba(5, 150, 105, 0.2);
    white-space: nowrap;
}

.no-preferences {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

.empty-preferences,
.no-preferences {
    text-align: center;
    color: #9ca3af;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .empty-preferences p,
    .no-preferences p {
        margin: 0.5rem 0;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .empty-preferences small,
    .no-preferences small {
        font-size: 0.8rem;
        color: #64748b;
        margin-top: 0.5rem;
    }

.preference-header h5 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.preference-header .toggle-icon {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.preference-panel.expanded .toggle-icon {
    transform: rotate(180deg);
}

.filter-toggle-btn {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    user-select: none;
}

    .filter-toggle-btn:hover {
        background: #eff6ff;
        border-color: #2563eb;
        color: #2563eb;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
    }

    .filter-toggle-btn:active {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
    }

    .filter-toggle-btn.has-filters {
        background: #2563eb;
        border-color: #2563eb;
        color: white;
    }

    .filter-toggle-btn i {
        font-size: 0.7rem;
        margin-right: 0.25rem;
    }

    .filter-toggle-btn .filter-count {
        background: rgba(255, 255, 255, 0.9);
        color: #2563eb;
        padding: 0.25rem -0.5rem;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 700;
        min-width: 30px;
        text-align: center;
        margin-left: 0.25rem;
        animation: pulse 0.5s ease-in-out;
    }

    .filter-toggle-btn.has-filters .filter-count {
        background: rgba(255, 255, 255, 0.9);
        color: #2563eb;
    }

@@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.preference-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: -0.5rem;
    border-bottom: 1px solid #e5e7eb;
    justify-content: center;
}

.preference-action-btn {
    max-height: 10% !important;
    flex: 1;
    max-width: 120px;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 4px rgba(234, 88, 12, 0.2);
}

    .preference-action-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
    }

    .preference-action-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(234, 88, 12, 0.2);
    }

    .preference-action-btn.download-btn {
        background: #037a81;
        box-shadow: none;
    }

    .preference-action-btn.share-btn {
        background: grey;
        box-shadow: none;
    }

    .preference-action-btn i {
        font-size: 0.9rem;
    }

@@media (max-width: 768px) {
    .preference-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .preference-action-btn {
        max-width: none;
    }
}

table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order, table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order, table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order, table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order, table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order, table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order {
    position: sticky !important;
    right: 3px;
    top: 0;
    bottom: 0;
    width: 12px;
}

.tooltip {
    --bs-tooltip-zindex: 1080;
    --bs-tooltip-max-width: 320px;
    --bs-tooltip-padding-x: 1rem;
    --bs-tooltip-padding-y: 0.75rem;
    --bs-tooltip-margin: 0;
    --bs-tooltip-font-size: 0.8rem;
    --bs-tooltip-color: #ffffff;
    --bs-tooltip-bg: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --bs-tooltip-border-radius: 12px;
    --bs-tooltip-opacity: 0.95;
    --bs-tooltip-arrow-width: 0.8rem;
    --bs-tooltip-arrow-height: 0.4rem;
    z-index: var(--bs-tooltip-zindex);
    display: block;
    margin: var(--bs-tooltip-margin);
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: 0.2px;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: var(--bs-tooltip-font-size);
    word-wrap: break-word;
    opacity: 0;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

    .tooltip.show {
        opacity: var(--bs-tooltip-opacity);
        animation: tooltipFadeIn 0.3s ease-out;
    }

    .tooltip .tooltip-arrow {
        display: none !important;
    }

        .tooltip .tooltip-arrow::before {
            display: none !important;
        }

.tooltip {
    z-index: 10000 !important;
}

    .tooltip.show {
        opacity: 1 !important;
    }

.tooltip-top .tooltip-arrow::before {
    top: 0;
    border-width: var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * 0.5) 0;
    border-top-color: #1e293b;
}

.tooltip-inner {
    max-width: var(--bs-tooltip-max-width);
    padding: var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);
    color: var(--bs-tooltip-color);
    text-align: center;
    background: var(--bs-tooltip-bg);
    border-radius: var(--bs-tooltip-border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

@@keyframes tooltipFadeIn {
    0% {
        opacity: 0;
        transform: translateY(5px) scale(0.95);
    }

    100% {
        opacity: var(--bs-tooltip-opacity);
        transform: translateY(0) scale(1);
    }
}

@@media (max-width: 768px) {
    .tooltip {
        --bs-tooltip-max-width: 280px;
        --bs-tooltip-font-size: 0.75rem;
        --bs-tooltip-padding-x: 0.875rem;
        --bs-tooltip-padding-y: 0.625rem;
    }
}

.preference-tooltip {
    position: fixed;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    max-width: 320px;
    z-index: 1100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

    .preference-tooltip.show {
        opacity: 0.95;
        visibility: visible;
    }

@@media (max-width: 768px) {
    .preference-tooltip {
        max-width: 280px;
        font-size: 12px;
        padding: 10px 14px;
        top: -60px;
    }
}

/* Chart popup styles */
.chart-popup {
    border-radius: 12px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    padding: 0 !important;
}

.swal2-popup.chart-popup .swal2-title {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin-bottom: 1.2rem !important;
    padding: 0.5rem 0 !important;
}

.chart-popup .swal2-html-container {
    padding: 1rem 1.5rem !important;
    margin: 0 !important;
}

/* Detail popup styles */
.detail-popup {
    padding: 1.5rem !important;
    border-radius: 12px !important;
    max-width: 900px !important;
}

.detail-container {
    width: 100%;
}

.detail-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.detail-program-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.detail-program-info {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 1rem 0;
}

.detail-program-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.detail-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.detail-badge-type {
    background: #dbeafe;
    color: #1e40af;
}

.detail-badge-burs {
    background: #dcfce7;
    color: #166534;
}

.detail-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.detail-tab {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.detail-tab:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.detail-tab.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-color: #3b82f6;
    color: white;
}

.detail-content {
    min-height: 400px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
}

.detail-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #64748b;
}

.detail-loading p {
    margin: 0;
    font-size: 14px;
}

.detail-error, .detail-no-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #64748b;
}

.detail-error p, .detail-no-data p {
    margin: 0;
    font-size: 14px;
    text-align: center;
}

.detail-data {
    padding: 1rem;
}

.detail-data h6 {
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.detail-data pre {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1rem;
    font-size: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.detail-conditions {
    padding: 1rem;
}

.detail-conditions h6 {
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.condition-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.condition-code {
    font-weight: 600;
    color: #3b82f6;
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.condition-description {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.detail-simple-text {
    padding: 1rem;
}

.detail-simple-text h6 {
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.detail-simple-text p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

@@media (max-width: 768px) {
    .chart-popup {
        width: 95vw !important;
        max-width: 95vw !important;
    }
    
    .chart-popup .swal2-html-container {
        padding: 0.8rem 1rem !important;
    }
    
    .detail-popup {
        max-width: 95% !important;
        padding: 1rem !important;
    }
    
    .detail-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .detail-tab {
        justify-content: center;
    }
}

/* ===== YENİ DETAY POPUP STİLLERİ ===== */

/* İSTATİSTİK STİLLERİ */
.statistics-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.stat-card.highlight {
    border-color: #007bff;
    background: linear-gradient(135deg, #e7f3ff, #f0f8ff);
}

.stat-card.success {
    border-color: #28a745;
    background: linear-gradient(135deg, #e8f5e8, #f0fff0);
}

.stat-card.info {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #e8f4f8, #f0fdff);
}

.stat-card.warning {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff8e1, #fffdf0);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #6c757d;
    margin-top: 4px;
    font-weight: 500;
}

.stat-percentage {
    font-size: 12px;
    color: #28a745;
    font-weight: 600;
    margin-top: 2px;
}

/* GRAFİK STİLLERİ */
.statistics-chart-section,
.tendency-chart-section,
.placement-chart-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f3f4;
}

.chart-header h6 {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
}

.chart-switch {
    display: flex;
    gap: 5px;
}

.chart-switch-btn {
    padding: 8px 16px;
    border: 2px solid #dee2e6;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
}

.chart-switch-btn:hover {
    border-color: #007bff;
    color: #007bff;
}

.chart-switch-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.chart-container {
    position: relative;
    height: 300px;
    margin: 20px 0;
}

.chart-container.large {
    height: 400px;
}

/* TABLO STİLLERİ */
.statistics-table,
.placement-details {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.statistics-table h6,
.placement-details h6 {
    margin-bottom: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.mini-bar {
    width: 60px;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.mini-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transition: width 0.5s ease;
}

/* TERCİH EĞİLİMLERİ STİLLERİ */
.tendency-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.tendency-analysis {
    margin-top: 20px;
}

.analysis-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 100%;
}

.analysis-card h6 {
    margin-bottom: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.analysis-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

.analysis-item:last-child {
    border-bottom: none;
}

.analysis-label {
    font-weight: 500;
    color: #495057;
}

.analysis-value {
    font-weight: 600;
    color: #2c3e50;
}

.efficiency-bar {
    margin-top: 15px;
}

.efficiency-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #495057;
}

/* YERLEŞME ANALİZİ STİLLERİ */
.placement-summary {
    margin-bottom: 30px;
}

.placement-groups {
    margin-top: 15px;
}

.group-item {
    margin-bottom: 15px;
}

.group-label {
    font-weight: 500;
    font-size: 13px;
    color: #495057;
    margin-bottom: 5px;
}

.group-bar .progress {
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
}

.group-bar .progress-bar {
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== VERİ KALİTE MESAJLARI ===== */

.detail-no-data {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.no-data-icon {
    margin-bottom: 20px;
}

.detail-partial-data {
    padding: 20px;
}

.detail-partial-data .alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
}

.detail-partial-data .alert ul {
    margin-left: 20px;
    font-size: 13px;
}

.detail-partial-data .alert li {
    margin-bottom: 5px;
    color: #856404;
}

.detail-loading {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e7f3ff, #f0f8ff);
    border-radius: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* Fullscreen Header Styles */
.custom-fullscreen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #374151;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: -1rem -1rem 1rem -1rem;
    border-bottom: 1px solid #e5e7eb;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #1f2937;
}

.preference-count-badge {
    background: #3b82f6;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 1.8rem;
    text-align: center;
}

.header-right {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.header-btn {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-btn.exit-btn:hover {
    background: #fca5a5;
    border-color: #ef4444;
    color: #dc2626;
}

/* Preference Cards Container */
.fullscreen-table-container {
    max-height: calc(80vh - 150px);
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Fullscreen Preference Table */
.fullscreen-preference-table {
    margin-bottom: 0;
    background: white;
    font-size: 0.9rem;
}

.fullscreen-preference-table thead th {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #374151;
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 0.6rem;
    vertical-align: middle;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid #e5e7eb;
}

.fullscreen-preference-table tbody tr {
    transition: all 0.15s ease;
    cursor: grab;
    border-bottom: 1px solid #f3f4f6;
}

.fullscreen-preference-table tbody tr:hover {
    background-color: #f9fafb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.fullscreen-preference-table tbody tr:active {
    cursor: grabbing;
}

.fullscreen-preference-table tbody td {
    padding: 0.8rem 0.6rem;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
}

/* Draggable Row Styles */
.draggable-row {
    position: relative;
}

.row-being-dragged {
    opacity: 0.5;
    background-color: #f0f9ff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transform: rotate(1deg);
    z-index: 1000;
}

.dragging-row {
    background-color: #f0f9ff !important;
    opacity: 0.9;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2) !important;
    border: 1px solid #3b82f6;
    border-radius: 4px;
}

/* Sortable Placeholder for Table Rows */
.sortable-row-placeholder {
    height: 50px;
    background: repeating-linear-gradient(
        45deg,
        #f8fafc,
        #f8fafc 8px,
        #e2e8f0 8px,
        #e2e8f0 16px
    );
    border: 1px dashed #cbd5e0;
    border-radius: 4px;
    position: relative;
}

.placeholder-content {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    font-weight: 500;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.9);
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Order Badge */
.preference-order-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 0.3rem 0.5rem;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
    min-width: 1.8rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.4);
}

/* Program Title */
.program-title {
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    margin: 0;
    font-size: 0.9rem;
}

/* University Name */
.university-name {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Delete Button */
.delete-row-btn {
    transition: all 0.15s ease;
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
}

.delete-row-btn:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    color: white;
    transform: scale(1.05);
}

/* Drag Handle Cell */
.drag-handle-cell {
    padding: 0.4rem !important;
    text-align: center;
    width: 30px;
}

.drag-handle {
    color: #9ca3af;
    cursor: grab;
    padding: 0.4rem;
    border-radius: 3px;
    transition: all 0.15s ease;
    display: inline-block;
    font-size: 0.9rem;
}

.drag-handle:hover {
    background: #f3f4f6;
    color: #6b7280;
}

.drag-handle:active {
    cursor: grabbing;
}

/* Responsive Table */
@media (max-width: 768px) {
    .fullscreen-preference-table {
        font-size: 0.85rem;
    }
    
    .fullscreen-preference-table thead th,
    .fullscreen-preference-table tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .preference-order-badge {
        min-width: 1.5rem;
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* Empty State */
.fullscreen-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.fullscreen-empty-state h4 {
    color: #374151;
    margin-bottom: 1rem;
}

.fullscreen-empty-state p {
    font-size: 1rem;
    color: #9ca3af;
}

/* Sortable Placeholder */
.sortable-placeholder {
    background: #f8fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    height: 150px;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-style: italic;
}

.sortable-placeholder:before {
    content: "Buraya bırakın...";
}

/* Fullscreen SweetAlert Customizations */
.fullscreen-swal-popup {
    margin: 2rem auto !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    max-height: 85vh !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

.fullscreen-swal-content {
    padding: 0 !important;
    margin: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-fullscreen-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-right {
        justify-content: center;
    }
    
    .preference-card {
        padding: 1rem;
    }
    
    .preference-order-circle {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .program-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .separator {
        display: none;
    }
}