* {
    box-sizing: border-box;
    outline: none; /* Mavi çerçeveyi kaldırır */
}


@font-face {
    font-family: 'fontum'; /* Font adı */
    src: url('fontum.otf') format('opentype'); /* Modern tarayıcılar için */
    font-weight: normal;
    font-style: normal;
}

*{ box-sizing:border-box }
html,body{ height:100% }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* Mobil uyumluluk için genişliği %90 yapıyoruz */
    background-color: #fff; /* Beyaz arka plan */
    border-radius: 15px; /* Yuvarlak köşeler */
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 20px;
    z-index: 1000;
    display: none; /* Başlangıçta gizli */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Gölgelendirme */
    overflow-y: hidden;
    max-height: 80%; /* Ekranın %80'i kadar yüksekliğe izin ver */
}
.popup h2 {
    margin-top: 0;
    font-size: 16px;
    color: #333;
    text-align: center;
    align-items: center; 
}

.popup-content {
    display: flex;
    gap: 20px;
    width: 100%;
    max-height: 80vh; /* Pop-up'ın maksimum yüksekliğini belirliyoruz */
}

.popup-content-left {
    width: 20%; /* Sol taraf %30 olacak */
    overflow: hidden; /* Kaydırmayı devre dışı bırakıyoruz */
    position: sticky;
    align-items: center;  /* Dikey ortalama */
}

.popup-content-right {
    width: 80%; /* Sağ taraf %70 olacak şekilde ayarlanacak */

    overflow-y: auto; /* Sağ tarafa dikey kaydırma ekliyoruz */
    max-height: 80vh; /* Sağ taraf için maksimum yüksekliği ayarlıyoruz */
}

.popup-image {
    width: 100%;
    object-fit: cover;
    align-items: center; 
    border-radius: 10px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.details-list li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    color: #555;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}
.close-popup:hover {
    color: #000;
}


.popup-sort {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* Mobil uyumluluk için genişliği %90 yapıyoruz */
    background-color: #fff; /* Beyaz arka plan */
    border-radius: 15px; /* Yuvarlak köşeler */
    padding: 20px;
    z-index: 1000;
    display: none; /* Başlangıçta gizli */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Gölgelendirme */
    overflow-y: auto;
    max-height: 80%; /* Ekranın %80'i kadar yüksekliğe izin ver */
}
.popup-sort h2{
    margin-top: 0;
    font-size: 20px;
    color: #333;
    text-align: left;
}
.popup-sort button{
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: #6200EE;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

#popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1000;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}





.desktop-mobil {
    display: none;
    flex-direction: column; /* Yatay sıralama */
    align-items: center; /* Yatayda ortalama */
    justify-content: space-between; /* Eşit boşluk bırak */
}

.search-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 5px;
}
.search-dropdown-popup {
    position: relative;
    width: 100%;
    margin-bottom: 5px;
}

#category-search, #brand-search, #bank-search {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none; /* Çerçeveyi kaldır */
    background-color: transparent;
    outline: none; /* Fokus çerçevesini kaldır */
}
#category-search-popup, #brand-search-popup, #bank-search-popup {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none; /* Çerçeveyi kaldır */
    background-color: transparent;
    outline: none; /* Fokus çerçevesini kaldır */
}





.label {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
}

.slider-label {
    display: block;
    margin-top: 10px;
}
.button-group-label {
    display: block;
    margin-top: 5px;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
    margin-top: 10px;
}

.option-button {
    width: calc(33% - 5px);
    margin: 2px;
    padding: 3px;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 1px;
    padding-right: 1px;
    background-color: #C3C3C3;
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.option-button.active {
    background-color: #6200EE;
}

/*
#find-campaign {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: #6200EE;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}*/






.tag-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.tag-container-desktop {
    display: none;
    flex-wrap: nowrap;
    overflow-x: auto;
}


.tag {

    flex: 1 1 auto;
    min-width: 100px;  
    max-width: calc(33.33%);
    padding: 10px 10px;
    background-color: #6200EE;
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
     white-space: nowrap;  // Metni tek satırda tut
    overflow: hidden;  // Taşan içeriği gizle
    text-overflow: ellipsis;  
}

.remove-tag {
    margin-left: 10px;
    cursor: pointer;
}



/*Loading ekranı*/
/* Loading ekranı */
#loading-screen {
    display: none;  /* Başlangıçta gizli */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255);  /* Yarı şeffaf arka plan */
    z-index: 1000;  /* Diğer tüm içeriklerin önünde */
    display: flex;  /* Flexbox kullanarak ortalama */
    align-items: center;  /* Dikey ortalama */
    justify-content: center;  /* Yatay ortalama */
    font-family: 'Poppins', sans-serif;
}

.loader-container {
    text-align: center;
    color: #6200EE; /* Metin rengini ayarladık */
}

.spinner {
    border: 4px solid #6200EE;
    border-radius: 50%;
    border-top: 4px solid #C3C3C3;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto;  /* Ortalamak için */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tips {
    font-size: 14px;
    margin-top: 20px;
    opacity: 0.7;
    color: #6200EE; /* Metin rengini ayarladık */
}

p {
    margin-top: 15px;
    margin-right: 30px;
    margin-left: 30px;
}

.filter-container {
    display: flex;
    flex-direction: column;
    margin-top: 5x;
}


#amount-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    margin-top: 20px;
    background: linear-gradient(to right, #6200EE 0%, #ddd 0%);
    border-radius: 5px;
    outline: none;
    opacity: 0.9;
    transition: background 0.3s ease;
}


#amount-display {
    font-size: 14px;
    color: #6200EE;
}

.styled-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 20px;
    border: 1px solid #C3C3C3;
    background-color: #F0F0F0;
}



