@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Expanded:wght@600;700;800&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f9;
    color: #1f2937;
}


/* ÜST MENÜ */

.topbar {
    height: 72px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;

    display: flex;
    align-items: center;

    padding: 0 40px;

    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    font-size: 18px;
    font-weight: 700;
    margin-right: 45px;
    white-space: nowrap;
}


/* SEKME MENÜSÜ */

.tabs {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.tab-button {
    height: 100%;

    padding: 0 18px;

    border: none;
    background: transparent;

    font-size: 14px;
    color: #667085;

    cursor: pointer;

    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    background: #f8fafc;
    color: #111827;
}

.tab-button.active {
    color: #111827;
    font-weight: 600;
    border-bottom: 3px solid #2563eb;
}


/* KULLANICI */

.user-area {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    color: #667085;
}

.user-area select {
    border: 1px solid #d0d5dd;
    border-radius: 7px;

    padding: 8px 10px;

    background: white;
}


/* SAYFALAR */

.page-section {
    display: none;
}

.page-section.active {
    display: block;
}


/* BOŞ DEMO SAYFALARI */

.empty-page {
    max-width: 1200px;

    margin: 45px auto;

    background: white;

    padding: 50px;

    border-radius: 14px;
}

.empty-page h1 {
    margin-bottom: 10px;
}

.empty-page p {
    color: #667085;
}


/* EĞİTİM */

.education-module {
    max-width: 1425px;

    margin: 0 auto;

    padding: 45px 30px 80px;
}

.education-header {
    display: flex;

    justify-content: flex-start;
    align-items: flex-end;

    margin-bottom: 30px;
}

.section-label {
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.4px;

    color: #2563eb;
}

.education-header h1 {
    font-size: 32px;

    margin-top: 7px;
    margin-bottom: 8px;
}

.education-header p {
    color: #667085;
}


/* VIDEO GRID */

.video-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(300px, 1fr));

    gap: 22px;
}


/* VIDEO KARTI */

.video-card {
    background: white;

    border-radius: 14px;

    overflow: hidden;

    border: 1px solid #e5e7eb;

    transition: 0.2s ease;

    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08);
}


/* THUMBNAIL */

.thumbnail-container {
    position: relative;

    aspect-ratio: 16 / 9;

    background: #e5e7eb;

    overflow: hidden;
}

.thumbnail-container img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            #dbeafe,
            #eef2ff
        );

    color: #475467;

    font-weight: 600;
}

.play-icon {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 54px;
    height: 54px;

    background: rgba(0, 0, 0, 0.72);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    font-size: 22px;
}


/* KART İÇERİĞİ */

.video-content {
    padding: 20px;

    flex: 1;

    display: flex;
    flex-direction: column;
}

.video-content h3 {
    font-size: 17px;
    line-height: 1.4;

    margin-bottom: 9px;
}

.video-description {
    color: #667085;

    font-size: 14px;
    line-height: 1.5;

    margin-bottom: 18px;

    flex: 1;
}

.video-button {
    width: 100%;

    border: none;

    background: #111827;

    color: white;

    padding: 11px;

    border-radius: 8px;

    font-weight: 600;

    cursor: pointer;
}

.video-button:hover {
    background: #2563eb;
}

.video-button:disabled {
    cursor: not-allowed;

    background: #98a2b3;
}


/* EXPORT */

.export-button {
    border: none;

    background: #2563eb;

    color: white;

    padding: 11px 18px;

    border-radius: 8px;

    cursor: pointer;

    font-weight: 600;
}

.export-button:hover {
    background: #1d4ed8;
}


/* LOG TABLOSU */

.log-section {
    margin-top: 55px;

    background: white;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    padding: 25px;
}

.log-title {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 22px;
}

.log-title h2 {
    font-size: 20px;

    margin-top: 6px;
}

.secondary-button {
    border: 1px solid #d0d5dd;

    background: white;

    color: #344054;

    padding: 9px 13px;

    border-radius: 7px;

    cursor: pointer;
}

.secondary-button:hover {
    background: #f9fafb;
}


/* TABLO */

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;

    border-collapse: collapse;
}

th,
td {
    text-align: left;

    padding: 13px 12px;

    border-bottom: 1px solid #eaecf0;

    font-size: 13px;
}

th {
    color: #475467;

    background: #f9fafb;

    font-weight: 600;
}

.no-data {
    text-align: center;

    padding: 35px;

    color: #98a2b3;
}


/* MOBİL */

@media (max-width: 800px) {

    .topbar {
        padding: 0 15px;
    }

    .brand {
        display: none;
    }

    .user-area label {
        display: none;
    }

    .tab-button {
        padding: 0 9px;
    }

    .education-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }

}

