.barrifree-widget-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 32px 32px 0 32px;
  box-shadow: 0 6px 20px rgba(130, 74, 0, 0.3),
              0 10px 10px -10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  border: none;
  font-size: 2rem;
  transition: box-shadow 0.3s ease;
  overflow: hidden;
  outline: none;
/* Bu özellikler kaldırıldı */
}

.barrifree-widget-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  opacity: 0.8;
  z-index: -1;
}

.barrifree-widget-toggle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 40%, transparent 70%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
}

.barrifree-widget-toggle:hover {
  box-shadow: 0 12px 30px rgba(130, 74, 0, 0.4), 
              0 15px 12px -10px rgba(0, 0, 0, 0.2);
}

.barrifree-widget-toggle:hover::after {
  opacity: 1;
}

.barrifree-widget-toggle.active {
  background: #fff;
  box-shadow: none;
  border-bottom-right-radius: 0;
}

.barrifree-widget-toggle.active::before {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}

/* Dalgalanma animasyonu - KALDIRILDI */
/* @keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
} */

@keyframes gentle-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Tıklama efekti animasyonu */
@keyframes click-effect {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.6);
  }
}

/* Puls efekti için güncellenen animasyon - KALDIRILDI */
/* .barrifree-pulse-ring {
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
} */

@media (prefers-reduced-motion: reduce) {
  .barrifree-widget-toggle, 
  .barrifree-widget-toggle:hover {
    transform: none;
    transition: box-shadow 0.3s;
  }
  
  .barrifree-toggle-img {
    transition: none;
  }
}

.barrifree-widget-panel {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 320px;
  background: #fff;
  color: #222;
  border-radius: 18px 18px 32px 18px;
  border-bottom-right-radius: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  padding: 18px 16px 12px 16px;
  z-index: 10000;
  display: none;
  flex-direction: column;
  gap: 12px;
  font-family: 'Segoe UI', Arial, sans-serif;
  padding-bottom: 76px;
}

/* Kapatma butonu stilleri */
.barrifree-close-button {
  position: absolute !important;
  right: 10px !important;
  top: 10px !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: bold !important;
  color: #555 !important;
  cursor: pointer !important;
  z-index: 2 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Alt panel kapatma butonları için özel stil */
.barrifree-widget-more-panel .barrifree-close-button,
.barrifree-widget-font-panel .barrifree-close-button,
[class*="barrifree-widget"] .barrifree-close-button {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  right: 8px !important;
  top: 8px !important;
}

/* Gece modunda kapatma butonu stilleri */
.barrifree-night .barrifree-close-button {
  background: rgba(60, 60, 60, 0.7);
  color: #ddd;
}

.barrifree-night .barrifree-close-button:hover {
  background: rgba(80, 80, 80, 0.9);
  color: #ddd;
}

/* Açıklama balonu stilleri */
.barrifree-tooltip {
  position: absolute;
  background: #222;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  max-width: 280px;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 10010;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
  line-height: 1.5;
  text-align: left;
  font-weight: normal;
  font-family: 'Segoe UI', Arial, sans-serif;
  transform: translateY(-10px);
}

.barrifree-tooltip::after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 8px;
  border-color: #222 transparent transparent transparent;
  bottom: -16px;
  left: 20px;
}

.barrifree-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.barrifree-tooltip-shortcut {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #999;
  text-align: right;
  font-weight: bold;
}

.barrifree-widget-panel.active {
  display: flex;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.barrifree-widget-more-panel {
  animation: barrifree-fade-in 0.3s ease-out;
}

@keyframes barrifree-fade-in {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.barrifree-font-option {
  transition: background-color 0.2s ease;
}

.barrifree-font-option:hover {
  background-color: #eaeaea !important;
}

.barrifree-widget-panel h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-image: linear-gradient(135deg, #824A00 20%, #FF8C27 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 2px rgba(0,0,0,0.02);
  position: relative;
  z-index: 1;
}

/* Başlık bölümü için özel stil */
.barrifree-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.barrifree-header:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.barrifree-header img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(255,140,39,0.25);
  padding: 6px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  filter: brightness(1.05) contrast(1.05);
  border: 2px solid #FF8C27;
}

.barrifree-header img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255,140,39,0.3);
  border-color: #FF9D4D;
}