.campaign-btn {
    width: 48%;
    padding: 5px;
    color: #6200EE;
    margin-top: 10px;
    bottom: 0;
    border: none;
    font-size: 12px;
    cursor: pointer;
    border-radius: 10px;
    background-color: #f5f5f5;
}





#cookieConsent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    display: none; /* Başlangıçta gizli */
}

#cookieConsent a {
    color: #f4a460;
    text-decoration: underline;
}

#cookieConsent button {
    background: #6200EE;
    border: none;
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

.dropdown-content {
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #C3C3C3;
    border-radius: 5px;
    display: none;
    z-index: 1000;
}


.dropdown-content li {
    list-style-type: none; /* Madde işaretlerini kaldır */
    padding: 5px 10px; /* Hem sol hem sağ boşlukları optimize eder */
    margin: 0; /* Dış boşlukları tamamen kaldır */
    cursor: pointer; /* Tıklanabilir öğe */
    text-align: left; /* Metin hizalamasını solda tutar */
}
.dropdown-content li:hover {
    background-color: #f1f1f1;
}


/*Spinner çarpı buttonları için*/
.input-container {
    display: flex;
    align-items: center;
    background-color: #F0F0F0;
    border: 1px solid #C3C3C3; /* Sadece input-container için çerçeve ekledik */
    border-radius: 20px;
    padding: 5px 10px; /* İçeride boşluk bıraktık */
    width: 100%;
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 10px; /* İkon ve input arasında boşluk bırak */
}

.icon-left {
    width: 20px;
    height: 20px;
}

.input-container input {
    flex: 1;
    border: none; /* Input elemanının çerçevesini kaldırdık */
    background: transparent;
    padding: 0;
    font-size: 16px;
    outline: none; /* Odaklandığında mavi çerçeveyi kaldır */
}




.clear-btn-brand {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: #C3C3C3;
    cursor: pointer;
    outline: none;
}

.clear-btn-brand:hover {
    color: #6200EE;
}

.clear-btn-brand-popup {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: #C3C3C3;
    cursor: pointer;
    outline: none;
}

.clear-btn-brand-popup:hover {
    color: #6200EE;
}


.clear-btn-category {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: #C3C3C3;
    cursor: pointer;
    outline: none;
}

.clear-btn-category:hover {
    color: #6200EE;
}

.clear-btn-category-popup {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: #C3C3C3;
    cursor: pointer;
    outline: none;
}

.clear-btn-category-popup:hover {
    color: #6200EE;
}



.label_kampanya_tipi {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}


/*Dropdown seçim*/
.highlighted {
    font-weight: bold;
    color: #6200EE; /* Vurgulamak istediğiniz renk */
    background-color: #f0f0f5; /* Arka plan rengi (isteğe bağlı) */
}


.content-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}




    

.image-container {
    width: 40%;
    aspect-ratio: 4 / 3; /* 4:3 oranını sağlar */
    overflow: hidden;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görselin alanı doldurması için */
}


.text-container {
    width: 60%;
    padding: 0px;
    margin: 0px;
    display: flex;
    font-size: 8px;
    align-self: flex-start;
    flex-direction: column;
    align-items: flex-start; /* İçindeki itemleri üste hizalar */
    justify-content: flex-start; /* Yatayda üst hizalama sağlar */
    gap: 0px;
}
.text-container p{
    font-size: 9px;
}

.minspend-text {
    color: #666;
    margin: 0;
    margin-top: 4px;
}
.reward-text {
    margin: 0;
    color: #666;
}
.max-reward-text {
    margin: 0;
    color: #666;
}

.minspend-text p{
    font-size: 0.6rem;
}
.reward-text p{
    font-size: 0.6rem;
}
.max-reward-text p{
    font-size: 0.6rem;
}


.campaign-name {
    margin: 0;
    font-size: 11px;
    text-align: left;
}