/* EĞİTİM FİLTRELERİ */

.education-controls {
    margin-bottom: 28px;
}

.search-area {
    margin-bottom: 18px;
}

.search-area input {
    width: 100%;
    max-width: 420px;

    padding: 12px 15px;

    border: 1px solid #d0d5dd;
    border-radius: 8px;

    background: white;

    font-size: 14px;

    outline: none;
}

.search-area input:focus {
    border-color: #2563eb;
}


/* KATEGORİ BUTONLARI */

.category-filters {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

.category-button {
    border: 1px solid #d0d5dd;

    background: white;

    color: #475467;

    padding: 9px 14px;

    border-radius: 20px;

    cursor: pointer;

    font-size: 13px;

    transition: 0.2s;
}

.category-button:hover {
    border-color: #2563eb;

    color: #2563eb;
}

.category-button.active {
    background: #2563eb;

    border-color: #2563eb;

    color: white;
}


/* KART KATEGORİ ETİKETİ */

.video-category {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.5px;

    color: #2563eb;

    text-transform: uppercase;
}


/* ALT ETİKETLER */

.video-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 16px;
}

.video-tag {
    background: #f2f4f7;

    color: #475467;

    padding: 5px 8px;

    border-radius: 6px;

    font-size: 11px;
}

/* -----------------------------------------
   RENKLİ AMA KURUMSAL TASARIM
----------------------------------------- */

body {
    background: #f6f8fc;
}


/* EĞİTİM BAŞLIĞI */

.education-header h1 {
    color: #2f3e63;
}

.education-header p {
    color: #667085;
}


/* VIDEO KARTLARI */

.video-card {
    border: none;
    border-radius: 16px;

    box-shadow:
        0 6px 22px
        rgba(35, 46, 80, 0.08);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.video-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 32px
        rgba(35, 46, 80, 0.14);
}


/* KARTLARA KATEGORİYE GÖRE ÜST ÇİZGİ */

.video-card:has(.video-category) {
    border-top: 5px solid #8b5cf6;
}


/* THUMBNAIL */

.thumbnail-container {
    background: #eef2f7;
}


/* PLAY BUTONU */

.play-icon {
    background: rgba(74, 56, 164, 0.9);

    box-shadow:
        0 5px 16px
        rgba(74, 56, 164, 0.25);
}


/* KATEGORİ YAZISI */

.video-category {
    color: #6554c0;
}


/* ETİKETLER */

.video-tag {
    background: #f1efff;

    color: #5746a6;

    border: 1px solid #e4defe;
}


/* VİDEOYU İZLE BUTONU */

.video-button {
    background: #6554c0;

    border-radius: 9px;
}

.video-button:hover {
    background: #5141a3;
}


/* EXCEL BUTONU */

.export-button {
    background: #3d7a68;

    border-radius: 9px;
}

.export-button:hover {
    background: #326556;
}


/* ARAMA */

.search-area input {
    background: #ffffff;

    border: 1px solid #dde3ee;

    border-radius: 10px;

    box-shadow:
        0 3px 10px
        rgba(35, 46, 80, 0.04);
}

.search-area input:focus {
    border-color: #7c6dcc;

    box-shadow:
        0 0 0 3px
        rgba(124, 109, 204, 0.12);
}


/* KATEGORİ BUTONLARI */

.category-button {
    border: none;

    background: #ffffff;

    color: #475467;

    box-shadow:
        0 3px 10px
        rgba(35, 46, 80, 0.06);
}

.category-button:hover {
    color: #6554c0;

    background: #f7f5ff;
}

.category-button.active {
    background: #6554c0;

    color: white;

    box-shadow:
        0 5px 14px
        rgba(101, 84, 192, 0.22);
}


/* DEMO YÖNETİCİ TABLOSU */

.log-section {
    border: none;

    box-shadow:
        0 8px 24px
        rgba(35, 46, 80, 0.07);

    border-radius: 16px;
}

table thead {
    background: #f4f2ff;
}

th {
    color: #5141a3;

    background: #f4f2ff;
}


/* ÜST SEKME */

.tab-button.active {
    color: #6554c0;

    border-bottom-color: #6554c0;
}

.tab-button:hover {
    color: #6554c0;

    background: #faf9ff;
}

/* -----------------------------------------
   EĞİTİM ÜST BAŞLIK ALANI
----------------------------------------- */

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: linear-gradient(
        135deg,
        #ffffff,
        #f8f7ff
    );

    border: 1px solid #e7e3f7;

    border-radius: 18px;

    padding: 28px 30px;

    margin-bottom: 28px;

    box-shadow:
        0 8px 24px
        rgba(70, 58, 140, 0.07);
}