/* Tarayıcı uyumluluğu için Firefox desteği */
@-moz-document url-prefix() {
  .barrifree-widget-panel h2 {
    background: transparent;
    color: #FF8C27;
  }
}

.barrifree-widget-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3f3f3;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.barrifree-widget-btn:hover {
  background: #e0e0e0;
}

/* Kontrast Modu */
.barrifree-contrast {
  filter: invert(100%) !important;
}
.barrifree-contrast img,
.barrifree-contrast video,
.barrifree-contrast iframe,
.barrifree-contrast canvas,
.barrifree-contrast svg,
.barrifree-contrast picture {
  filter: invert(100%) !important;
}

/* Gece Modu */
.barrifree-night {
  background: #181818 !important;
  color: #e0e0e0 !important;
}

/* Gece modunda logo için özel stil */
.barrifree-night .barrifree-widget-toggle {
  background: #333333;
}

.barrifree-night .barrifree-widget-toggle.active {
  background: #333333;
  box-shadow: none;
}

.barrifree-night .barrifree-toggle-wrapper {
  background: transparent;
  border-radius: 32px 32px 0 32px;
}

.barrifree-night .barrifree-toggle-img {
  filter: brightness(1.2);
  background: transparent;
}

/* Gece modunda satır stillerini tüm satırlar için uygula */
.barrifree-night .barrifree-contrast-row {
  background: #333333;
  color: #e0e0e0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.barrifree-night .barrifree-contrast-row.active {
  background: #333333;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.barrifree-night .barrifree-contrast-label {
  color: #e0e0e0;
}

/* Görselleri Gizle */
.barrifree-hide-images img,
.barrifree-hide-images picture,
.barrifree-hide-images svg {
  visibility: hidden !important;
}

.barrifree-contrast-row {
  display: flex;
  align-items: center;
  background: #f6f6f6;
  border-radius: 12px;
  padding: 6px 12px;
  gap: 10px;
  margin-bottom: 6px;
  border: 2px solid transparent;
  box-shadow: 0 0 0 2px #ffbebe33;
  transition: background-color 0.2s ease;
}

.barrifree-contrast-row.active {
  box-shadow: 0 0 0 2px #ffbebe33;
}

.barrifree-contrast-icon {
  width: 33px !important;
  height: 33px !important;
  min-width: 33px !important;
  min-height: 33px !important;
  max-width: 33px !important;
  max-height: 33px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 12px !important;
  border-radius: 4px !important;
}

.barrifree-contrast-icon img {
  width: 33px !important;
  height: 33px !important;
  min-width: 33px !important;
  min-height: 33px !important;
  max-width: 33px !important;
  max-height: 33px !important;
  object-fit: contain !important;
}

/* İkonlar için yüksek z-index ve görünürlük sağlama */
.barrifree-contrast-icon img,
.barrifree-widget-panel .barrifree-contrast-icon img,
[class*="barrifree-widget"] .barrifree-contrast-icon img {
  width: 33px !important;
  height: 33px !important;
  min-width: 33px !important;
  min-height: 33px !important;
  max-width: 33px !important;
  max-height: 33px !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  z-index: 10002 !important;
  background: transparent !important;
  border: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain !important;
}

.barrifree-contrast-label {
  flex: 1;
  font-size: 1.08rem;
  font-weight: 500;
}

.barrifree-contrast-reset {
  background: none;
  border: none;
  color: #888;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 50%;
  transition: background 0.2s;
}

.barrifree-contrast-reset:hover {
  background: #ffeaea;
  color: #d00;
}

/* Toggle Switch - iOS Style */
.barrifree-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 32px;
  vertical-align: middle;
}

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

.barrifree-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e4e4e4;
  border-radius: 32px;
  transition: .25s ease;
  border: none;
  outline: none;
}

.barrifree-slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  transition: .25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.barrifree-switch input:checked + .barrifree-slider {
  background: #34C759;
}