.reward-badge {
    position: absolute;
    top: 20px;          /* Görselin üstünden aşağıda konum */
    right: 15px;        /* Görselin sağından içeride konum */
    width: 50px;        /* Sabit genişlik */
    height: 50px;       /* Sabit yükseklik */
    display: flex;
    padding: 4px;
    align-items: center;
    justify-content: center;
    background-color: #6200EE;
    color: white;
    border-radius: 50%; /* Daire yapmak için */
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.warning-message {
    width: 100%;                /* Genişliği container boyunca */
    background-color: #FFA726;   /* Kırmızı arka plan */
    color: white;                /* Beyaz yazı rengi */
    text-align: center;          /* Ortalanmış metin */
    padding: 3px;    
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 10px;           /* İç boşluk */
    font-weight: bold;           /* Kalın metin */
    border-radius: 6px;
}

.max-reward-badge {
    position: absolute;
    bottom: 10px;
    left: 15px;
    top: 0px;
    right: 0px;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #6200EE;
    color: white;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.max-reward-badge {
    top: 80px; /* Reward balonunun hemen altında konumlandırılır */
    background-color: #ffc000; /* Farklı renk kullanımı */
}


.central-button-desktop {
    display: none;
    width: 66px;
    height: 66px;
    background-color: #5E35B1; /* Orta buton rengi */
    color: #FFFFFF;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%; /* Yuvarlak buton */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Gölgeli efekt */
    justify-content: center;
    align-items: center;
    max-height: 100px;
    margin: 0 4px;
}

.divider {
    width: 1px;
    height: 30px;
    background-color: #ddd;
    opacity: 0.5;
}

/* İkonlar için stil */

.central-button2{
    width: 30px;
    height: 30px;
}



.fade-out {
    opacity: 0;
    transition: opacity 0.6s ease; /* Opaklık geçişi için 0.5 saniyelik efekt */
}

.centered-text {
    text-align: center;
    margin: 8px 16px;
}

.kampanya-info {
    display: flex; /* Başlangıçta gizli */
    align-items: center;
    flex-direction: column;
    background-color: #f1f3f4;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    color: #5f6368;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.kampanya-info:hover {
    background-color: #f0f0f0; /* Arka plan rengi hover ile değişsin */
}

#kampanya-info-header {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: left;
    display: none; /* Başlangıçta gizli */
}

.kampanya-info-popup {
    display: flex; /* Başlangıçta gizli */
    align-items: center;
    background-color: #f1f3f4;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 12px;
    color: #5f6368;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.kampanya-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}




/* Kampanya detaylarındaki görsel */
.details-container {
    margin-top: 10px;
}

.details-container .details-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
}


.fab-scrool{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: none;
    background-color: #6200EE;;
    z-index: 9995;
    justify-content: center;
    align-items: center;
}

.fab-scrool-button{
    display: flex;
    background-color: transparent;;
    justify-content: center;
    align-items: center;
    border: none;
}

.fab-image{
    width: 24px;
    height: 24px;
}









.custom-button2 {
    display: none;
}
.central-button-desktop2 {
    display: none;
}
.central-button-desktop2-icon {
    display: none;
}



/*Sadeleştirilenler*/




/* Kampanya item */
.campaign-item h3 {
    margin-top: 0px; /* Üstten boşluğu azaltmak için */    
    color: #6200EE;
    font-size: 18px;
    margin-bottom: 0px;
}

.campaign-item p {
    padding: 1px;
    margin: 1px;
    display: block; /* Eğer `none` ise bunu `block` yapın */
    color: #000; /* Metin renginin görünür olduğundan emin olun */
}
.campaign-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.campaign-header-div {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center; /* Dikey hizalama */
    gap: 5px;
}
.campaign-bankname-div {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Geri kalan boşluğu doldur */
    width: calc(100% - 40px); /* Bu kuralı kaldırabiliriz, flex-grow bunu yönetir */
    white-space: nowrap; /* Taşan metinler için seçenek */
    overflow: hidden; /* Taşan metinleri gizle */
    text-overflow: ellipsis; /* Taşan metinlere üç nokta ekle */
}

.campaign-remaining-day{
    font-size: 9px;
    font-weight: bold;
    color: #696969;
    border: none;
    margin-bottom: 4px;
}

.share-button {
    outline: none; 
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    border-radius: 50%; /* Butonu yuvarlak yapar */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Yumuşak geçişler */
    transition: box-shadow 0.3s ease; /* Yumuşak geçiş efekti */
    position: relative; /* Ripple efekti için gerekli */
    overflow: hidden; /* Ripple efektinin dışarı taşmasını önler */
}

.share-button-img {
    width: 20px !important; 
    height: 20px !important;
    transition: transform 0.2s ease; /* Tıklama ile hafif küçülme */
}

.share-button:hover {
    background-color: #f0f0f0; /* Hover durumunda renk değişimi */
}


.ripple {
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        width: 200%;
        height: 200%;
        transform: scale(1);
        opacity: 0;
    }
}

.share-menu {
    display: none;
    position: fixed;
    bottom: 20px; /* Ekranın altında biraz boşluk */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.95); /* Hafif saydam arka plan */
    backdrop-filter: blur(10px); /* Arka planı flu yapar */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 12px;
    z-index: 9999;
    max-width: 90%;
    width: 400px;
    flex-direction: column;
    align-items: center;
    animation: slide-up 0.3s ease-in-out; /* Smooth görünme animasyonu */
    background: linear-gradient(145deg, #dcdcdc, #f5f5f5); /* Daha parlak bir arka plan */
    color: #333; /* Daha koyu metin rengi */
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 sütunlu bir ızgara */
    gap: 15px; /* İkonlar arasında boşluk */
    justify-items: center; /* İkonları ortalar */
    margin-bottom: 10px;
    width: 100%;
    color: #333; /* Daha koyu metin rengi */
}

.share-option {
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px; /* Buton boyutu */
    height: 80px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 20px;
}

.share-option:hover {
    transform: scale(1.1); /* Hover sırasında hafif büyüme efekti */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #d4d4d4, #f0f0f0);
}

.share-option img {
    width: 28px; /* İkon boyutu */
    height: 28px;
    margin-bottom: 5px; /* İkon ile metin arasına boşluk */
}

.share-option span {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}
.close-popup-div
{
    width: 100%;
    display: flex; /* Flexbox kullanımı */
    justify-content: flex-end; /* İçeriği sağa hizalar */
    padding-right: 10px; /* Sağ tarafa 20px boşluk ekler */
}

.close-share-menu {
    padding: 10px 10px;
    font-size: 12px;
    margin-bottom: 16px;
    background-color: #f0f0f0;
    color: #424242;
    border: none;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}



@keyframes slide-up {
    from {
        opacity: 0;
        transform: translate(-50%, 100%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}



.campaign-type-desktop {
    position: relative;
    width: 100%;
    margin-bottom: 5px;
}
.styled-input-button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 20px;
    border: none;
    background-color: #F0F0F0;
    color: #333;
    cursor: pointer;
    text-align: left; /* Metni sola hizalar */
}


.campaign-item img {
    border-radius: 10px;
}


/* Kampanya özel detay listesi */
.campaign-item .details-list {
    border-radius: 8px;
    margin: 8px;
}

.campaign-item .details-list li {
    margin: 4px 0;
    line-height: 1.6;
    font-size: 10px;
}









/* Filtre Popup */
.filter-popup {
  display: none;
  position: fixed;
  padding: 8px 16px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #FFFFFF; /* Yarı saydam arka plan */
  justify-content: center;
  align-items: center;
  z-index: 9998;
}

/* Pop-up içeriği */
.filter-popup-content {

    width: 100%;
    flex-direction: column; /* Yatay sıralama */
    align-items: center; /* Yatayda ortalama */
    justify-content: space-between; /* Eşit boşluk bırak */
}

.filter-popup-button-div {
    width: 100%;
    display: flex;          /* Elemanları yatayda sıralamak için */
    flex-wrap: nowrap;      /* Elemanların satırı aşarak alt satıra geçmesini engeller */
    overflow-x: hidden;      
    gap: 10px;              /* Elemanlar arası boşluk */
}



.filter-popup-button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: #6200EE;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

/* Kapatma butonu */
.filter-popup-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6200EE;
}