/* SOL BAŞLIK BÖLÜMÜ */

.education-title-area {
    display: flex;
    align-items: center;

    gap: 18px;
}


/* MOR DİKEY ÇİZGİ */

.education-accent {
    width: 5px;
    height: 82px;

    border-radius: 10px;

    background: linear-gradient(
        180deg,
        #6d5bd0,
        #8b5cf6
    );
}


/* KÜÇÜK BAŞLIK */

.education-header .section-label {
    display: block;

    margin-bottom: 8px;

    color: #6d5bd0;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.4px;
}


/* ANA BAŞLIK */

.education-header h1 {
    margin: 0 0 8px 0;

    font-size: 34px;

    color: #253354;
}


/* ALT AÇIKLAMA */

.education-header p {
    margin: 0;

    color: #667085;

    font-size: 15px;

    line-height: 1.5;
}


/* EXCEL BUTONU */

.education-header .export-button {
    flex-shrink: 0;

    padding: 12px 22px;

    border-radius: 10px;
}


/* EĞİTİM BAŞLIK ALANI */

.education-title-area {
    align-items: center;
}


/* MOR ÇUBUK */

.education-accent {
    width: 5px;
    height: 75px;
    min-height: 75px;

    align-self: center;

    border-radius: 10px;

    background: linear-gradient(
        180deg,
        #6657d9,
        #8b5cf6
    );
}


/* EĞİTİM MERKEZİ */
.education-header .section-label {
    display: block;

    font-family: "Encode Sans Expanded", sans-serif;
    font-size: 43px;
    font-weight: 700;

    letter-spacing: -0.8px;
    line-height: 1.05;

    color: #6254cf;

    margin-bottom: 8px;
}


.education-header p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;

    letter-spacing: 0;

    color: #737d91;

    margin: 0;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.search-icon {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    width: 19px;
    height: 19px;

    color: #8b8fa3;

    pointer-events: none;
}

.search-box input {
    width: 100%;

    padding-left: 48px;
}

.export-area {
    display: flex;
    justify-content: flex-end;

    margin-top: 20px;
}

/* =========================================
   EĞİTİM MERKEZİ - ANA BAŞLIK KARTI
========================================= */

.education-header {
    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 34px 30px;

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #faf9ff 100%
    );

    border: 1px solid #e7e3f7;
    border-radius: 20px;

    box-shadow:
        0 7px 22px rgba(55, 48, 110, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

    animation:
        educationHeaderEnter 0.65s ease-out both;
}


/* MOUSE ÜSTÜNE GELİNCE */

.education-header:hover {
    transform: translateY(-5px);

    border-color: #d9d2fa;

    box-shadow:
        0 15px 32px rgba(78, 65, 160, 0.12);
}


/* İÇERİĞİ ORTALA */

.education-title-area {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
}


/* ESKİ SOL MOR ÇUBUĞU KALDIR */

.education-accent {
    display: none;
}


/* EĞİTİM MERKEZİ */

.education-header .section-label {
    display: block;

    font-family: "Encode Sans Expanded", sans-serif;

    font-size: 35px;
    font-weight: 700;

    letter-spacing: -1px;

    color: #6254cf;

    margin: 0;
}


/* BAŞLIĞIN ALTINDAKİ MOR ÇİZGİ */

.education-header .section-label::after {
    content: "";

    display: block;

    width: 300px;
    height: 4px;

    margin: 12px auto 14px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #6657d9,
        #9b72f2
    );

    transition: width 0.25s ease;
}


/* HOVER'DA ÇİZGİ HAFİF UZASIN */

.education-header:hover .section-label::after {
    width: 400px;
}


/* ALT AÇIKLAMA */

.education-header p {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;
    font-weight: 400;

    color: #737d91;

    margin: 0;
}


/* SAYFA AÇILIRKEN SOLDAN GELİŞ */

