#cookie-banner {
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: #f0f8ff; /* a�ik mavi */
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 9999;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 15px 20px;
  box-shadow: 0 -2px 8px rgba(0,0,0,.2);
  width: auto;
  max-width: 450px;
  text-align: center;
  border-radius: 10px;
  display: none;  
  justify-content: center;  
}

#cookie-banner p {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.buttons button {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  color: white;
}

.accept { background-color: #282828;color:#000000; }   /* turkuaz */
.reject { background-color: #282828; }
.settings, .back { background-color: #282828; } /* a�ik gri */
.all { background-color: #282828; } /* mavi */

#cookie-settings {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  width: 95%;
  max-width: 80%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  z-index: 10000;
  display: none;
}
#cookie-settings button {
    color: #000;
    max-width:22%;
}
#cookie-settings .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.left-panel {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  background-color: #e9ecef; /* a�ik gri */
  padding: 10px;
  border-radius: 8px;
}

.category-button {
  cursor: pointer;
  padding: 10px;
  background: #a2d2ff; /* a�ik mavi */
  border-radius: 6px;
  text-align: center;
  flex: 1;
}

.right-panel {
  background: #ffffff;
  padding: 15px;
  border-radius: 6px;
  overflow-y: auto;
  font-size: 0.8rem;
}
.right-panel h2 {
    font-size: 1.2rem;
}
#cookie-settings-icon_alt {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 9999;
}
#cookie-settings-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: none;
    z-index: 9999;
}
/* Toggle switch container */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-right: 5px;
}

/* Hide the default checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider (circle inside the switch) */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

/* The slider circle */
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  border-radius: 50%;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

/* When the checkbox is checked, change the slider's background and position */
input:checked + .slider {
  background-color: #4CAF50;
}

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

/* Optional: Style for the label and description */
.cookie-label {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.cookie-label div {
  font-size: 12px;
  color: #777;
  margin-left: 10px;
}

.cookie-label input {
  margin-right: 10px;
}

@media (max-width: 600px) {
  #cookie-settings {
    width: 95%;
    padding: 15px;
  }
  .buttons {
    /*flex-direction: column;*/
  }
}

#cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);   /* Seffaf koyu katman */
  backdrop-filter: blur(3px);      /* Hafif bulaniklik */
  z-index: 9998;                   /* Cookie ayarlarinin hemen alti */
  display: none;
}
#essentiell {
background-color: #f9f9f9;
  border-radius:12px;
  padding:10px 20px;
  font-family: "Segoe UI", sans-serif;
  max-width: 98%;
  margin:0 auto;
}

#essentiell h4 {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.3rem;
}

#essentiell h3 {
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 1rem;
}

#essentiell p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

#essentiell label.disabled {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 15px;
  cursor: not-allowed;
  transition: background-color 0.3s ease;
}

#essentiell label.disabled:hover {
  background-color: #f0f0f0;
}

#essentiell label.disabled input[type="checkbox"] {
  accent-color: #4caf50;
  margin-bottom: 10px;
}

#essentiell label.disabled::before {
  content: attr(data-title);
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  margin-bottom: 5px;
}

#essentiell label.disabled > div {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* K���k cihazlar (telefonlar, dikey, 576px ve alti) */
@media (max-width: 576px) { }

/* Orta cihazlar (tabletler, 576px - 768px arasi) */
@media (min-width: 577px) and (max-width: 768px) { }

/* B�y�k cihazlar (k���k diz�st�ler, 768px - 992px arasi) */
@media (min-width: 769px) and (max-width: 992px) { }

/* Daha b�y�k cihazlar (diz�st�/masa�st�, 992px - 1200px arasi) */
@media (min-width: 993px) and (max-width: 1200px) { }

/* Ekstra b�y�k cihazlar (b�y�k masa�st�, 1200px ve �zeri) */
@media (min-width: 1201px) { 
  #cookie-banner {
    max-width: 30%;
  }

}