/* Masaüstü Görünnüm */
@media screen and (min-width: 1024px) {
    body {
        min-height: 100%;
        font-size: 16px;
    }

    h1 {
        font-family: 'fontum', sans-serif; /* İlk tercih özel font, ikinci tercih fallback */
        color: white;
        width: 70%;
        text-align: right;
        margin-top: 0px;
        right: 0px;
        margin-right: 24px;
        font-size: 28px;
        margin-bottom: 5px;
    }
    
    .container {
        width: 85%;
        margin-top: 64px;
        margin-left: 15%;
        padding: 16px 16px;
    }

    .button-filter-mobile-container{
      display: none;
    }

    #campaign-list {
        margin-top: 20px;
    }

     #filter-panel-background {
        left: 0px;
        position: fixed;
        width: 15%;
        height: 100%;
        background-color: #f9f9f9;
        border-right: 1px solid #ddd;
        z-index: 1999px;
        transition: transform 1.3s ease;
    }
    #filter-panel{
        position: fixed;
        top: 64px;
        bottom: 75px;
        left: 0px;
        width: 15%;
        height: calc(100% - 137px);
        padding: 10px;
        overflow-y: auto;
        background: #ECEFF1;
        z-index: 2000px;
        background-color: #f9f9f9;
        border-right: 1px solid #ddd;
        transition: transform 1.3s ease;
    }

    .search-button-desktop  {
        display: flex;
        width: 13%;
        height: 40px;
        background-color: #6200EE;
        color: #FFFFFF;
        font-size: 10px;
        font-weight: bold;
        border-radius: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 10px;
        left: 1%;
        border: none;
        z-index: 2001px;
    }
    .search-button-desktop :hover {
        background-color: #eead0e;
        border: none;
    }

    #campaign-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Bir satırda maksimum 3 sütun */
        gap: 8px; /* Öğeler arasındaki boşluk */
    }
    .desktop-mobil {
        display: flex;
        flex-direction: row; /* Dikey sıralama */
        gap: 1rem; /* Elemanlar arasında boşluk */

        justify-content: center; /* Yatay ortalama */
    }
    .search-dropdown {
        position: relative;
        width: calc(15%);
        height: 50px;
        margin-bottom: 5px;
    }


    .search-dropdown label{
        display: none;
        position: relative;
        margin-bottom: 5px;
    }


    .slider-label {
       margin-top: 0; /* Üstteki boşluğu sıfırlıyoruz */
        padding: 0; /* Ekstra dolgu boşluğunu sıfırlıyoruz */
        white-space: nowrap; /* Metni bir satıra sığdır */
        overflow: hidden; /* Taşan metni gizle */
        text-overflow: ellipsis; /* Metin taşarsa "..." göster */
    }

    .div-campaign-type {
        display: none;
        display: relative;
        margin-bottom: 5x;
    }

    .div-campaign-type   label{
        display: none;
        position: relative;
        margin-bottom: 5px;
    }

    .tag-container {
        display: none;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .dropdown-content {
        position: absolute;
        width: 100%;
        min-width: 300px;
        max-height: 300px;
        overflow-y: auto;
        background-color: white;
        border: 1px solid #C3C3C3;
        border-radius: 5px;
        display: none;
        z-index: 1000;
    }
    .tag {
        flex: 1 1 auto;
        width: calc(15%);
        max-width: calc(15%);
        margin-top: 4px;
        padding: 10px 10px;
        background-color: #6200EE;
        color: white;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 11px;
         box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
         white-space: nowrap;  // Metni tek satırda tut
        overflow: hidden;  // Taşan içeriği gizle
        text-overflow: ellipsis;  
    }

    .tag-container-desktop {
        display: flex;          /* Elemanları yatayda sıralamak için */
        flex-wrap: nowrap;      /* Elemanların satırı aşarak alt satıra geçmesini engeller */
        overflow-x: auto;       /* Yatayda kaydırma sağlar */
        gap: 10px;              /* Elemanlar arası boşluk */
    }


    .campaign-type-desktop {
        position: relative;
        height: 50px;
        width: calc(15%);
        margin-bottom: 5px;
    }

    .styled-input-button {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        border-radius: 20px;
        border: none;
        background-color: #d3d3d3;
        color: #333;
        cursor: pointer;
        text-align: left; /* Metni sola hizalar */
    }
    
    .campaign-type-desktop  label{
        display: none;
        position: relative;
        margin-bottom: 5px;
    }

    .styled-input-button:hover {
        background-color: #E0E0E0;
    }

    .styled-input-button:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(98, 0, 238, 0.3); /* Fokus olduğunda gölgeli bir etki verir */
    }
    .filter-container { 
        display: none;
        position: relative;
        width: 15%;
        20: 5px;
    }

    .filter-container  label{
        display: none;
        position: relative;
        margin-bottom: 5px;
    }
    #amount-display {
        display: none;
        font-size: 14px;
        color: #6200EE;
    }
    #amount-range {
        display: none;
        -webkit-appearance: none;
        appearance: none;
        width: 20%;
        height: 8px;
        margin-top: 20px;
        background: linear-gradient(to right, #6200EE 0%, #ddd 0%);
        border-radius: 5px;
        outline: none;
        opacity: 0.9;
        transition: background 0.3s ease;
    }
    .label_kampanya_tipi {
        display: block;
        margin-bottom: 5px;
    }

    .button-group {
        display: relative;
        flex-direction: row; /* Dikey sıralama */
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .custom-button {
        font-size: 11px;
        padding: 10px;
    }
    
    .central-button-desktop {
        display: flex;
        width: 10%;
        height: 50px;
        background-color: #5E35B1; /* Orta buton rengi */
        color: #FFFFFF;
        font-size: 10px;
        font-weight: bold;
        border-radius: 20px; /* Yuvarlak buton */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Gölgeli efekt */
        align-items: center;
        justify-content: center;
        max-height: 100px;
        margin: 0 4px;
    }
    .central-button-desktop:hover {
        outline: none;
        background-color: #eead0e;
    }

    .custom-button2 {
        width: calc(15%);
        display: flex;
        align-items: center;
        flex-direction: row;
        height: 50px;
        padding: 5px 10px;
        gap: 8px; /* İkon ile metin arasındaki boşluk */
    }
    .central-button-desktop2 {
        display: flex;
        background-color: #5E35B1; /* Orta buton rengi */
        color: #FFFFFF;
        font-size: 10px;
        font-weight: bold;
        border-radius: 20px; /* Yuvarlak buton */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Gölgeli efekt */
        align-items: center;
        justify-content: center;
        margin: 0 4px;
    }
    .central-button-desktop2-icon {
        width: 24px;
        height: 24px;
        order: -1; /* İkonu sol tarafa almak için */
    }
    .central-button-desktop2:hover {
        outline: none;
        background-color: #eead0e;
    }


    .campaign-item {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: calc(100% - 20px);
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 5px;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .campaign-btn {
        width: 48%;
        padding: 5px;
        color: #6200EE;
        border: none;
        font-size: 14px;
        cursor: pointer;
        border-radius: 10px;
        background-color: #f5f5f5;
        text-align: center;
    }
    .campaign-btn:hover {
        background-color: #e0e0e0;
    }
    .campaign-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 1.585;
    }

    .content-wrapper {
        flex-grow: 1;
    }

    .image-container, .text-container {
        width: 100%;
        text-align: center;
    }

    .image-container img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .button-container {
        display: none;
    }

    #all-campaigns {
        display: none;
        width: 100%;
        background-color: #6200EE;
        color: #fff;
        text-align: center;
        margin: 25px auto;
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 20px;
        transition: background-color 0.3s ease;
        align-items: center; /* Dikey ortalama */
        justify-content: center; /* Yatay ortalama */
        text-decoration: none;
    }

    #not-found {
      display: none;
      flex-direction: column;
      margin-top: 30px;
      align-items: center;
      justify-content: center;
    }

    .not-found-image-container {
      position: relative;
      width: 100%; /* Maksimum genişlik ayarı */
      aspect-ratio: 16 / 9; /* 16:9 oranı */
      overflow: hidden;
      display: flex;
      border-radius: 20px;
      justify-content: center;
      align-items: center;
      background-color: #f5f5f5; /* Görsel yüklenmezse bir arka plan rengi */
    }

    .not-found-image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover; /* Görüntü bozulmadan alanı doldur */
    }

    .not-found-text {
      margin-top: 20px;
      font-size: 14px;
      color: #333;
      text-align: center;
    }

    #fab-filter-text{
        display: none;
    }


  
}