@keyframes educationHeaderEnter {

    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* HAREKET AZALTMA TERCİHİ OLANLAR İÇİN */

@media (prefers-reduced-motion: reduce) {

    .education-header {
        animation: none;
        transition: none;
    }

}

/* =========================================
   EĞİTİM MERKEZİ TAM GENİŞLİK GÖRSEL
========================================= */

.education-header {
    display: block;

    width: 100%;

    padding: 0;

    overflow: hidden;

    border-radius: 20px;

    background: transparent;
}


/* KUTUNUN TAMAMINI KAPLAYAN RESİM */

.education-banner-image {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 20px;
}

/* =========================================
   TÜM EĞİTİM İÇERİĞİNİ AYNI HİZAYA GETİR
========================================= */

.education-header,
.education-controls,
.video-grid,
.log-section {
    width: 100%;
    max-width: 1425px;

    margin-left: auto;
    margin-right: auto;
}


/* ARAMA + KATEGORİLER */

.education-controls {
    margin-top: 35px;
    margin-bottom: 8px;
}


/* VIDEO KARTLARI */

.video-grid {
    margin-top: 0;
}

.sales-academy-tab {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;

    color: #d71920 !important;

    line-height: 1 !important;
    letter-spacing: normal !important;

    padding: 7px 12px !important;
}


/* SALES — ince ve harf aralığı açık */

.sales-light {
    display: block;

    font-size: 14px;
    font-weight: 300;

    letter-spacing: 3px;

    margin: 0;
}


/* ACADEMY — alt satır, biraz daha kalın */

.academy-bold {
    display: block;

    font-size: 14px;
    font-weight: 500;

    letter-spacing: 1.8px;

    margin: 4px 0 0 0;
}


.sales-academy-tab.active {
    color: #d71920 !important;
    border-bottom-color: #d71920 !important;
}

/* =========================================
   ANA PLATFORM RENGİ = KIRMIZI
========================================= */

.tab-button.active {
    color: #d71920 !important;
    border-bottom-color: #d71920 !important;
}


/* =========================================
   KATEGORİ RENKLERİ
========================================= */

.category-button[data-category="all"] {
    --category-color: #d71920;
    --category-light: #fff0f1;
}

.category-button[data-category="ai"] {
    --category-color: #7456d8;
    --category-light: #f2efff;
}

.category-button[data-category="sales"] {
    --category-color: #2878d0;
    --category-light: #edf5ff;
}

.category-button[data-category="negotiation"] {
    --category-color: #e67e22;
    --category-light: #fff4e9;
}

.category-button[data-category="business"] {
    --category-color: #159a8c;
    --category-light: #eafaf8;
}

.category-button[data-category="strategy"] {
    --category-color: #4456b8;
    --category-light: #eef0ff;
}

.category-button[data-category="marketing"] {
    --category-color: #d94f8c;
    --category-light: #fff0f6;
}

.category-button[data-category="leadership"] {
    --category-color: #c58a13;
    --category-light: #fff8e8;
}

.category-button[data-category="ideacast"] {
    --category-color: #1687a7;
    --category-light: #eaf8fc;
}

.category-button[data-category="gemini"] {
    --category-color: #5271d8;
    --category-light: #eef2ff;
}


/* TÜM KATEGORİ BUTONLARININ ORTAK TASARIMI */

.category-button {
    color: var(--category-color) !important;
    background: var(--category-light) !important;

    border: 1px solid var(--category-color) !important;

    transition: all 0.2s ease;
}


/* ÜZERİNE GELİNCE */

.category-button:hover {
    color: white !important;
    background: var(--category-color) !important;

    transform: translateY(-2px);
}


/* SEÇİLİ KATEGORİ */

.category-button.active {
    color: white !important;
    background: var(--category-color) !important;

    box-shadow: 0 4px 12px color-mix(
        in srgb,
        var(--category-color) 30%,
        transparent
    );
}

/* =========================================
   VİDEO KARTLARI AKTİF KATEGORİ RENGİ
========================================= */

#videoGrid {
    --video-accent: #D71920;
}


/* Kartın üstündeki mor çizgi */

.video-card {
    border-top-color: var(--video-accent) !important;
}


/* Kategori başlığı */

.video-category {
    color: var(--video-accent) !important;
}


/* Etiketler */

.video-card .tag {
    color: var(--video-accent) !important;
    border-color: var(--video-accent) !important;

    background:
        color-mix(
            in srgb,
            var(--video-accent) 9%,
            white
        ) !important;
}


/* Videoyu İzle butonu */

.video-card button {
    background: var(--video-accent) !important;
}


/* Ortadaki play yuvarlağı */

.play-button,
.play-icon {
    background: var(--video-accent) !important;
}

/* =========================================
   KATEGORİ RENKLERİ = VİDEO RENKLERİYLE AYNI
========================================= */

.category-button[data-category="all"] {
    --category-color: #D71920;
    --category-light: #FFF0F1;
}

.category-button[data-category="ai"] {
    --category-color: #7B2CBF;
    --category-light: #F5EDFB;
}

.category-button[data-category="sales"] {
    --category-color: #0066CC;
    --category-light: #EDF5FF;
}

.category-button[data-category="negotiation"] {
    --category-color: #F28C28;
    --category-light: #FFF4E9;
}

