@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&display=swap');

* {
    text-decoration: none;
    font-family: 'Parkinsans', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
    min-height: 100vh;
}

html {
    background-color: var(--bg-primary);
    height: 100%;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.bg-custom {
    min-height: 100vh;
    height: auto;
    background-color: #517185;
    z-index: 1;
}


/* Sol Panel */
.container-custom {
    background-color: #151a1d;
    padding: 24.5px;
    border-radius: 17px;
    width: 530px;
    height: 520px;
    max-width: 100%;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.day-box {
    background-color: #1E2022;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    width: 200px;
    padding: 5px 10px;
    color: #fff;
    text-align: center;
    height: 30px;
    margin: 0 auto;
}

.quest-box {
    background-color: #1E2022;
    border-bottom-left-radius: 17px;
    border-bottom-right-radius: 17px;
    width: 225px;
    padding: 7px 10px;
    color: #fff;
    text-align: center;
    height: 34.5px;
    margin: 0 auto;
}

.howto {
    background-color: #151A1D;
    border-radius: 17px;
    width: 100%;
    height: 60px;
    padding: 7px 10px;
    color: #fff;
    text-align: center;
    margin: 0 auto;
}

.panel-dark {
    background-color: #2d2d2d;
    border-radius: 17px;
    height: 110px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.content-panel {
    background-color: #282828;
    border-radius: 17px;
    width: 451px;
    height: auto;
    min-height: 115px;
    padding: 10px 15px;
    margin: 0 auto 20px;
    max-width: 100%;
    transition: all 0.3s ease;
}

.today-video {
    background-color: #282828;
    border-radius: 17px;
    width: 451px;
    height: auto;
    padding: 10px 15px;
    margin: 0 auto 20px;
    max-width: 100%;
    transition: all 0.3s ease;
}

.panel-gray {
    background-color: #191f1f;
    border-radius: 17px;
    height: 100px;
    width: 530px;
    max-width: 100%;
    margin: 30px auto 0;
    transition: all 0.3s ease;
}

.wp,
.yt {
    background-color: #151a1d;
    border-radius: 17px;
    height: 80px;
    width: 250px;
    max-width: 45%;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding: 10px 15px;
    transition: all 0.3s ease;
    gap: 10px;
}

.calendar {
    width: 65px;
    color: #fff;
    height: 65px;
    padding: 8px;
    border-radius: 17px;
}

.videos {
    width: 65px;
    color: #fff;
    height: 65px;
    padding: 8px;
    border-radius: 17px;
}

.hedefingoLogo {
    margin-right: 40px;
    margin-left: 40px;
    width: 130px;
    height: 130px;
    padding: 5px;
    border-radius: 50%;
}

.videos:hover {
    background-color: rgba(254, 255, 253, 0.09);
}

.calendar:hover {
    background-color: rgba(254, 255, 253, 0.09);

}

.hedefingoLogo:hover {
    background-color: rgba(254, 255, 253, 0.09);
}

.wp:hover {
    box-shadow: 0 0px 15px rgba(4, 242, 8, 0.3);

}

.yt:hover {
    box-shadow: 0 0px 15px rgba(242, 4, 4, 0.3);

}

.wp i,
.yt i {
    font-size: 28px;
}

.wp p,
.yt p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.wp {
    color: #25D366;
}

.yt {
    color: #FF0000;
}



/* Sol Panel Bitiş */

/* Orta Panel */
.container-custom-mid {
    background-color: #151a1d;
    border-radius: 17px;
    border-bottom-right-radius: 10px;
    width: 530px;
    max-width: 100%;
    margin-bottom: 30px;
    height: 808.5px;
    /* İçeriğe göre otomatik uzasın */
    transition: all 0.3s ease;
}

.panel-container-mid {
    border-radius: 17px;
    padding: 15px 35px 3px;
    width: 100%;
    max-height: 704px;
    /* Masaüstünde maksimum yükseklik */
    overflow-y: auto;
    /* Dikey scroll ekler */
    transition: all 0.3s ease;
}

/* Scroll çubuğu stilleri */
.panel-container-mid::-webkit-scrollbar {
    width: 8px;
}

.panel-container-mid::-webkit-scrollbar-track {
    background: #1E2022;
    border-radius: 1px;
    border-bottom-right-radius: 17px;
    border-bottom-left-radius: 0px;
}

.panel-container-mid::-webkit-scrollbar-thumb {
    background: #2d2d2d;
    border-radius: 4px;
}

.panel-container-mid::-webkit-scrollbar-thumb:hover {
    background: #3a3a3a;
}

.ogretmenAra {
    width: 32%;
    height: 47px;
    border-radius: 17px;
    border: none;
    padding: 5px 10px;
    background-color: var(--arama-panel-title);
    margin-left: 5px;
    color: #ffffff81;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}

.konuAra {
    width: 25%;
    height: 47px;
    background-color: var(--arama-panel-title);
    border-radius: 17px;
    border: none;
    padding: 5px 10px;
    margin-left: 8px;
    color: #ffffff81;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}

.konuAra-mobil {
    width: 100%;
    height: 47px;
    background-color: var(--arama-panel-title);
    border-radius: 17px;
    border: none;
    padding: 5px 10px;
    margin-left: 8px;
    color: #ffffff81;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}

.ogretmenAra-mobil {
    width: 100%;
    height: 47px;
    background-color: var(--arama-panel-title);
    border-radius: 17px;
    border: none;
    padding: 5px 10px;
    margin-left: 8px;
    color: #ffffff81;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}


.panel-dark-mid {
    background: linear-gradient(326deg, rgb(57 47 11) 0%, rgb(64 52 8) 100%);
    border-radius: 17px;
    height: 70px;
    width: 100%;
    max-width: 100%;
    margin: 0px auto 20px;
    padding: 0px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.content-panel-mid {
    background-color: #282828;
    border-radius: 17px;
    width: 470px;
    height: auto;
    min-height: 115px;
    padding: 10px 15px;
    margin-bottom: 20px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.panel-dark-mid h4 {
    margin: 0;
    padding-left: 15px;
    color: #fff;
}

/* Orta Panel Bitiş*/

/* Sağ Panel */
.content-panel-large {
    background-color: #266f8e;
    border-radius: 17px;
    height: 70px;
    width: 90%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.yks-container {
    background: #282828;
    border-radius: 17px;
    height: 105px;
    width: 90%;
    margin: 15px auto 20px;
    padding: 15px;
    text-align: center;
    color: #fff;
    border: 2px solid #fd2e2e;
    box-shadow: 0 4px 10px rgba(253, 46, 46, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.yks-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(253, 46, 46, 0.12) 0%, rgba(51, 51, 51, 0) 70%);
    z-index: 0;
}

.yks-container h4 {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.yks-container h4:first-child {
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 0;
    line-height: 1.5;
}

.yks-container h4:last-child {
    font-weight: bold;
    font-size: 34px;
    line-height: 1.1;
    color: #fd2e2e;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.panel-container-right {
    background-color: #151a1d;
    border-radius: 17px;
    padding: 15px;
    width: 530px;
    height: auto;
    max-width: 100%;
    margin-bottom: 16px;
}

.panel-container-right-mobil {
    background-color: #151a1d;
    border-radius: 17px;
    width: 530px;
    height: auto;
    max-width: 100%;
}


.panel-dark-right {
    background-color: #282828;
    border-radius: 17px;
    height: 90px;
    width: 530px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel-large-right {
    background-color: #151a1d;
    border-radius: 17px;
    height: 533px;
    width: 530px;
    max-width: 100%;
    margin: 0 auto;
}

/* Sağ Panel Bitiş */

/* Panel içerik stilleri */
.panel-title {
    background-color: #2d2d2b;
    height: 37px;
    min-width: 120px;
    /* Minimum genişlik */
    width: fit-content;
    /* İçeriğe göre genişleme */
    padding: 5px 15px;
    color: #fff;
    border-radius: 17px;
    text-align: center;
    line-height: 25px;
    margin-right: 5px;
    /* Sola yapıştırma */
    white-space: nowrap;
    /* Tek satırda tutma */
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;

}

.panel-video {
    background-color: #2d2d2b;
    height: auto;
    min-height: 40px;
    width: 100%;
    border-radius: 17px;
    margin-top: 10px;
    color: #fff;
    font-size: 14px;
    padding: 10px 15px;
}

.panel-video p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yt-button {
    margin-right: 5px;
    background-color: #ff3838;
    height: 37px;
    width: 38px;
    border-radius: 17px;
    color: #fff;
    border: none;
    cursor: pointer;
}

.yt-button:hover {
    background-color: #ff0000aa;
}


/* Buton Stilleri */
.apply-button,
.replay-button {
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.apply-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #45a834;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.replay-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #b500ff;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}


/* Replay buton hover efekti */
.replay-button:hover,
.replay-button-mobil:hover {
    background-color: rgba(212, 0, 255, 0.33) !important;
}

.apply-button.active::before,
.replay-button.active::before {
    opacity: 1;
    z-index: 0;
}

.apply-button i,
.replay-button i {
    position: relative;
    z-index: 1;
}



.apply-button {
    background-color: #1C1B0E;
    height: 35px;
    width: 38px;
    border-radius: 17px;
    color: #fff;
    border: none;
    cursor: pointer;
}

.apply-button-mobil {
    background-color: #1C1B0E;
    height: 47px;
    width: 30%;
    border-radius: 17px;
    color: #fff;
    border: none;
    cursor: pointer;
}

.replay-button-mobil {
    background-color: #1C1B0E;
    height: 47px;
    width: 30%;
    border-radius: 17px;
    color: #fff;
    border: none;
    cursor: pointer;
}


.dice-button-mobil {
    background-color: #1C1B0E;
    height: 47px;
    width: 30%;
    border-radius: 17px;
    color: #fff;
    border: none;
    cursor: pointer;
}

.dice-button {
    background-color: #1C1B0E;
    width: 47px;
    height: 47px;
    border-radius: 17px;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-left: 24px;
}



.replay-button {
    background-color: #3a3a3a;
    height: 35px;
    width: 38px;
    border-radius: 17px;
    color: #fff;
    border: none;
    cursor: pointer;
}

.replay-button:hover {
    background-color: #2a0029ad;
}

.panel-date {
    background-color: #2d2d2b;
    height: 35px;
    min-width: 90px;
    /* Minimum genişlik */
    width: fit-content;
    /* İçeriğe göre genişleme */
    padding: 5px 15px;
    color: #fff;
    border-radius: 17px;
    text-align: center;
    line-height: 25px;
    margin-right: auto;
    /* Sola yapıştırma */
    white-space: nowrap;
    /* Tek satırda tutma */
    transition: all 0.3s ease;
}


.panel-controls {
    display: flex;

}

.control-dot {
    background-color: #3a3a3a;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
}

/* Panel Stilleri */
.content-panel.apply-active,
.content-panel-mid.apply-active,
.today-video.apply-active {
    background: linear-gradient(to right, #1756104f, #112511);
}

.content-panel.replay-active,
.content-panel-mid.replay-active,
.today-video.replay-active {
    background: linear-gradient(to right, #65187a4f, #2a142a);
}




/* Sosyal medya ve sayfa geçiş bölümleri için stil düzenlemeleri */
.social {
    gap: 45px;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.sayfa-gec {
    background-color: #151A1D;
    border-radius: 17px;
    height: 192px;
    width: 530px;
    max-width: 100%;
    margin: 26px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sayfa-gec-mobil {
    background-color: #151A1D;
    border-radius: 17px;
    height: 192px;
    width: 530px;
    max-width: 100%;
    margin: 26px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Tema değiştirme butonu ve seçenekleri için stiller */
.theme-switcher {
    position: relative;
    margin-bottom: 15px;
    z-index: 100;
}

.theme-button {
    background-color: #282828;
    color: #fff;
    border: none;
    border-radius: 17px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    margin: 0 auto;
    justify-content: center;
    font-size: 14px;
}

.theme-button:hover {
    background-color: #3a3a3a;
}

.theme-button i {
    font-size: 16px;
    color: #ff9800;
}

.theme-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #282828;
    border-radius: 17px;
    padding: 15px;
    margin-top: 10px;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.theme-options.show {
    display: grid;
}

.theme-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 10px;
}

.theme-option:hover {
    background-color: #3a3a3a;
}

.theme-preview {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 2px solid #555;
}

.theme-option span {
    color: #fff;
    font-size: 14px;
}

/* Tema önizlemeleri */
.default-theme {
    background: linear-gradient(135deg, #000d12 0%, #151a1d 50%, #282828 100%);
}

.dark-theme {
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 50%, #1c1c1c 100%);
}

.light-theme {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
}

.purple-theme {
    background: linear-gradient(135deg, #4a148c 0%, #6a1b9a 50%, #8e24aa 100%);
}

/* Tema renkleri - varsayılan tema */
:root {
    --bg-primary: hsl(203, 31%, 5%);
    --bg-secondary: #151a1d;
    --bg-tertiary: #1e1d1d;
    --text-primary: #ffffff;
    --accent-color: #ff3838;
    --button-primary: #312f2e91;
    --button-hover: #022a00ad;
    --panel-title: #312f2e91;
    --today-panel-title: #2D2D2B;
    --arama-panel-title: #1c1b0e;
    --gradient-start: rgba(45, 45, 44, 1);
    --gradient-end-today: rgba(0, 52, 52, 1);
    --gradient-end-mid: rgba(52, 41, 0, 1);
}

/* Koyu tema - daha şık ve koyu tonlar */
[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1c1c1c;
    --text-primary: #f0f0f0;
    --accent-color: #8b5cf6;
    --button-primary: #2a2a2a;
    --button-hover: #333333;
    --panel-title: #232323;
    --today-panel-title: #cd3939;
    --gradient-start: rgba(25, 25, 25, 1);
    --gradient-end-today: rgba(10, 30, 45, 1);
    --gradient-end-mid: rgba(45, 25, 10, 1);
}

/* Açık tema - daha yumuşak ve ferah tonlar */
[data-theme="light"] {
    --bg-primary: #f8f9fa;
    --bg-secondary: #e9ecef;
    --bg-tertiary: #dee2e6;
    --text-primary: #e6e6e6;
    --accent-color: #0d6efd;
    --button-primary: #ced4da;
    --button-hover: #adb5bd;
    --panel-title: #adb5bd;
    --today-panel-title: #cd3939;
    --gradient-start: rgba(200, 200, 200, 1);
    --gradient-end-today: rgba(120, 200, 200, 1);
    --gradient-end-mid: rgba(200, 180, 120, 1);
}

/* Mor tema - daha canlı ve zengin mor tonları */
[data-theme="purple"] {
    --bg-primary: #4a148c;
    --bg-secondary: #6a1b9a;
    --bg-tertiary: #8e24aa;
    --text-primary: #f3e5f5;
    --accent-color: #e040fb;
    --button-primary: #7b1fa2;
    --button-hover: #6a1b9a;
    --panel-title: #7b1fa2;
    --gradient-start: rgba(106, 27, 154, 1);
    --gradient-end-today: rgba(40, 53, 147, 1);
    --gradient-end-mid: rgba(171, 71, 188, 1);
}

/* Tema değişkenlerini uygulama */
.bg-custom {
    background-color: var(--bg-primary);
}

.container-custom,
.container-custom-mid,
.panel-container-right,
.panel-large-right,
.wp,
.yt,
.sayfa-gec {
    background-color: var(--bg-secondary);
}

.content-panel,
.content-panel-mid,
.today-video {
    background-color: var(--bg-tertiary);
}

.panel-title,
.panel-date,
.panel-video {
    background-color: var(--panel-title);
    color: var(--text-primary);
}

.apply-button,
.replay-button {
    background-color: var(--button-primary);
}

.apply-button:hover,
.replay-button:hover {
    background-color: var(--button-hover);
}



/* Dropdown Stilleri */
.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none !important;
    padding-right: 15px;
}

/* Dropdown Option Stilleri */
.form-select option {
    background-color: rgb(37, 37, 37);
    color: #ffffff;
    padding: 10px;
    font-size: 14px;
}

/* Dropdown Option Hover Stili */
.form-select option:hover {
    background-color: #2d2d2d !important;
    color: #ffffff;
}

/* Dropdown Option Selected Stili */
.form-select option:checked {
    background-color: #3a3a3a !important;
    color: #ffffff;
}

/* Dropdown Scrollbar Stilleri */
.form-select::-webkit-scrollbar {
    width: 8px;
}

.form-select::-webkit-scrollbar-track {
    background: #1C1B0E;
    border-radius: 4px;
}

.form-select::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 4px;
}

.form-select::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

/* Mobil Dropdown Stilleri */
.konuAra-mobil,
.ogretmenAra-mobil {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none !important;
    padding-right: 15px;
}

/* Mobil Dropdown Option Stilleri */
.konuAra-mobil option,
.ogretmenAra-mobil option {
    background-color: rgb(37, 37, 37);
    color: #ffffff;
    padding: 10px;
    font-size: 14px;
}

/* Mobil Dropdown Option Hover Stili */
.konuAra-mobil option:hover,
.ogretmenAra-mobil option:hover {
    background-color: #2d2d2d !important;
    color: #ffffff;
}

/* Mobil Dropdown Option Selected Stili */
.konuAra-mobil option:checked,
.ogretmenAra-mobil option:checked {
    background-color: #3a3a3a !important;
    color: #ffffff;
}

/* Mobil Dropdown Scrollbar Stilleri */
.konuAra-mobil::-webkit-scrollbar,
.ogretmenAra-mobil::-webkit-scrollbar {
    width: 8px;
}

.konuAra-mobil::-webkit-scrollbar-track,
.ogretmenAra-mobil::-webkit-scrollbar-track {
    background: #1C1B0E;
    border-radius: 4px;
}

.konuAra-mobil::-webkit-scrollbar-thumb,
.ogretmenAra-mobil::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 4px;
}

.konuAra-mobil::-webkit-scrollbar-thumb:hover,
.ogretmenAra-mobil::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

/* Notlar ve Çizim Alanı Stilleri */
#notes-text,
#notes-text-mobile {
    background-color: transparent;
    color: white;
    border: none;
    resize: none;
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    font-size: 16px;
    margin-top: 0;
    transition: margin-top 0.3s ease;
    outline: none;
    box-shadow: none;
    overflow: hidden;
    word-wrap: break-word;
    height: calc(100% - 20px) !important;
    line-height: 1.5;
    max-height: calc(1.5em * 13 + 20px);
    /* 13 satırlık maksimum yükseklik */
}

#notes-text:focus,
#notes-text-mobile:focus {
    outline: none;
    border: none;
    box-shadow: none;
}



/* Not satır sayısını görsel ipucu olarak gösterilmesi */
#notes-text::placeholder,
#notes-text-mobile::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.tool-btn.active {
    background-color: #666 !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.tool-btn:hover {
    background-color: #555 !important;
}

#eraser-mode.active i,
#eraser-mode-mobile.active i {
    color: #ffffff !important;
}

#draw-mode.active i,
#draw-mode-mobile.active i {
    color: #ffffff !important;
}

#text-mode.active i,
#text-mode-mobile.active i {
    color: #ffffff !important;
}

/* Silgi modu için cursor stili */
.eraser-cursor {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10' fill='none'/%3E%3C/svg%3E") 12 12, auto !important;
}

.eraser-cursor-mobile {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10' fill='none'/%3E%3C/svg%3E") 12 12, auto !important;
}

/* Video Öneri Bölümü Stilleri */
.suggestion-panel {
    background-color: #282828;
    border-radius: 17px;
    height: 70px;
    width: 90%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.suggestion-panel:hover {
    background-color: #444444;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.suggestion-panel h4 {
    color: #e0e0e0;
    font-weight: 500;
    font-size: 16px;
    margin: 0;
    padding: 0 20px;
    text-align: center;
    line-height: 1.3;
    display: flex;
    align-items: center;
}

.suggestion-panel i {
    margin-right: 10px;
    font-size: 20px;
    color: #cccccc;
}



/* Öneri Modal Stilleri */
.suggestion-btn {
    background-color: #333333 !important;
    color: #e0e0e0 !important;
    text-align: left;
    padding: 14px 16px;
    font-weight: 500;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.suggestion-btn:hover {
    background-color: #3d3d3d !important;
    border-color: rgba(255, 255, 255, 0.1);
}

.suggestion-btn i {
    color: #b8b8b8;
}

.suggestion-btn:hover i {
    color: #d4d4d4;
}

.suggestion-content {
    padding: 15px;
    background-color: #303030;
    border-radius: 10px;
    margin-top: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.suggestion-content input,
.suggestion-content textarea {
    background-color: #3d3d3d !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.suggestion-content input:focus,
.suggestion-content textarea:focus {
    background-color: #424242 !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.close-btn {
    background-color: #3a3a3a !important;
    color: #d0d0d0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 14px;
}

.close-btn:hover {
    background-color: #444444 !important;
    color: #e0e0e0;
}

.submit-btn {
    background-color: #444444 !important;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}



/* Placeholder stilleri */
.suggestion-content input::placeholder,
.suggestion-content textarea::placeholder {
    color: #909090;
    font-style: italic;
    font-size: 13px;
}

#suggestionModal .modal-body {
    overflow: hidden;
}

@media (max-width: 4000px) {
    .panel-container-right-mobil {
        display: none;
    }

    .panel-container-right {
        display: block;
    }
}


@media (max-width: 1580px) {
    .panel-date {
        width: 10px;
    }

    .panel-date p {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 1422px) {
    .panel-title {
        width: 10px;
        min-width: 80px;
    }

    .panel-title p {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 1306px) {
    .panel-title {
        display: none;
    }
}

@media (max-width: 1000px),
(orientation: portrait) {
    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        width: 100%;
        padding: 10px !important;
    }

    .row>div {
        padding: 0 !important;
    }

    .row>* {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .container-custom,
    .container-custom-mid,
    .panel-large-right,
    .panel-dark-right,
    .panel-container-left,
    .panel-container-right,
    .howto,
    .sayfa-gec-mobil {
        width: 100%;
        max-width: 120vw;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        padding: 10px;
    }

    .container-fluid {
        padding: 0 !important;
    }

    .col,
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12,
    .col-sm,
    .col-md,
    .col-lg,
    .col-xl {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .container-custom {
        height: 100%;
    }

    .panel-title {
        width: 120px;
        min-width: 100px;
        display: block;
    }

    .panel-title p {
        overflow: visible;
    }

    .panel-date {
        width: 140px;
    }

    .panel-date p {
        overflow: visible;
    }

    .container-custom-mid {
        width: 100%;
        height: auto;
        max-height: 801px;
        padding-bottom: 15px;
    }

    .panel-container-mid {
        max-height: 600px;
        overflow-y: auto !important;
        padding: 0;
        margin-top: 10px;
    }

    .content-panel-mid {
        width: 100%;
        margin-bottom: 15px;
    }

    .panel-dark-mid {
        height: auto;
        padding: 10px;
        flex-direction: column;
    }

    .dice-button,
    .apply-button,
    .replay-button {
        margin: 5px;
    }

    .panel-controls-mobil {
        width: 100%;
        justify-content: space-around;
    }

    .konuAra,
    .ogretmenAra {
        width: 45%;
        margin: 5px;
    }

    .konuAra-mobil,
    .ogretmenAra-mobil {
        width: 45%;
        justify-content: center;
        align-items: center;
    }

    .quest-box {
        width: 80%;
        max-width: 300px;
    }

    .panel-large-right {
        margin-top: 30px;
        padding: 0;
        margin-bottom: 30px;
    }

    .sayfa-gec-mobil {
        display: flex;
        height: 80px;
    }

    .sayfa-gec-mobil img {
        height: 70px;
        width: 70px;
    }

    .sayfa-gec {
        display: none;
    }

    .yks-container {
        display: block;
    }

    .panel-container-left {
        display: none;
    }

    .panel-container-right-mobil {
        display: flex;
        width: 100%;
    }

    .panel-container-right {
        display: none;
    }

    /* Mobil cihazlar için scroll çubuğu stilleri */
    .panel-container-mid::-webkit-scrollbar {
        width: 6px;
    }

    .panel-container-mid::-webkit-scrollbar-track {
        border-radius: 3px;
    }

    .panel-container-mid::-webkit-scrollbar-thumb {
        background: #3a3a3a;
    }

    .panel-container-mid::-webkit-scrollbar-thumb:hover {
        background: #4d4d4d;
    }

    /* Mobil ve desktop sınıf görünürlüğü */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .content-panel {
        width: 620px;
    }

    .today-video {
        width: 620px;
    }


    @media (max-width: 767px) {
        .panel-container-mid {
            max-height: 500px;
        }

        .container-custom {
            width: 100%;
        }

        .container-fluid,
        .container {
            padding-right: 0 !important;
            padding-left: 0 !important;
        }

        .row {
            margin-right: 0 !important;
            margin-left: 0 !important;
        }
    }

    @media screen and (max-width: 492px) {
        .panel-date {
            width: 10px;
            min-width: 80px;
        }

        .panel-date p {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    }

    @media screen and (max-width: 432px) {
        .panel-title {
            width: 10px;
            min-width: 80px;
        }

        .panel-title p {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    }

    @media screen and (max-width: 405px) {
        .panel-title {
            display: none;
        }

        .panel-date {
            width: auto;
            min-width: 70px;
        }

        .yks-container {
            height: 110px;

        }

        .yks-container span {
            font-size: 1.4rem;
        }


    }

    @media screen and (max-width: 370px) {


        .panel-date {
            width: 10px;
            min-width: 100px;
        }

        .panel-title p {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }


}





/* Orantılı ölçekleme sınıfı */
.proportional-scaling {
    height: auto !important;
    overflow-x: hidden;
    overflow-y: hidden;
    position: absolute !important;
    left: 50% !important;
    transform-origin: top center !important;
    background-color: var(--bg-primary);
}

/* Orantılı ölçekleme (1920px'den 1000px'e) */
@media screen and (min-width: 1000px) and (max-width: 1920px) {
    :root {
        --scale-ratio: calc((100vw / 1920));
    }

    /* CSS transform ile ölçekleme - Bu özellikler JavaScript ile doğrudan uygulanacak */
    /* Buradaki özellikler, JavaScript yüklenmediği durumda yedek olarak bulunuyor */
    html {
        height: 100%;
        overflow: hidden;
        background-color: var(--bg-primary);
    }

    .bg-custom {
        min-height: 100vh;
        height: 100vh;
        background-color: var(--bg-primary);
    }

    /* Panel scroll özelliklerini koru */
    .panel-container-mid {
        overflow-y: auto !important;
    }
}

/* Görünüm sınıfları */
.desktop-scaled-view .mobile-only {
    display: none !important;
}

.mobile-view .desktop-only {
    display: none !important;
}

/* Yatay modda ölçekleme için medya sorgusu - sadece yatay ve geniş ekranlarda */
@media screen and (orientation: landscape) and (min-width: 1001px) and (max-width: 1920px) {
    :root {
        --scale-ratio: calc((100vw / 1920));
    }

    /* CSS transform ile ölçekleme - Bu özellikler JavaScript ile doğrudan uygulanacak */
    html {
        height: 100%;
        overflow: hidden;
        background-color: var(--bg-primary);
    }

    .bg-custom {
        min-height: 100vh;
        height: 100vh;
        background-color: var(--bg-primary);
    }

    /* Panel scroll özelliklerini koru */
    .panel-container-mid {
        overflow-y: auto !important;
    }
}

/* Cihaz yönlendirme uyarısı */
#rotate-device-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

#rotate-device-warning.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0s 0.4s;
    visibility: hidden;
}

.rotate-content {
    background-color: var(--bg-primary);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    max-width: 90%;
    width: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: pulse 2.5s infinite ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rotate-icon-container {
    position: relative;
    height: 80px;
    width: 80px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotate-icon-container i.fa-tablet-screen-button {
    color: #ffffff;
    font-size: 50px;
    position: absolute;
}

.rotate-icon-container i.rotate-arrow {
    color: #ffcc00;
    position: absolute;
    animation: rotate 2s infinite ease-in-out;
    font-size: 30px;
    margin-top: -15px;
    margin-left: 35px;
}

.rotate-content h3 {
    color: #ffffff;
    font-size: 22px;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.rotate-content p {
    color: #cccccc;
    font-size: 15px;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.rotate-buttons {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

#rotate-close-btn {
    background-color: #ffcc00;
    color: #000000;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#rotate-continue-btn {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#rotate-close-btn:hover {
    background-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

#rotate-continue-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

@keyframes rotate {
    0% {
        transform: rotate(-30deg);
    }

    50% {
        transform: rotate(60deg);
    }

    100% {
        transform: rotate(-30deg);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.3);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 204, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
    }
}

/* Sadece tablet cihazlarda dikey modda göster, iPad Pro dahil */
@media (orientation: landscape),
(max-width: 600px),
(min-width: 1500px) {
    #rotate-device-warning {
        display: none !important;
    }
}

/* iPad Pro özel stil ayarları */
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) {
    #rotate-device-warning {
        display: flex !important;
    }

    .rotate-content {
        width: 420px;
        padding: 35px 30px;
    }

    .rotate-content h3 {
        font-size: 24px;
    }

    .rotate-content p {
        font-size: 16px;
    }

    .rotate-buttons {
        margin-top: 20px;
    }

    #rotate-close-btn,
    #rotate-continue-btn {
        padding: 14px 24px;
    }
}