#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #6200EE;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 9998;
    display: none;
    flex-direction: column;
}

#cookie-banner p{
    margin: 0px;
    color: #fff;font-size: 16px;
    text-align: left;

}

#cookie-banner .div-button{
    display: flex;
    flex-direction: column;

}
#cookie-banner .cookieButton{
    background: #FFFFFF;
    border: none;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}
#cookie-banner .cookieButton2{
    background: #e8e8e8;
    border: none;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}

#cookie-settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 10px 15px; /* Yan ve üst boşluklar optimize edildi */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 95%; /* Mobil görünümde daha fazla genişlik */
    max-width: 600px; /* Genişlik artırıldı */
    max-height: 80vh;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    font-family: 'Poppins', sans-serif;
}

#cookie-settings-panel h2 {
    font-size: 18px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

#cookie-settings-panel p {
    font-size: 13px; /* Daha kompakt bir metin görünümü */
    color: #555;
    line-height: 1.6;
    margin: 5px 0; /* Daha dar boşluklar */
    padding: 0;
}

#cookie-settings-panel label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

#cookie-settings-panel input[type="checkbox"] {
    margin-right: 10px;
}

#cookie-settings-panel a {
    color: #6200EE;
    text-decoration: underline;
}

#cookie-settings-panel button {
    background: #6200EE;
    border: none;
    color: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}

#cookie-settings-panel button:hover {
    background: #5e00e0;
}

#cookie-settings-panel button:nth-child(2) {
    background: #ccc;
    color: #333;
}

#cookie-settings-panel button:nth-child(2):hover {
    background: #bbb;
}

/* Switch Tasarımı */
.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #6200EE; /* Ana renginiz */
}

input:focus + .slider {
    box-shadow: 0 0 1px #6200EE;
}

input:checked + .slider:before {
    transform: translateX(18px);
}

.switch-label {
    font-size: 14px;
    color: #333;
    margin-left: 10px;
    vertical-align: middle;
}