.category-button[data-category="business"] {
    --category-color: #168C78;
    --category-light: #EAF8F5;
}

.category-button[data-category="strategy"] {
    --category-color: #34495E;
    --category-light: #EEF1F4;
}

.category-button[data-category="marketing"] {
    --category-color: #D63384;
    --category-light: #FFF0F7;
}

.category-button[data-category="leadership"] {
    --category-color: #C58A00;
    --category-light: #FFF7E1;
}

.category-button[data-category="ideacast"] {
    --category-color: #6A994E;
    --category-light: #F0F7EC;
}

.category-button[data-category="gemini"] {
    --category-color: #00A6C7;
    --category-light: #E9FAFD;
}


/* NORMAL */

.category-button {
    color: var(--category-color) !important;
    border: 1px solid var(--category-color) !important;
    background: var(--category-light) !important;
}


/* ÜZERİNE GELİNCE */

.category-button:hover {
    background: var(--category-color) !important;
    color: white !important;
}


/* SEÇİLİNCE */

.category-button.active {
    background: var(--category-color) !important;
    color: white !important;
    border-color: var(--category-color) !important;
}

/* ANAHTAR KELİMELER DE AKTİF KATEGORİ RENGİ OLSUN */

.video-card .tag,
.video-card .tags span,
.video-tags span {
    color: var(--video-accent) !important;
    border-color: var(--video-accent) !important;

    background: color-mix(
        in srgb,
        var(--video-accent) 9%,
        white
    ) !important;
}

.education-controls {
    position: relative;
}

.video-count {
    position: static;
    width: 100%;

    margin-top: 22px;
    margin-bottom: 0px;

    text-align: right;

    font-size: 14px;
    font-weight: 400;

    color: #6b7280;
}

/* =========================================
   VİDEO DEĞERLENDİRME
========================================= */
/*
.video-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 14px;
    margin-bottom: 14px;
}


.rate-video-button {
    border: none;
    background: transparent;

    padding: 0;

    font-size: 13px;
    font-weight: 500;

    color: var(--video-accent);

    cursor: pointer;

    transition: opacity 0.2s ease;
}


.rate-video-button:hover {
    opacity: 0.7;
}
*/

.rating-summary {
    font-size: 12px;
    font-weight: 400;

    color: #7b8190;

    white-space: nowrap;
}


/* POPUP */
/*
.rating-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;

    --rating-accent: #D71920;
}


.rating-modal.show {
    opacity: 1;
    visibility: visible;
}


.rating-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(20, 25, 40, 0.42);

    backdrop-filter: blur(3px);
}


.rating-modal-card {
    position: relative;

    z-index: 1;

    width: min(600px, calc(100% - 40px));

    padding: 34px;

    border-radius: 22px;

    background: white;

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.18);

    text-align: center;
}


.rating-close {
    position: absolute;

    top: 15px;
    right: 18px;

    border: none;
    background: transparent;

    font-size: 28px;
    font-weight: 300;

    color: #737989;

    cursor: pointer;
}


.rating-label {
    display: block;

    margin-bottom: 9px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.4px;

    color: var(--rating-accent);
}


.rating-modal-card h3 {
    margin: 0;

    font-size: 18px;
    font-weight: 600;

    color: #252936;
}


.rating-question {
    margin: 10px 0 26px;

    font-size: 14px;

    color: #747b8d;
}

-- 5 SEÇENEK --

.rating-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 12px;
}


.rating-option {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 7px;

    padding: 13px 8px;

    border: 2px solid transparent;
    border-radius: 16px;

    background: #f7f8fb;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.rating-option:hover {
    transform: translateY(-4px);
}


.rating-option.selected {
    border-color: var(--rating-accent);

    background: color-mix(
        in srgb,
        var(--rating-accent) 7%,
        white
    );
}


.rating-image {
    width: 48px;
    height: 48px;

    object-fit: contain;
}


.rating-fallback {
    display: none;

    font-size: 38px;
    line-height: 48px;
}


.rating-number {
    font-size: 12px;
    font-weight: 500;

    color: #626979;
}


.rating-scale-labels {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    margin-top: 10px;

    font-size: 10px;
    font-weight: 400;

    color: #969baa;
}


.rating-scale-labels span:first-child {
    text-align: left;
}


.rating-scale-labels span:last-child {
    text-align: right;
}


.submit-rating-button {
    width: 100%;

    margin-top: 26px;

    padding: 13px 20px;

    border: none;
    border-radius: 12px;

    background: var(--rating-accent);

    color: white;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}


.submit-rating-button:disabled {
    opacity: 0.35;

    cursor: not-allowed;
}

*/
/* VİDEOYU DEĞERLENDİR BUTONU */
/*
.video-card .rate-video-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    min-width: 135px;

    padding: 7px 11px !important;

    background: white !important;

    color: var(--video-accent) !important;

    border: 1px solid var(--video-accent) !important;
    border-radius: 9px !important;

    font-size: 12px !important;
    font-weight: 500 !important;

    cursor: pointer;

    box-shadow: none !important;
}

*/
/* ÜZERİNE GELİNCE */
/*
.video-card .rate-video-button:hover {
    background: color-mix(
        in srgb,
        var(--video-accent) 8%,
        white
    ) !important;

    transform: translateY(-1px);
}
*/