.barrifree-switch input:checked + .barrifree-slider:before {
  transform: translateX(30px);
  background: #fff;
}

/* Gece modunda toggle görünürlüğünü artırma */
.barrifree-night .barrifree-slider {
  background: #222;
  border: 1px solid #444;
}

.barrifree-night .barrifree-slider:before {
  background: #aaa;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.barrifree-night .barrifree-switch input:checked + .barrifree-slider {
  background: #2c8c48;
  border: 1px solid #3aad5e;
  box-shadow: 0 0 5px rgba(58, 173, 94, 0.5);
}

.barrifree-night .barrifree-switch input:checked + .barrifree-switch:before {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Gece modunda aktif satır için daha belirgin görünüm */
.barrifree-night .barrifree-contrast-row.active {
  background: #3a3a3a;
  box-shadow: 0 0 0 2px rgba(58, 173, 94, 0.3);
  border: 1px solid #3aad5e;
}

/* Kontrast modu için ekstra gösterge */
.barrifree-night .barrifree-contrast-row.active::after {
  content: '';
  display: none;
}

.barrifree-slider .switch-label {
  width: 50%;
  text-align: center;
  z-index: 1;
  color: #888;
  opacity: 0.7;
  transition: color 0.2s, opacity 0.2s;
}

.barrifree-switch input:checked + .barrifree-slider .switch-label.on {
  color: #4caf50;
  opacity: 1;
}

.barrifree-switch input:not(:checked) + .barrifree-slider .switch-label.off {
  color: #d00;
  opacity: 1;
}

.barrifree-switch input:checked + .barrifree-slider .switch-label.off {
  opacity: 0.5;
}

.barrifree-switch input:not(:checked) + .barrifree-slider .switch-label.on {
  opacity: 0.5;
}

.barrifree-blue-filter::after {
  content: '';
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 99999;
  background: rgba(255, 200, 0, 0.18);
  mix-blend-mode: multiply;
}

.barrifree-color-weak {
  filter: grayscale(0.7) contrast(0.85) !important;
}

.barrifree-toggle-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  height: 90%;
  z-index: 2;
  overflow: hidden;
  border-radius: 50%;
  pointer-events: none;
}