/* Masaüstü görünüm */
@media screen and (min-width: 1024px) {
    #cookie-settings-panel {
        max-height: 80vh; /* Panelin maksimum yüksekliği ekranın %80’i kadar */
        overflow-y: auto; /* Dikey kaydırma ekleyin */
        width: 60%;

    }
    #cookie-banner {
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #6200EE;
        color: #fff;
        padding: 20px;
        text-align: center;
        z-index: 1000;
        display: none;
    }
    #cookie-banner p{
        width: 100%;
        color: #fff;
        left: 24px;
        text-align: left;

    }

    #cookie-banner .div-button{
        width: 520px;
        right: 24px;
        display: flex;
        flex-direction: row;

    }
    #cookie-banner .cookieButton{
        background: #FFFFFF;
        border: none;
        color: #000;
        padding: 10px 20px;
        margin-top: 20px;
        margin-right: 20px;
        font-size: 16px;
        margin-left: auto;
        cursor: pointer;
        border-radius: 5px;
        width: 240px;
        text-align: center;
    }
    #cookie-banner .cookieButton2{
        background: #e8e8e8;
        border: none;
        color: #000;
        padding: 10px 20px;
        margin-top: 20px;
        margin-right: 20px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        width: 240px;
        text-align: center;
    }


}


.policy-links {
    text-align: center; /* Yatayda ortalar */
    padding: 8px;
    border-top: 1px solid #ddd;
    font-size: 9px; /* Yazı tipini küçültür */
    color: #777; /* Gri renk */
    display: flex; /* Flexbox düzeni */
    flex-wrap: wrap; /* Satır taşması durumunda alt satıra geçer */
    justify-content: center; /* Öğeleri yatayda ortalar */
    gap: 10px; /* Öğeler arası boşluk */
    margin: 0px;
}

.policy-links a {
    
    flex: 1 0 calc(33% - 25px); /* En fazla 3 item yan yana */
    box-sizing: border-box; /* Padding ve border'ı dahil eder */
    text-align: center; /* Yazıyı ortalar */
    color: #777; /* Gri renk */
    text-decoration: none; /* Varsayılan olarak altını çizmez */
}

.policy-links a:hover {
    text-decoration: underline; /* Üzerine gelindiğinde altını çizer */
}













#filter-panel h5 {
    font-size: 0.8em;
    color: #333;
    margin-bottom: 12px;
}

/* Checkbox kapsayıcı stil */
.filter-div {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Checkboxlar arasındaki boşluk */
    overflow-y: none; /* Kaydırma ekle */
    margin-bottom: 24px;
}

/* Modern checkbox stili */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.7em;
    user-select: none;
    color: #555;
}

/* Gizli varsayılan checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Özelleştirilmiş checkmark */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #e6e6e6;
    border-radius: 4px;
    transition: background-color 0.3s;
}

/* Checkbox işaretlendiğinde checkmark güncellenmesi */
.checkbox-container input:checked ~ .checkmark {
    background-color: #6200EE;
}

/* Check işaretinin oluşturulması */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Check işareti stili */
.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.filter-panel-search {
    width: 100%; /* Tam genişlik */
    padding: 8px 12px; /* Daha dengeli iç boşluk */
    border: 2px solid #ddd; /* İnce çerçeve */
    border-radius: 8px; /* Köşeleri daha yuvarlak */
    background-color: #f9f9f9; /* Hafif gri arka plan */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    font-size: 10px; /* Yazı boyutu */
    color: #333; /* Yazı rengi */
    margin-bottom: 15px;
    transition: all 0.3s ease; /* Yumuşak geçişler */
}

/* Odaklandığında (focus) görünüm */
.filter-panel-search:focus {
    outline: none; /* Varsayılan mavi kenarlığı kaldır */
    border-color: #6200ee; /* Mor çerçeve */
    background-color: #fff; /* Beyaz arka plan */
    box-shadow: 0 4px 8px rgba(98, 0, 238, 0.2); /* Belirgin gölge */
}

/* Placeholder için stil */
.filter-panel-search::placeholder {
    color: #aaa; /* Soluk gri */
    font-style: italic; /* İtalik yazı */
}


.filter-panel-search-button {
    font-size: 12px;
    padding: 7px;
    z-index: 2001px;
}
    




.expandable-content {
    max-height: 0;
    overflow: scroll;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 10px;
}

.expandable-content.open {
    max-height: 300px; /* İçeriğe göre yeterli yükseklik belirleyin */
}