.rating-summary {
    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 12px;
    font-weight: 400;

    color: #7b8190;
}

.rating-count {
    padding-left: 10px;

    border-left: 1px solid #d7dbe3;
}

.rating-score {
    white-space: nowrap;
}

.rating-count {
    white-space: nowrap;
}

/*BUTONUUN ÜSTÜNE GELİNCE VİDEOYA GİTME*/
.video-play-button {
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 64px;
    height: 64px;

    border: none;
    border-radius: 50%;

    background: var(--video-accent);
    color: white;

    font-size: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


/* Mouse üstüne gelince hafif yukarı kalksın */

.video-play-button:hover {
    transform: translate(-50%, calc(-50% - 5px)) scale(1.05);

    box-shadow: 0 13px 25px rgba(0, 0, 0, 0.22);
}


/* Basınca hafif geri insin */

.video-play-button:active {
    transform: translate(-50%, calc(-50% - 1px)) scale(0.98);
}

.search-box input:focus {
    outline: none;

    border-color: #D71920 !important;

    box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.12) !important;
}

/* =========================================
   INLINE SÜRÜKLEMELİ DEĞERLENDİRME
========================================= */

.inline-rating {
    margin-top: 16px;
    margin-bottom: 14px;
}


.inline-rating-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    margin-bottom: 10px;
}

.inline-rating-title {
    font-size: 12px;
    font-weight: 500;

    color: var(--video-accent);
}


.inline-rating .rating-summary {
    font-size: 11px;
    font-weight: 400;

    color: #7b8190;
}



/* SÜRÜKLEME ÇİZGİSİ */

.video-card .rating-slider {
    -webkit-appearance: none;
    appearance: none;

    width: 100%;
    height: 7px;

    border-radius: 999px;

    outline: none;

    cursor: pointer;

    position: relative;
    z-index: 10;

    pointer-events: auto !important;

    background: linear-gradient(
        90deg,

        color-mix(
            in srgb,
            var(--video-accent) 15%,
            white
        ) 0%,

        color-mix(
            in srgb,
            var(--video-accent) 30%,
            white
        ) 25%,

        color-mix(
            in srgb,
            var(--video-accent) 50%,
            white
        ) 50%,

        color-mix(
            in srgb,
            var(--video-accent) 72%,
            white
        ) 75%,

        var(--video-accent) 100%
    );
}


/* SÜRÜKLENEN YUVARLAK */

.video-card .rating-slider::-webkit-slider-thumb {
    -webkit-appearance: none;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: white;

    border: 3px solid var(--video-accent);

    cursor: grab;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


.video-card .rating-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);

    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.20);
}


.video-card .rating-slider::-webkit-slider-thumb:active {
    cursor: grabbing;

    transform: scale(1.08);
}


/* EMOJİLER */

.rating-emojis {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 8px;

    font-size: 17px;

    user-select: none;
}

.rating-emojis span {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}


.rating-emojis span:nth-child(1) {
    opacity: 0.55;
}

.rating-emojis span:nth-child(2) {
    opacity: 0.65;
}

.rating-emojis span:nth-child(3) {
    opacity: 0.75;
}

.rating-emojis span:nth-child(4) {
    opacity: 0.88;
}

.rating-emojis span:nth-child(5) {
    opacity: 1;
}

.video-card .video-button {
    margin-top: 14px;
    margin-bottom: 16px;
}

/* =========================================
   ÖNERİ / GERİ BİLDİRİM
========================================= */

.feedback-button-area {
    display: flex;
    justify-content: flex-end;

    margin-top: -48px;
    margin-bottom: 22px;
}

.feedback-button {
    padding: 9px 15px;

    border: 1px solid #D71920;
    border-radius: 10px;

    background: white;
    color: #D71920;

    font-size: 12px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.feedback-button:hover {
    background: #D71920;
    color: white;

    transform: translateY(-2px);
}


/* POPUP */

.feedback-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    visibility: hidden;
    opacity: 0;

    transition: 0.2s ease;
}