.barrifree-toggle-img {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  object-fit: contain !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

.barrifree-widget-toggle:not(.active):hover .barrifree-toggle-img {
  /* Hover efektlerini kaldırdık */
}

.barrifree-widget-toggle.active .barrifree-toggle-img {
  /* Panel açıkken transform yok */
}

.barrifree-widget-toggle.active:hover .barrifree-toggle-img {
  /* Panel açık ve hover durumunda transform yok */
}

.barrifree-contrast-row:hover {
  background-color: #f0f0f0;
} 

/* Kontrast modu için toggle görünürlüğünü artırma */
.barrifree-contrast .barrifree-slider {
  background: #222;
  border: 1px solid #444;
}

.barrifree-contrast .barrifree-slider:before {
  background: #aaa;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.barrifree-contrast .barrifree-switch input:checked + .barrifree-slider {
  background: #2c8c48;
  border: 1px solid #3aad5e;
  box-shadow: 0 0 5px rgba(58, 173, 94, 0.5);
}

.barrifree-contrast .barrifree-switch input:checked + .barrifree-slider:before {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Kontrast modunda aktif satır için daha belirgin görünüm */
.barrifree-contrast .barrifree-contrast-row.active {
  background: #3a3a3a;
  box-shadow: 0 0 0 2px rgba(58, 173, 94, 0.3);
  border: 1px solid #3aad5e;
}

/* WordPress stil çakışmalarını önlemek için güçlü seçiciler */
.barrifree-widget-toggle,
.barrifree-widget-panel,
.barrifree-widget-panel *,
.barrifree-tooltip,
.barrifree-reading-ruler {
  box-sizing: border-box !important;
  font-family: 'Segoe UI', Arial, sans-serif !important;
  line-height: normal !important;
}

/* Temel widget stili koruması */
.barrifree-widget-toggle {
  position: fixed !important;
  bottom: 32px !important;
  right: 32px !important;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  background: #fff !important;
  border-radius: 32px 32px 0 32px !important;
  box-shadow: 0 6px 20px rgba(130, 74, 0, 0.3),
              0 10px 10px -10px rgba(0, 0, 0, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 10001 !important;
  border: none !important;
  font-size: 2rem !important;
  transition: box-shadow 0.3s ease !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

.barrifree-toggle-wrapper {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.barrifree-toggle-img {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  object-fit: contain !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* Kapatma butonunun stilini korumak için */
.barrifree-close-button {
  position: absolute !important;
  right: 10px !important;
  top: 10px !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: bold !important;
  color: #555 !important;
  cursor: pointer !important;
  z-index: 2 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Panel stilini koruma */
.barrifree-widget-panel {
  position: fixed !important;
  bottom: 32px !important;
  right: 32px !important;
  width: 320px !important;
  background: #fff !important;
  color: #222 !important;
  border-radius: 18px 18px 32px 18px !important;
  border-bottom-right-radius: 0 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
  padding: 18px 16px 12px 16px !important;
  z-index: 10000 !important;
  display: none !important;
  flex-direction: column !important;
  gap: 12px !important;
  font-family: 'Segoe UI', Arial, sans-serif !important;
  padding-bottom: 76px !important;
}

.barrifree-widget-panel.active {
  display: flex !important;
}

/* Toggle düğmelerinin stilini korumak için */
.barrifree-switch {
  position: relative !important;
  display: inline-block !important;
  width: 63px !important;
  height: 31px !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  border-radius: 31px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
  min-width: auto !important;
  max-width: none !important;
  min-height: auto !important;
  max-height: none !important;
}

.barrifree-switch input {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.barrifree-slider {
  position: absolute !important;
  cursor: pointer !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: rgba(120, 120, 128, 0.16) !important;
  transition: .3s !important;
  border-radius: 31px !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.barrifree-slider:before {
  position: absolute !important;
  content: "" !important;
  height: 25px !important;
  width: 25px !important;
  left: 3px !important;
  top: 3px !important;
  background-color: white !important;
  transition: .3s !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
}

input:checked + .barrifree-slider {
  background-color: #34C759 !important;
}

input:checked + .barrifree-slider:before {
  transform: translateX(32px) !important;
}

/* Contrast satırları için korumalı stil */
.barrifree-contrast-row {
  background-color: #f5f5f5 !important;
  border-radius: 8px !important;
  margin-bottom: 8px !important;
  padding: 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: none !important;
  min-width: auto !important;
  box-shadow: none !important;
  border: none !important;
}

.barrifree-contrast-icon {
  margin-right: 12px !important;
  flex-shrink: 0 !important;
  min-width: 33px !important;
  min-height: 33px !important;
  width: 33px !important;
  height: 33px !important;
  border-radius: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: inherit !important;
  font-size: 1.2rem !important;
  transition: all 0.2s ease !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

/* İkonlar için yüksek z-index ve görünürlük sağlama */
.barrifree-contrast-icon img {
  width: 33px !important;
  height: 33px !important;
  min-width: 33px !important;
  min-height: 33px !important;
  max-width: 33px !important;
  max-height: 33px !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  z-index: 10002 !important;
  background: transparent !important;
  border: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain !important;
}

.barrifree-contrast-label {
  flex-grow: 1 !important;
  font-weight: 500 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  color: #333 !important;
  text-align: left !important;
  display: block !important;
}

/* Header stil koruması */
.barrifree-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
  padding: 12px 14px !important;
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%) !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
}

/* Panel başlık metni koruması */
.barrifree-widget-panel h2,
.barrifree-widget-panel h3 {
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  letter-spacing: 0.02em !important;
  font-family: 'Segoe UI', Arial, sans-serif !important;
  background: linear-gradient(135deg, #824A00 20%, #FF8C27 80%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  position: relative !important;
  z-index: 1 !important;
  padding: 0 !important;
  line-height: normal !important;
  display: block !important;
}

/* Tooltip koruma */
.barrifree-tooltip {
  position: absolute !important;
  background: #222 !important;
  color: #fff !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  max-width: 280px !important;
  font-size: 14px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
  z-index: 10010 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.2s, visibility 0.2s !important;
  pointer-events: none !important;
  line-height: 1.5 !important;
  text-align: left !important;
  font-weight: normal !important;
}

.barrifree-tooltip.visible {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Toggle buton yapısını koruma */
.barrifree-toggle-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 90% !important;
  height: 90% !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Yan panel başlıklarının stillerini tutarlı hale getirme */
.barrifree-widget-panel h2,
.barrifree-widget-panel h3,
.barrifree-widget-more-panel h3,
.barrifree-widget-more-panel h2,
#fontSizePanelTitle,
.fontSizePanelTitle,
#featuresPanelTitle,
.featuresPanelTitle,
#settingsPanelTitle,
.settingsPanelTitle,
.barrifree-widget-panel div[id$="PanelTitle"],
.barrifree-widget-panel div[class$="PanelTitle"] {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #333 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  letter-spacing: normal !important;
  text-shadow: none !important;
  font-family: 'Segoe UI', Arial, sans-serif !important;
}

/* Yan panel başlıklarını tutarlı hale getirmek için özel seçici */
#fontSizePanelTitle,
.fontSizePanelTitle,
#featuresPanelTitle,
.featuresPanelTitle,
#settingsPanelTitle,
.settingsPanelTitle,
.barrifree-widget-panel .barrifree-header + div h3,
.barrifree-widget-panel .barrifree-header ~ div h3 {
  font-size: 1.2rem !important;
  color: #333 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
}

/* Yazı boyutu panelindeki butonları koruma */
#btnDecrease, 
#btnResetFont, 
#btnIncrease,
.barrifree-widget-btn,
.barrifree-widget-panel button,
[id^="btn"] {
  color: #333 !important;
  background-color: #f5f5f5 !important;
  border: none !important;
  border-radius: 10px !important;
  width: 60px !important;
  height: 60px !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  transition: background-color 0.2s !important;
  font-weight: bold !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 60px !important;
  max-width: none !important;
  min-height: 60px !important;
  max-height: none !important;
  outline: none !important;
}

#btnDecrease:hover, 
#btnResetFont:hover, 
#btnIncrease:hover,
.barrifree-widget-btn:hover {
  background-color: #f0f0f0 !important;
  color: #333 !important;
}

/* Artı, eksi ve yenileme sembolleri için özel stil */
#btnDecrease, 
#btnIncrease, 
#btnResetFont {
  font-size: 24px !important;
  font-weight: bold !important;
  color: #333 !important;
  text-shadow: none !important;
}

/* Boyut paneli görünüm düzeltmeleri */
#fontLevel, 
.fontLevel {
  font-size: 2.2rem !important;
  font-weight: bold !important;
  text-align: center !important;
  margin: 20px 0 25px !important;
  color: #333 !important;
  text-shadow: none !important;
}

/* Logo görünürlüğünü artırma ve gölge sorunlarını düzeltme */
.barrifree-toggle-img,
.barrifree-header img,
.barrifree-contrast-icon img {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  z-index: 10002 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  box-shadow: none !important;
  filter: none !important;
}

.barrifree-toggle-img {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  object-fit: contain !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

.barrifree-header img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: #fff !important;
  padding: 6px !important;
  border: 2px solid #FF8C27 !important;
  box-shadow: 0 4px 12px rgba(255,140,39,0.25) !important;
}

/* Widget toggle butonunu düzeltme */
.barrifree-widget-toggle {
  position: fixed !important;
  bottom: 32px !important;
  right: 32px !important;
  z-index: 10001 !important;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  border-radius: 32px 32px 0 32px !important;
  box-shadow: 0 6px 20px rgba(130, 74, 0, 0.3),
              0 10px 10px -10px rgba(0, 0, 0, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.barrifree-widget-toggle.active,
.barrifree-widget-toggle.active::before,
.barrifree-widget-toggle.active::after {
  box-shadow: none !important;
  border-bottom-right-radius: 0 !important;
}

/* Panel açıkken alt logo */
.barrifree-widget-panel .footer-logo {
  box-shadow: none !important;
  filter: none !important;
}

/* Panel açıkken alt bölüm */
.barrifree-widget-panel-footer {
  box-shadow: none !important;
  border-top: 1px solid #eee !important;
}

/* Eklenti içi görsellerin görünürlüğünü garanti etme */
.barrifree-hide-images .barrifree-toggle-img,
.barrifree-hide-images .barrifree-header img,
.barrifree-hide-images .barrifree-contrast-icon img {
  visibility: visible !important;
  display: block !important;
  opacity: 1 !important;
}

/* Ek panel (Mehr Funktionen) stilleri */
.barrifree-more-features-panel {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 320px !important;
  height: auto !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15) !important;
  z-index: 10000 !important;
  padding: 20px !important;
  margin: 0 !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s ease-in-out !important;
  overflow-y: auto !important;
  max-height: 100vh !important;
}

.barrifree-more-features-panel.active {
  transform: translateX(0) !important;
}

/* Ana panel ve ek panel arasındaki boşluğu kaldır */
.barrifree-widget-panel.active + .barrifree-more-features-panel {
  margin-top: 0 !important;
  border-top-right-radius: 0 !important;
}

/* Panel başlığı */
.barrifree-more-features-panel .panel-title {
  font-size: 24px !important;
  font-weight: bold !important;
  color: #333 !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Panel içeriği */
.barrifree-more-features-panel .panel-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

/* Kapatma butonu */
.barrifree-more-features-panel .close-button {
  background: none !important;
  border: none !important;
  padding: 8px !important;
  cursor: pointer !important;
  color: #666 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  border-radius: 50% !important;
  transition: background-color 0.2s !important;
}

.barrifree-more-features-panel .close-button:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

/* Tüm yan paneller için genel stiller */
.barrifree-more-features-panel,
.barrifree-settings-panel,
.barrifree-font-panel,
[class*="barrifree-widget"][class*="-panel"]:not(.barrifree-widget-panel) {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 320px !important;
  height: auto !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15) !important;
  z-index: 10000 !important;
  padding: 20px !important;
  margin: 0 !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s ease-in-out !important;
  overflow-y: auto !important;
  max-height: 100vh !important;
}

/* Tüm yan paneller için aktif durumu */
.barrifree-more-features-panel.active,
.barrifree-settings-panel.active,
.barrifree-font-panel.active,
[class*="barrifree-widget"][class*="-panel"].active:not(.barrifree-widget-panel) {
  transform: translateX(0) !important;
}

/* Ana panel ile yan paneller arasındaki boşluğu kaldır */
.barrifree-widget-panel.active + [class*="barrifree-widget"][class*="-panel"],
.barrifree-widget-panel.active + .barrifree-more-features-panel,
.barrifree-widget-panel.active + .barrifree-settings-panel,
.barrifree-widget-panel.active + .barrifree-font-panel {
  margin-top: 0 !important;
  border-top-right-radius: 0 !important;
  top: auto !important;
  bottom: 32px !important;
}

/* Panel başlıkları için genel stil */
[class*="barrifree-widget"][class*="-panel"] .panel-title,
.barrifree-more-features-panel .panel-title,
.barrifree-settings-panel .panel-title,
.barrifree-font-panel .panel-title {
  font-size: 24px !important;
  font-weight: bold !important;
  color: #333 !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Panel içerikleri için genel stil */
[class*="barrifree-widget"][class*="-panel"] .panel-content,
.barrifree-more-features-panel .panel-content,
.barrifree-settings-panel .panel-content,
.barrifree-font-panel .panel-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

/* Kapatma butonları için genel stil */
[class*="barrifree-widget"][class*="-panel"] .close-button,
.barrifree-more-features-panel .close-button,
.barrifree-settings-panel .close-button,
.barrifree-font-panel .close-button {
  background: none !important;
  border: none !important;
  padding: 8px !important;
  cursor: pointer !important;
  color: #666 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  border-radius: 50% !important;
  transition: background-color 0.2s !important;
}

[class*="barrifree-widget"][class*="-panel"] .close-button:hover,
.barrifree-more-features-panel .close-button:hover,
.barrifree-settings-panel .close-button:hover,
.barrifree-font-panel .close-button:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}