.expandable-header {
    font-size: 1.2em;
    cursor: pointer;
    margin: 0;
    padding: 0 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expandable-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.expandable-header.active::after {
    transform: rotate(45deg);
}




@media (max-width: 768px) {


    
    #filter-panel-background {
        display: none;
        left: 0px;
        position: fixed;
        width: 0px;
        height: 100%;
        background-color: #f9f9f9;
        border-right: 1px solid #ddd;
        z-index: 1999px;
        transition: transform 1.3s ease;
    }
    #filter-panel{
        display: none;
        position: fixed;
        top: 64px;
        bottom: 75px;
        left: 0px;
        width: 0px;
        height: calc(100% - 137px);
        padding: 10px;
        overflow-y: auto;
        background: #ECEFF1;
        z-index: 2000px;
        background-color: #f9f9f9;
        border-right: 1px solid #ddd;
        transition: transform 1.3s ease;
    }

    .container {
        width: 100%; 
        height: 100%;
        margin-top: 64px;
        padding: 16px;
        background-color: white;
        border-radius: 10px;
    }



    .button-filter-mobile-container{
        margin-top: 20px;
        display: flex;
        gap: 10px; /* Butonlar arası boşluk */
        justify-content: center; /* Ortalanmış görünüm */
    }

    .button-filter-mobile {
        width: calc(50% - 5px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px 10px;
        font-size: 14px;
        color: #424242;
        background-color: #f1f3f4; /* Gri ton */
        border: none;
        border-radius: 10px; /* Yuvarlatılmış köşe */
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    .button-filter-icon {
      width: 20px; /* İkon boyutu */
      height: 20px;
      margin-right: 8px; /* İkon ile metin arasındaki boşluk */
    }
    .button-filter-mobile .icon {
      margin-right: 8px; /* İkon ile metin arasındaki boşluk */
    }

    .button-filter-mobile:hover {
      background-color: #a0a0a0; /* Hover efekti için biraz daha koyu gri */
    }

    .button-filter-mobile:active {
      background-color: #909090; /* Tıklama efekti */
    }

    #campaign-list {
        margin-top: 10px;
    }

    .search-button-desktop  {
        display: none;
        border: none; 
        flex-direction: column; /* Elemanları dikey olarak hizalar */
        align-items: center; /* Elemanları yatayda ortalar */
        justify-content: center; /* Elemanları dikeyde ortalar */
        width: 46%;
        height: 44px;
        background-color: #6200EE;
        color: #FFFFFF;
        font-size: 10px;
        font-weight: bold;
        border-radius: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 20px;
        right: 2%;
        z-index: 2001px;
    }
    
    .search-button-desktop:active {
        background-color: #ff9900; 
    }

    .fab-filter{
        display: none;
        position: fixed;
        width: 46%;
        height: 44px;
        left: 2%;
        bottom: 20px;
        right: 20px;
        border-radius: 20px;
        z-index: 9996;
    }

    .fab-button {
        background-color: #6200EE;
        color: white;
        border: none;
        width: 100%;
        height: 100%;
        border-radius: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
        color: #FFFFFF;
        font-size: 10px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        transition: background-color 0.7s ease;
    }
  
    .fab-button img {
        width: 22px;
        height: 22px;
        vertical-align: middle;
    }

    .fab-button:active {
        background-color: #ff9900; 
    }

    #all-campaigns {
        display: none;
        width: 100%;
        background-color: #6200EE;
        color: #fff;
        text-align: center;
        margin: 25px auto;
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 20px;
        transition: background-color 0.3s ease;
        align-items: center; /* Dikey ortalama */
        justify-content: center; /* Yatay ortalama */
        text-decoration: none;
    }


    #not-found {
      display: none;
      flex-direction: column;
      margin-top: 30px;
      align-items: center;
      justify-content: center;
    }

    .not-found-image-container {
      position: relative;
      width: 100%; /* Maksimum genişlik ayarı */
      aspect-ratio: 16 / 9; /* 16:9 oranı */
      overflow: hidden;
      display: flex;
      border-radius: 20px;
      justify-content: center;
      align-items: center;
      background-color: #f5f5f5; /* Görsel yüklenmezse bir arka plan rengi */
    }

    .not-found-image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover; /* Görüntü bozulmadan alanı doldur */
    }

    .not-found-text {
      margin-top: 20px;
      font-size: 14px;
      color: #333;
      text-align: center;
    }

}



.sort-options {
    position: fixed;
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    gap: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Mobil uyum */
    max-width: 400px; /* Masaüstü için maksimum genişlik */
    padding: 10px 20px;
    border-radius: 15px;
    z-index: 1000;
}

/* Popup Title */
.popup-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin-top: 15px;
    margin-bottom: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-label:hover {
    background-color: #f1f1f1;
    border-color: #     ;
}

.radio-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none; /* Safari uyumu */
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked {
    border-color: #6200EE;
    background-color: #6200EE;
    box-shadow: 0 0 0 2px #ffffff inset;
}

.radio-label span {
    font-size: 14px;
    color: #333;
    transition: color 0.3s ease;
}

.radio-label input[type="radio"]:checked + span {
    color: #6200EE;
    font-weight: bold;
}


/* Kapatma Butonu */
.close-popup-sort {
    margin-left: auto;
    padding: 10px 20px;
    background-color: #6200EE;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 6px;
    margin-bottom: 6px;
}

.close-popup-sort:hover {
    background-color: #4e00b4;
}

.close-button-sort {
    position: absolute; /* Sağ üst köşeye konumlandırma */
    top: 10px; /* Popup'un üst kısmından mesafe */
    right: 10px; /* Popup'un sağ kısmından mesafe */
    background-color: transparent; /* Arka plan olmadan */
    color: #6200EE; /* X düğmesinin rengi */
    border: none; /* Kenarlık olmadan */
    font-size: 20px; /* X'in boyutu */
    cursor: pointer; /* İmleç göstergesi */
    font-weight: bold; /* X'i kalın yapar */
    transition: color 0.3s ease; /* Hover efekti için geçiş */
    margin-bottom: 15px;
}

.close-button-sort:hover {
    color: #4e00b4; /* Hover sırasında farklı renk */
}

/* Modern radio button stili */
.radio-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.7em;
    user-select: none;
    color: #555;
}

/* Gizli varsayılan radio button */
.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Özelleştirilmiş checkmark (radio) */
.radio-container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #e6e6e6;
    border-radius: 50%; /* Yuvarlak şekil */
    transition: background-color 0.3s;
}

/* Radio seçildiğinde checkmark güncellenmesi */
.radio-container input:checked ~ .checkmark {
    background-color: #6200EE;
}

/* Radio içindeki işaretin oluşturulması */
.radio-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Seçili radio butonun işareti */
.radio-container input:checked ~ .checkmark:after {
    display: block;
}

/* İşaret stili */
.radio-container .checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%; /* İç işaret de yuvarlak */
}
.blur-background {
    filter: blur(5px); /* Bulanıklık efekti */
    transition: filter 0.3s ease; /* Yumuşak geçiş efekti */
}