.feedback-modal.show {
    visibility: visible;
    opacity: 1;
}

.feedback-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(20, 25, 40, 0.42);

    backdrop-filter: blur(3px);
}

.feedback-modal-card {
    position: relative;
    z-index: 1;

    width: min(500px, calc(100% - 40px));

    padding: 30px;

    border-radius: 20px;

    background: white;

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.18);
}

.feedback-close {
    position: absolute;
    top: 12px;
    right: 16px;

    border: none;
    background: transparent;

    font-size: 27px;
    color: #737989;

    cursor: pointer;
}

.feedback-label {
    display: block;

    margin-bottom: 8px;

    color: #D71920;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.2px;
}

.feedback-modal-card h3 {
    margin: 0 0 24px;

    color: #252936;
}

.feedback-modal-card label {
    display: block;

    margin: 15px 0 7px;

    font-size: 12px;
    font-weight: 500;

    color: #606778;
}

.feedback-modal-card select,
.feedback-modal-card textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 11px 12px;

    border: 1px solid #d9dde6;
    border-radius: 10px;

    font-family: inherit;

    outline: none;
}

.feedback-modal-card select:focus,
.feedback-modal-card textarea:focus {
    border-color: #D71920;

    box-shadow:
        0 0 0 3px rgba(215, 25, 32, 0.10);
}

.feedback-modal-card textarea {
    resize: vertical;
}

.submit-feedback-button {
    width: 100%;

    margin-top: 20px;
    padding: 12px;

    border: none;
    border-radius: 10px;

    background: #D71920;
    color: white;

    font-weight: 600;

    cursor: pointer;
}

/* ESKİ DEĞERLENDİRME POPUP'INI GİZLE */

.rating-modal {
    display: none !important;
}

/* =========================================
   GERİ BİLDİRİM YÖNETİCİ TABLOSU
========================================= */

.feedback-admin-section {
    margin-top: 35px;

    padding: 28px;

    background: white;

    border-radius: 20px;

    box-shadow: 0 8px 24px rgba(40, 50, 80, 0.06);
}

.feedback-admin-section .table-container {
    margin-top: 20px;
}

[hidden] {
    display: none !important;
}

/* =========================================
   VİDEO DEĞERLENDİRME YÖNETİCİ TABLOSU
========================================= */

.rating-admin-section {
    margin-top: 35px;

    padding: 28px;

    background: white;

    border-radius: 20px;

    box-shadow: 0 8px 24px rgba(40, 50, 80, 0.06);
}

.rating-admin-section .table-container {
    margin-top: 20px;
}

/* SON İKİ YÖNETİCİ TABLOSUNU SAYFAYLA HİZALA */

.rating-admin-section,
.feedback-admin-section {
    width: calc(100% - 60px);
    max-width: 1425px;

    margin-left: auto;
    margin-right: auto;

    box-sizing: border-box;
}

/* =========================================
   SON İKİ YÖNETİCİ TABLOSU = KIRMIZI TEMA
========================================= */

.rating-admin-section .section-label,
.feedback-admin-section .section-label {
    color: #D71920 !important;
}


/* TABLO BAŞLIKLARI */

.rating-admin-section thead th,
.feedback-admin-section thead th {
    color: #B9151B !important;

    background: #FFF1F2 !important;
}


/* TEMİZLE BUTONU */

.admin-clear-button {
    padding: 9px 14px;

    border: 1px solid #D71920;
    border-radius: 9px;

    background: white;
    color: #D71920;

    font-size: 12px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.admin-clear-button:hover {
    background: #D71920;
    color: white;

    transform: translateY(-1px);
}

/* TÜM YÖNETİCİ TABLOLARINI KIRMIZI TEMA YAP */

.log-section .section-label,
.rating-admin-section .section-label,
.feedback-admin-section .section-label {
    color: #D71920 !important;
}


/* TÜM TABLO BAŞLIKLARI */

.log-section thead th,
.rating-admin-section thead th,
.feedback-admin-section thead th {
    color: #B9151B !important;
    background: #FFF1F2 !important;
}

/* SON İKİ TABLOYU İLK TABLOYLA AYNI GENİŞLİĞE GETİR */

.rating-admin-section,
.feedback-admin-section {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box;
}

/* VIDEO KATEGORİSİ + SÜRE */

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;
}


.video-duration {
    font-size: 12px;
    font-weight: 400;

    color: #7b8190;

    white-space: nowrap;
}

.thumbnail-container {
    position: relative;
}