/* Sayfa kaydırmasını engellemek için */
.no-scroll {
    overflow: hidden; /* Kaydırmayı kapatır */
}



.navigation{
  position:fixed; inset:0 auto auto 0; width:100%; height:56px;
  background:#6200EE; padding:10px 4px; display:flex; align-items:center;
  gap:4px; z-index:9998; overflow:hidden;
}
.navigation span{ font-size:10px; color:#fff }

.nav-buttons,.nav-buttons-home{
  height:56px; min-width:100px;
  background:#6200EE; border:none; color:#fff; font-size:12px; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  transition:background-color .3s ease;
}
.nav-buttons:hover,.nav-buttons-home:hover{ background:#eead0e }
.icon{ width:20px; height:20px }

#page-header{ color:#fff; margin-left:auto; margin-right:24px; font-size:28px }

/* =========================
   Mobil Düzenlemeler
========================= */

.navigation a.nav-buttons,
.navigation a.nav-buttons-home {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  /* mevcut .nav-buttons buton stillerini buraya taşıyabilirsin */
}
.navigation a[aria-current="page"] {
  background: rgba(255,255,255,0.15); /* yarı saydam beyaz arka plan */
  color: #fff;                        /* biraz kalın yazı */
  border-radius: 8px;
}

.navigation a[aria-current="page"] img.icon {
  filter: brightness(1.5); /* ikon biraz daha parlak */
}
#page-logo{
  margin:0 8px; width:48px; height:48px; padding:10px;  cursor:pointer;
}



@media (max-width:768px){
  .navigation{
    height:56px;
    padding:0 6px;
    gap:0;
    overflow-x:auto;               /* yatay kaydırma */
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;  /* snap etkisi */
  }

  /* Linkler tek satırda, kaydırılabilir olsun */
  .navigation a.nav-buttons,
  .navigation a.nav-buttons-home{
    display:inline-flex;           /* <a> için doğru kullanım */
    align-items:center;
    justify-content:center;
    flex:0 0 auto;                 /* sıkışma yok, yan yana ak */
    min-width:auto;                /* min-width=100px sınırlamasını kaldır */
    padding:0 10px;
    height:56px;
    text-decoration:none;
    background:transparent;        /* arkaplan tek renk olsun */
    border-radius:8px;
    scroll-snap-align:center;
  }

  /* Metinleri gizle → sadece ikon (yer kazancı) */
  .navigation a.nav-buttons span,
  .navigation a.nav-buttons-home span{
    display:none;
  }

  /* İkonları bir tık büyüt */
  .navigation .icon{
    width:22px; height:22px;
  }

  /* Logo daha kompakt */
  #page-logo{
    height:32px; width:auto; padding:0; margin:0 6px 0 0; object-fit:contain;
  }

  /* Aktif sayfa vurgusu */
  .navigation a[aria-current="page"]{
    background:rgba(255,255,255,0.15);
  }

  /* iOS scroll bar gizle */
  .navigation::-webkit-scrollbar{ display:none; }
}

/* ===== Feedback Popup (overlay) ===== */
.hidden { display: none !important; }       /* genel gizle sınıfı */

body.no-scroll { overflow: hidden; }         /* popup açıkken scroll kilidi */

#feedback-popup.feedback-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10050;                   /* her şeyin üstünde */
  background: rgba(0,0,0,.35);      /* arka plan blur/karartma */
}

#feedback-popup .feedback-popup-content{
  width: min(680px, 92vw);
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

/* Başlık tam ortada ve daha kompakt satır yüksekliği */
#feedback-popup .feedback-popup-content h3{
  margin: 0 0 14px 0;
  text-align: center;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.2;
}

/* Yıldız satırı – ortalı, büyük, rahat aralık */
#feedback-popup .rating{
  display: flex;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 16px);
  margin: 10px 0 16px;
}

/* Boyutu değiştirilebilir değişkenle kontrol et */
:root { --star-size: 36px; }              /* mobil öneri: 32–36, desktop: 40–48 */

@media (min-width: 1024px){
  :root { --star-size: 44px; }            /* desktop için büyüt */
}

#feedback-popup .rating-star{
  font-size: var(--star-size);
  color: #9e9e9e;
  cursor: pointer;
  transition: transform .12s ease, color .2s ease;
  line-height: 1;                         /* dikey hizayı düzeltir */
}
#feedback-popup .rating-star:hover{ transform: scale(1.1); }
#feedback-popup .rating-star.selected{ color: #6200EE; } /* tıklananlar mor */

/* Textarea – daha net kenar, dolgu ve focus durumu */
#feedback-popup #feedback-comment{
  width: 100%;
  min-height: 90px;
  resize: vertical;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid #E0E0E0;
  background: #FAFAFA;
  outline: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
#feedback-popup #feedback-comment::placeholder{
  color: #9e9e9e;
}
#feedback-popup #feedback-comment:focus{
  background: #fff;
  border-color: #6200EE;
  box-shadow: 0 0 0 3px rgba(98,0,238,.15);
}

/* Butonlar – hizalama ve aralık */
#feedback-popup .feedback-buttons{
  display: flex;
  gap: 12px;
  justify-content: flex-end;     /* sağa hizalı */
  margin-top: 18px;
}
#feedback-popup .feedback-btn{
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
#feedback-popup .feedback-btn.cancel{
  background: #ECEFF1;
  color: #37474F;
}
#feedback-popup .feedback-btn:not(.cancel){
  background: #6200EE;
  color: #fff;
}
#feedback-popup .feedback-btn:not(.cancel):hover{ background:#4e00b4; }