.video-duration-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;

    background: rgba(0, 0, 0, 0.75);
    color: white;

    padding: 4px 7px;
    border-radius: 6px;

    font-size: 12px;
    font-weight: 600;

    z-index: 3;
}

.rating-choices {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.rating-choice {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;
    border-radius: 50%;

    background: transparent;

    font-size: 19px;

    cursor: pointer;

    opacity: 0.55;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.rating-choice:hover {
    opacity: 1;
    transform: scale(1.15);
}

.rating-choice.selected {
    opacity: 1;

    transform: scale(1.12);

    background:
        color-mix(
            in srgb,
            var(--video-accent) 10%,
            white
        );

    border-color:
        var(--video-accent);
}

/* =========================================
   REGION CONTROL - TOP BAR
========================================= */

.region-control {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-left: 14px;
    padding-left: 14px;

    border-left: 1px solid #e2e5eb;
}

#selectedRegionLabel {
    font-size: 13px;
    font-weight: 500;
    color: #697386;
    white-space: nowrap;
}

.region-settings-button {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d9dde5;
    border-radius: 8px;

    background: #ffffff;
    color: #4f596b;

    font-size: 16px;

    cursor: pointer;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.region-settings-button:hover {
    background: #f5f6f8;
    border-color: #bfc5cf;
    transform: rotate(20deg);
}


/* =========================================
   REGION POPUP
========================================= */

.region-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.region-modal[hidden] {
    display: none;
}

.region-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(4px);
}

.region-modal-card {
    position: relative;
    z-index: 1;

    width: min(620px, 100%);

    padding: 34px;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 24px 70px
        rgba(15, 23, 42, 0.22);

    text-align: center;
}

.region-modal-label {
    display: inline-block;

    margin-bottom: 8px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;

    color: #d71920;
}

.region-modal-card h2 {
    margin: 0 0 8px;

    font-size: 28px;
    color: #202939;
}

.region-modal-card > p {
    margin: 0 auto 25px;

    max-width: 430px;

    color: #737d90;
    line-height: 1.55;
}

.region-options {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.region-option {
    min-height: 48px;

    padding: 11px 16px;

    border: 1px solid #e1e4ea;
    border-radius: 11px;

    background: #ffffff;

    color: #303849;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.region-option:hover {
    transform: translateY(-1px);

    border-color: #d71920;

    background: #fff7f7;

    box-shadow:
        0 5px 15px
        rgba(215, 25, 32, 0.08);
}

.region-option.selected {
    border-color: #d71920;

    background: #fff1f2;

    color: #d71920;
}

.region-modal-note {
    margin-top: 20px !important;
    margin-bottom: 0 !important;

    font-size: 12px;
    color: #9aa1ad !important;
}


/* =========================================
   REGIONAL RECOMMENDATIONS
========================================= */

.regional-recommendations {
    grid-column: 1 / -1;

    margin-bottom: 8px;
    padding: 26px;

    border: 1px solid #dedcff;
    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #f7f3ff 0%,
            #eef8ff 48%,
            #fff5f7 100%
        );

    box-shadow:
        0 10px 30px
        rgba(67, 56, 202, 0.07);
}

.regional-recommendations-header {
    margin-bottom: 20px;
}

.regional-eyebrow {
    display: block;

    margin-bottom: 6px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.12em;

    color: #6857c7;
}

.regional-recommendations h2 {
    margin: 0 0 5px;

    font-size: 22px;
    color: #202939;
}

.regional-recommendations-header p {
    margin: 0;

    font-size: 14px;
    color: #737d90;
}

.regional-video-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.regional-empty {
    grid-column: 1 / -1;

    padding: 22px;

    border: 1px dashed
        rgba(104, 87, 199, 0.35);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.62);

    text-align: center;

    color: #737d90;
    font-size: 14px;
}

.all-training-divider {
    grid-column: 1 / -1;

    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 8px;
    margin-bottom: 2px;
}

.all-training-divider h2 {
    margin: 0;

    font-size: 18px;
    color: #202939;

    white-space: nowrap;
}

.all-training-divider::after {
    content: "";

    width: 100%;
    height: 1px;

    background: #e5e8ee;
}


@media (max-width: 1100px) {

    .regional-video-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .region-options {
        grid-template-columns: 1fr;
    }

    .regional-video-grid {
        grid-template-columns: 1fr;
    }

    .region-control {
        margin-left: 6px;
        padding-left: 6px;
    }

    #selectedRegionLabel {
        display: none;
    }

}

.region-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;

    width: 34px;
    height: 34px;

    border: none;
    background: transparent;

    color: #737d90;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}

.region-modal-close:hover {
    color: #d71920;
}

.region-modal-close[hidden] {
    display: none;
}