/**
 * Sivas Cumhuriyet Üniversitesi - Eriþilebilirlik Widget'ý
 * Web Siteleri Ýçin Profesyonel Eriþilebilirlik Aracý
 * WCAG 2.1 AA Uyumlu
 * 
 * @version 1.0.0
 * @author Sinan Kýrça
 * @organization Sivas Cumhuriyet Üniversitesi - Yazýlým Geliþtirme Grubu
 * @description Bu yazýlým Sivas Cumhuriyet Üniversitesi için geliþtirilmiþtir.
 */

/* Variables are inlined in the compiled CSS */

/* Widget elementlerini zoom'dan muaf tut - KESÄ°N KORUMA */
.aw-toggle-button,
.aw-toggle-button *,
.aw-panel,
.aw-panel *,
.aw-overlay,
.aw-overlay *,
.aw-notification,
.aw-notification *,
.aw-modal,
.aw-modal *,
.aw-keyboard,
.aw-keyboard *,
.aw-tts-player,
.aw-tts-player *,
.aw-reading-mode,
.aw-reading-mode *,
.aw-text-magnifier-tooltip,
.aw-text-magnifier-tooltip * {
  zoom: 1 !important;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  line-height: normal !important;
}

/* Screen Reader Only */
.aw-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Links */
.aw-skip-links {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000011;
  display: flex;
  gap: 8px;
}

.aw-skip-links:focus-within {
  top: 16px;
}

.aw-skip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  user-select: none;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.aw-skip-link:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.aw-skip-link:focus {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
}

/* Floating Toggle Button */
.aw-toggle-button {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 999999;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
  animation: aw-pulse 2s infinite;
  transition: all 0.3s ease;
  font-size: 16px !important;
  line-height: normal !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.aw-toggle-button:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
  transform: scale(1.05);
}

.aw-toggle-button:active {
  opacity: 0.9;
}

.aw-toggle-button[aria-expanded="true"] {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.aw-toggle-button:focus {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
}

.aw-toggle-button svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@keyframes aw-pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  50% {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 0 0 12px rgba(59, 130, 246, 0);
  }
}

@media (max-width: 767px) {
  .aw-toggle-button {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
  
  .aw-toggle-button svg {
    width: 24px;
    height: 24px;
  }
}

.aw-toggle-button--left {
  right: auto;
  left: 24px;
}

@media (max-width: 767px) {
  .aw-toggle-button--left {
    left: 16px;
  }
}

/* Panel */
.aw-panel {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 380px !important;
  height: 100vh !important;
  z-index: 1000000;
  background: #f8f9fa;
  border-radius: 0;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  border: none;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  font-size: 14px !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.aw-panel * {
  font-size: 14px !important;
}

.aw-panel--open {
  transform: translateX(0);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.aw-panel--left {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  border-left: none;
  border-right: 1px solid #e0e0e0;
}

.aw-panel--left.aw-panel--open {
  transform: translateX(0);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
  .aw-panel {
    width: 100% !important;
    max-width: 100vw !important;
    height: 100% !important;
    overflow-x: hidden;
  }
  
  .aw-category__body {
    grid-template-columns: 1fr;
  }
  
  .aw-feature-item--full {
    grid-column: 1 / -1 !important;
  }
  
  .aw-button--block,
  .aw-range-control {
    grid-column: span 1;
  }
  
  /* Panelin iÃ§indeki tÃ¼m iÃ§eriklerin taÅŸmamasÄ± iÃ§in */
  .aw-panel * {
    max-width: 100%;
  }
  
  /* Modal ve overlay'lerin mobilde tam ekran olmasÄ± */
  .aw-modal {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
  }
  
  /* Metin bÃ¼yÃ¼teci mobilde kÃ¼Ã§Ã¼k ekrana uygun */
  .aw-text-magnifier-tooltip {
    max-width: 90vw !important;
    font-size: 18px !important;
    padding: 15px 20px !important;
    left: 5vw !important;
    right: 5vw !important;
  }
}
.aw-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  border-bottom: none;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
  .aw-panel__header {
    padding: 16px;
  }
}

.aw-panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.3px;
}

.aw-panel__title svg {
  width: 26px;
  height: 26px;
  color: #ffffff;
}

.aw-panel__close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.aw-panel__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.aw-panel__close:active {
  transform: scale(0.95);
}

.aw-panel__close:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.aw-panel__close svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
}

.aw-panel__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  background: #f8f9fa;
}

.aw-panel__body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.aw-panel__body::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 6px;
}

.aw-panel__body::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}

.aw-panel__body::-webkit-scrollbar-thumb:hover {
  background: #c7c7c7;
}

@media (max-width: 767px) {
  .aw-panel__body {
    padding: 8px;
  }
}

.aw-panel__footer {
  padding: 20px 24px;
  border-top: 2px solid #e5e7eb;
  flex-shrink: 0;
  background: #ffffff;
}

@media (max-width: 767px) {
  .aw-panel__footer {
    padding: 8px 16px;
  }
}

/* Category */
.aw-category {
  margin-bottom: 32px;
}

.aw-category:last-child {
  margin-bottom: 0;
}

.aw-category__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
}

.aw-category__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #3b82f6;
  flex-shrink: 0;
}

.aw-category__icon svg {
  width: 28px;
  height: 28px;
}

.aw-category__title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  letter-spacing: 0.3px;
}

.aw-category__body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  grid-auto-rows: minmax(95px, auto);
  align-items: stretch;
}

/* Feature Item */
.aw-feature-item {
  grid-column: span 1;
  display: flex;
  min-height: 95px;
  height: auto;
  overflow: visible;
}

.aw-feature-item--full {
  grid-column: 1 / -1 !important;
  height: auto !important;
  overflow: visible !important;
  max-height: none !important;
  min-height: 240px !important;
  margin-bottom: 12px;
}

/* Buttons */
.aw-button {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  padding: 16px 12px;
  margin: 0;
  font: inherit;
  color: #374151;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: none;
  text-align: center;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  height: 100%;
  min-height: 95px;
  max-height: none;
}

.aw-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
}

.aw-button:active:not(:disabled) {
  transform: translateY(0);
}

.aw-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.aw-button:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.aw-button svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  color: #3b82f6;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.aw-button span {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
  font-size: 13px;
  font-weight: 600;
}

.aw-button--primary {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.aw-button--primary:hover:not(:disabled) {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.aw-button--primary svg {
  color: #ffffff;
}

.aw-button--secondary {
  background: #ffffff;
  color: #374151;
  border: 2px solid #e5e7eb;
}

.aw-button--secondary:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #3b82f6;
}

.aw-button--danger {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

.aw-button--danger:hover:not(:disabled) {
  background: #dc2626;
  border-color: #dc2626;
}

.aw-button--danger svg {
  color: #ffffff;
}

.aw-button--block {
  display: flex;
  width: 100%;
  grid-column: span 2;
}

.aw-button--block.aw-button--danger {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 16px;
  min-height: 36px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.aw-button--block.aw-button--danger svg {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Toggle Switch */
.aw-toggle-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 12px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.2s ease;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  height: 100%;
  min-height: 95px;
  max-height: none;
}

.aw-toggle-switch:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  border: 2px solid #3b82f6 !important;
  border-color: #3b82f6 !important;
  z-index: 10;
  position: relative;
}

.aw-toggle-switch:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.aw-toggle-switch__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  width: 100%;
}

.aw-toggle-switch__label svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  flex-shrink: 0;
  color: #3b82f6;
  transition: color 0.2s ease;
}

.aw-toggle-switch__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  width: 100%;
}

.aw-toggle-switch__title {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 100%;
  text-align: center;
}

.aw-toggle-switch__description {
  font-size: 11px;
  color: #6b7280;
  display: none;
}

.aw-toggle-switch[aria-checked="true"] .aw-toggle-switch__description {
  display: block;
}

.aw-toggle-switch__switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: #d1d5db;
  border-radius: 13px;
  transition: background 0.2s ease;
  flex-shrink: 0;
  margin-top: 4px;
}

.aw-toggle-switch__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.aw-toggle-switch[aria-checked="true"] {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.aw-toggle-switch[aria-checked="true"] .aw-toggle-switch__label svg {
  color: #2563eb;
}

.aw-toggle-switch[aria-checked="true"] .aw-toggle-switch__title {
  color: #1e40af;
}

.aw-toggle-switch[aria-checked="true"] .aw-toggle-switch__switch {
  background: #3b82f6;
}

.aw-toggle-switch[aria-checked="true"] .aw-toggle-switch__switch::after {
  transform: translateX(22px);
}

.aw-toggle-switch:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.aw-toggle-switch:disabled:hover {
  transform: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Range Control */
.aw-range-control {
  padding: 10px 12px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  grid-column: span 2;
  min-height: 95px;
  max-height: 95px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.aw-range-control:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.aw-range-control__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}

.aw-range-control__top svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  color: #3b82f6;
  flex-shrink: 0;
}

.aw-range-control__title {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.aw-range-control__middle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}

.aw-range-control__btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.aw-range-control__btn svg {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

.aw-range-control__btn:hover {
  border-color: #3b82f6;
  background: #eff6ff;
}

.aw-range-control__btn:hover svg {
  color: #3b82f6;
}

.aw-range-control__btn:active {
  transform: scale(0.95);
}

.aw-range-control__value {
  color: #1f2937;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  min-width: 40px;
}

.aw-range-control__value:empty {
  visibility: hidden;
}

.aw-range-control__slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e5e7eb;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
}

.aw-range-control__slider:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.aw-range-control__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.4);
  transition: all 0.2s ease;
  border: 3px solid #ffffff;
}

.aw-range-control__slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.5);
}

.aw-range-control__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.4);
  transition: all 0.2s ease;
}

.aw-range-control__slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.5);
}

/* Font Controls */
.aw-font-controls {
  width: 100%;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
  overflow: hidden;
}

.aw-font-controls__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.aw-font-controls__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.aw-font-controls__icon svg {
  width: 22px;
  height: 22px;
}

.aw-font-controls__titles {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aw-font-controls__title {
  font-size: 15px !important;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
}

.aw-font-controls__buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(44px, auto);
  gap: 10px;
  width: 100%;
  flex-shrink: 0;
}

.aw-font-control-btn {
  padding: 10px 8px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 10.5px !important;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1.3;
  white-space: normal;
  word-wrap: break-word;
  hyphens: auto;
  min-height: 44px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aw-font-control-btn:hover {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #3b82f6;
}

.aw-font-control-btn--selected {
  border-color: #3b82f6 !important;
  background: #3b82f6 !important;
  color: #ffffff !important;
}

.aw-font-control-btn--active {
  border-color: #3b82f6;
  color: #3b82f6;
}

.aw-font-controls__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-shrink: 0;
  padding: 4px 0;
  flex-wrap: wrap;
}

.aw-font-control-action {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  color: white;
}

.aw-font-control-action svg {
  width: 24px;
  height: 24px;
}

.aw-font-control-action:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.aw-font-control-action:active {
  transform: translateY(0) scale(0.95);
}

.aw-font-control-value {
  min-width: 80px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 24px;
  padding: 0 16px;
  transition: all 0.2s ease;
}

.aw-font-control-value__text {
  font-size: 16px !important;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  white-space: nowrap;
}

.aw-font-control-value__text:empty::before {
  content: '---';
  color: #9ca3af;
  font-weight: 500;
}

/* Contrast Modes */
.aw-contrast-mode {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  padding: 16px 12px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 95px;
  max-height: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.aw-contrast-mode:hover {
  border-color: #3b82f6;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.aw-contrast-mode:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.aw-contrast-mode--active {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(59, 130, 246, 0.2);
}

.aw-contrast-mode--active .aw-contrast-mode__title {
  color: #1e40af;
  font-weight: 700;
}

.aw-contrast-mode--active .aw-contrast-mode__preview {
  color: #2563eb;
}

.aw-contrast-mode__preview {
  width: 100%;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.aw-contrast-mode__title {
  font-size: 13px;
  color: #374151;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  width: 100%;
  word-wrap: break-word;
}

.aw-contrast-mode[data-mode="normal"] .aw-contrast-mode__preview {
  background: white;
  color: #333;
  border: 1px solid #ddd;
}

.aw-contrast-mode[data-mode="monochrome"] .aw-contrast-mode__preview {
  background: white;
  color: black;
}

.aw-contrast-mode[data-mode="high-bright"] .aw-contrast-mode__preview {
  background: white;
  color: black;
  font-weight: bold;
}

.aw-contrast-mode[data-mode="high-dark"] .aw-contrast-mode__preview {
  background: black;
  color: yellow;
  font-weight: bold;
}

/* Overlay */
.aw-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.aw-overlay--visible {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .aw-overlay {
    display: none;
  }
}

@media (max-width: 767px) {
  .aw-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .aw-overlay--visible {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Notification */
.aw-notification {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 16px 24px;
  background: #1f2937;
  color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-size: 14px !important;
  font-weight: 600;
  line-height: normal !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  z-index: 1000002;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.aw-notification--visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.aw-notification--success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

.aw-notification--error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

.aw-notification--warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
  .aw-notification {
    bottom: 80px;
    left: 16px;
    right: 16px;
    transform: translateY(100px);
    padding: 12px 16px;
    font-size: 13px !important;
    max-width: calc(100vw - 32px);
    word-wrap: break-word;
  }
  
  .aw-notification--visible {
    transform: translateY(0);
  }
}

/* Modal */
.aw-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  font-size: 14px !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.aw-modal,
.aw-modal * {
  font-size: inherit !important;
}

.aw-modal--visible {
  opacity: 1;
  visibility: visible;
}

.aw-modal--visible .aw-modal__content {
  transform: scale(1);
  opacity: 1;
}

@media (max-width: 767px) {
  .aw-modal {
    padding: 16px;
  }
  .aw-font-controls {
    padding: 12px 12px 20px;
  }
  .aw-font-controls__actions {
    gap: 8px;
  }
}

.aw-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.aw-modal__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 2px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s ease;
}

@media (max-width: 767px) {
  .aw-modal__content {
    max-width: 100%;
    max-height: 90vh;
  }
}

.aw-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 2px solid #e5e7eb;
  flex-shrink: 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
  border-radius: 16px 16px 0 0;
}

.aw-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.aw-modal__title svg {
  width: 26px;
  height: 26px;
  color: #3b82f6;
}

.aw-modal__close {
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.aw-modal__close:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

.aw-modal__close:active {
  transform: scale(0.95);
}

.aw-modal__close:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.aw-modal__close svg {
  width: 20px;
  height: 20px;
}

.aw-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.aw-modal__body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.aw-modal__body::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 6px;
}

.aw-modal__body::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}

.aw-modal__body::-webkit-scrollbar-thumb:hover {
  background: #c7c7c7;
}

@media (max-width: 767px) {
  .aw-modal__body {
    padding: 16px;
  }
}

/* Virtual Keyboard */
.aw-keyboard {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 90%;
  max-width: 900px;
  z-index: 1000002;
  background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  border: 2px solid #e5e7eb;
  border-bottom: none;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.aw-keyboard,
.aw-keyboard * {
  font-size: inherit !important;
}

.aw-keyboard--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
  .aw-keyboard {
    width: 100%;
    max-width: 100%;
    padding: 8px 6px;
    border-radius: 8px 8px 0 0;
    max-height: 65vh;
    overflow-y: auto;
    bottom: 0;
  }
  
  .aw-keyboard__header {
    margin-bottom: 8px;
    padding-bottom: 6px;
  }
  
  .aw-keyboard__title {
    font-size: 13px;
  }
  
  /* Klavye tuÅŸlarÄ±nÄ± mobilde kÃ¼Ã§Ã¼lt */
  .aw-keyboard__keys {
    gap: 3px !important;
  }
  
  .aw-keyboard__key {
    min-width: 24px !important;
    height: 34px !important;
    font-size: 12px !important;
    padding: 4px !important;
  }
  
  .aw-keyboard__key--wide {
    min-width: 45px !important;
  }
  
  .aw-keyboard__key--space {
    min-width: 100px !important;
  }
  
  .aw-keyboard__close {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .aw-keyboard {
    padding: 6px 4px;
    max-height: 60vh;
  }
  
  .aw-keyboard__keys {
    gap: 2px !important;
  }
  
  .aw-keyboard__key {
    min-width: 22px !important;
    height: 32px !important;
    font-size: 11px !important;
    padding: 3px !important;
  }
  
  .aw-keyboard__key--wide {
    min-width: 40px !important;
  }
  
  .aw-keyboard__key--space {
    min-width: 80px !important;
  }
}

/* Very small devices (320px) */
@media (max-width: 360px) {
  .aw-keyboard {
    padding: 4px 2px;
    max-height: 55vh;
  }
  
  .aw-keyboard__header {
    margin-bottom: 6px;
    padding-bottom: 4px;
  }
  
  .aw-keyboard__title {
    font-size: 11px;
  }
  
  .aw-keyboard__close {
    width: 24px;
    height: 24px;
    font-size: 16px;
  }
  
  .aw-keyboard__keys {
    gap: 1px !important;
  }
  
  .aw-keyboard__key {
    min-width: 19px !important;
    height: 28px !important;
    font-size: 10px !important;
    padding: 2px !important;
    border-radius: 3px !important;
  }
  
  .aw-keyboard__key--wide {
    min-width: 35px !important;
  }
  
  .aw-keyboard__key--space {
    min-width: 65px !important;
  }
  
  .aw-keyboard__row {
    gap: 1px !important;
  }
}

.aw-keyboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
}

.aw-keyboard__title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.aw-keyboard__close {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.aw-keyboard__close:hover {
  background: #f5f5f5;
}

.aw-keyboard__close:active {
  transform: scale(0.95);
}

.aw-keyboard__close:focus {
  outline: 3px solid #4CAF50;
  outline-offset: 2px;
}

.aw-keyboard__close svg {
  width: 16px;
  height: 16px;
}

.aw-keyboard__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aw-keyboard__row {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.aw-keyboard__key {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  min-width: 45px;
  height: 45px;
  padding: 4px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  transition: all 0.15s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.aw-keyboard__key:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

.aw-keyboard__key:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  background: #dbeafe;
}

.aw-keyboard__key:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.aw-keyboard__key--wide {
  min-width: 80px;
}

.aw-keyboard__key--extra-wide {
  min-width: 120px;
}

.aw-keyboard__key--space {
  flex: 1;
  min-width: 200px;
}

.aw-keyboard__key--action {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border-color: #3b82f6;
}

.aw-keyboard__key--action:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: #2563eb;
}

@media (max-width: 767px) {
  .aw-keyboard__key {
    min-width: 32px;
    height: 40px;
    font-size: 12px;
  }
  
  .aw-keyboard__key--wide {
    min-width: 60px;
  }
  
  .aw-keyboard__key--extra-wide {
    min-width: 90px;
  }
  
  .aw-keyboard__key--space {
    min-width: 120px;
  }
}

/* Reading Mode */
.aw-reading-mode {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000001;
  background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
  color: #1f2937;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  font-size: 16px !important;
  line-height: 1.6 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.aw-reading-mode,
.aw-reading-mode * {
  font-size: inherit !important;
}

.aw-reading-mode--active {
  opacity: 1;
  visibility: visible;
}

.aw-reading-mode::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.aw-reading-mode::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 6px;
}

.aw-reading-mode::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}

.aw-reading-mode::-webkit-scrollbar-thumb:hover {
  background: #c7c7c7;
}

.aw-reading-mode__header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-bottom: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.aw-reading-mode__title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.aw-reading-mode__title::before {
  content: "ðŸ“–";
  font-size: 24px;
}

.aw-reading-mode__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  gap: 6px;
}

.aw-reading-mode__close:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.aw-reading-mode__close:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.aw-reading-mode__close svg {
  width: 16px;
  height: 16px;
}

.aw-reading-mode__content {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px;
  font-size: 18px;
  line-height: 1.8;
  color: #2d2d2d;
  font-family: Georgia, 'Times New Roman', serif;
  min-height: 400px;
}

.aw-reading-mode__content:empty::before {
  content: "Ä°Ã§erik yÃ¼kleniyor... EÄŸer iÃ§erik gÃ¶rÃ¼nmÃ¼yorsa, sayfa yapÄ±sÄ± desteklenmeyebilir.";
  display: block;
  padding: 40px;
  text-align: center;
  color: #999;
  font-style: italic;
}

@media (max-width: 767px) {
  .aw-reading-mode__content {
    padding: 24px 16px;
  }
}

.aw-reading-mode__content h1,
.aw-reading-mode__content h2,
.aw-reading-mode__content h3,
.aw-reading-mode__content h4,
.aw-reading-mode__content h5,
.aw-reading-mode__content h6 {
  margin-top: 32px;
  margin-bottom: 16px;
  color: #2d2d2d;
  line-height: 1.3;
}

.aw-reading-mode__content h1 {
  font-size: 2.5em;
}

.aw-reading-mode__content h2 {
  font-size: 2em;
}

.aw-reading-mode__content h3 {
  font-size: 1.5em;
}

.aw-reading-mode__content p {
  margin-bottom: 16px;
}

.aw-reading-mode__content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
  border-radius: 6px;
}

.aw-reading-mode__content a {
  color: #2196F3;
  text-decoration: underline;
}

.aw-reading-mode__content a:hover {
  color: #1976d2;
}

/* Highlight Modes */
body.aw-highlight-links a:not(.aw-panel a):not(.aw-panel *):not(.aw-toggle-button a):not(.aw-toggle-button *):not(.aw-modal a):not(.aw-modal *):not(.aw-keyboard a):not(.aw-keyboard *):not(.aw-notification a):not(.aw-notification *):not(.aw-tts-player a):not(.aw-tts-player *):not(.aw-reading-mode a):not(.aw-reading-mode *) {
  background-color: #fef3c7 !important;
  outline: 3px solid #f59e0b !important;
  outline-offset: 2px !important;
  padding: 3px 6px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

@media (max-width: 767px) {
  body.aw-highlight-links a:not(.aw-panel a):not(.aw-panel *):not(.aw-toggle-button a):not(.aw-toggle-button *):not(.aw-modal a):not(.aw-modal *):not(.aw-keyboard a):not(.aw-keyboard *):not(.aw-notification a):not(.aw-notification *):not(.aw-tts-player a):not(.aw-tts-player *):not(.aw-reading-mode a):not(.aw-reading-mode *) {
    outline-width: 2px !important;
    padding: 4px 8px !important;
  }
}

body.aw-highlight-buttons button:not(.aw-panel button):not(.aw-panel *):not(.aw-toggle-button button):not(.aw-toggle-button *):not(.aw-modal button):not(.aw-modal *):not(.aw-keyboard button):not(.aw-keyboard *):not(.aw-notification button):not(.aw-notification *):not(.aw-tts-player button):not(.aw-tts-player *):not(.aw-reading-mode button):not(.aw-reading-mode *),
body.aw-highlight-buttons input[type="button"]:not(.aw-panel input[type="button"]):not(.aw-panel *):not(.aw-toggle-button input[type="button"]):not(.aw-toggle-button *):not(.aw-modal input[type="button"]):not(.aw-modal *):not(.aw-keyboard input[type="button"]):not(.aw-keyboard *):not(.aw-notification input[type="button"]):not(.aw-notification *):not(.aw-tts-player input[type="button"]):not(.aw-tts-player *):not(.aw-reading-mode input[type="button"]):not(.aw-reading-mode *),
body.aw-highlight-buttons input[type="submit"]:not(.aw-panel input[type="submit"]):not(.aw-panel *):not(.aw-toggle-button input[type="submit"]):not(.aw-toggle-button *):not(.aw-modal input[type="submit"]):not(.aw-modal *):not(.aw-keyboard input[type="submit"]):not(.aw-keyboard *):not(.aw-notification input[type="submit"]):not(.aw-notification *):not(.aw-tts-player input[type="submit"]):not(.aw-tts-player *):not(.aw-reading-mode input[type="submit"]):not(.aw-reading-mode *),
body.aw-highlight-buttons input[type="reset"]:not(.aw-panel input[type="reset"]):not(.aw-panel *):not(.aw-toggle-button input[type="reset"]):not(.aw-toggle-button *):not(.aw-modal input[type="reset"]):not(.aw-modal *):not(.aw-keyboard input[type="reset"]):not(.aw-keyboard *):not(.aw-notification input[type="reset"]):not(.aw-notification *):not(.aw-tts-player input[type="reset"]):not(.aw-tts-player *):not(.aw-reading-mode input[type="reset"]):not(.aw-reading-mode *),
body.aw-highlight-buttons [role="button"]:not(.aw-panel [role="button"]):not(.aw-panel *):not(.aw-toggle-button [role="button"]):not(.aw-toggle-button *):not(.aw-modal [role="button"]):not(.aw-modal *):not(.aw-keyboard [role="button"]):not(.aw-keyboard *):not(.aw-notification [role="button"]):not(.aw-notification *):not(.aw-tts-player [role="button"]):not(.aw-tts-player *):not(.aw-reading-mode [role="button"]):not(.aw-reading-mode *) {
  background-color: #a7f3d0 !important;
  outline: 3px solid #10b981 !important;
  outline-offset: 2px !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

@media (max-width: 767px) {
  body.aw-highlight-buttons button:not(.aw-panel button):not(.aw-panel *):not(.aw-toggle-button button):not(.aw-toggle-button *):not(.aw-modal button):not(.aw-modal *):not(.aw-keyboard button):not(.aw-keyboard *):not(.aw-notification button):not(.aw-notification *):not(.aw-tts-player button):not(.aw-tts-player *):not(.aw-reading-mode button):not(.aw-reading-mode *),
  body.aw-highlight-buttons input[type="button"]:not(.aw-panel input[type="button"]):not(.aw-panel *),
  body.aw-highlight-buttons input[type="submit"]:not(.aw-panel input[type="submit"]):not(.aw-panel *),
  body.aw-highlight-buttons input[type="reset"]:not(.aw-panel input[type="reset"]):not(.aw-panel *),
  body.aw-highlight-buttons [role="button"]:not(.aw-panel [role="button"]):not(.aw-panel *) {
    outline-width: 2px !important;
  }
}

body.aw-highlight-headings h1:not(.aw-panel h1):not(.aw-panel *):not(.aw-toggle-button h1):not(.aw-toggle-button *):not(.aw-modal h1):not(.aw-modal *):not(.aw-keyboard h1):not(.aw-keyboard *):not(.aw-notification h1):not(.aw-notification *):not(.aw-tts-player h1):not(.aw-tts-player *):not(.aw-reading-mode h1):not(.aw-reading-mode *),
body.aw-highlight-headings h2:not(.aw-panel h2):not(.aw-panel *):not(.aw-toggle-button h2):not(.aw-toggle-button *):not(.aw-modal h2):not(.aw-modal *):not(.aw-keyboard h2):not(.aw-keyboard *):not(.aw-notification h2):not(.aw-notification *):not(.aw-tts-player h2):not(.aw-tts-player *):not(.aw-reading-mode h2):not(.aw-reading-mode *),
body.aw-highlight-headings h3:not(.aw-panel h3):not(.aw-panel *):not(.aw-toggle-button h3):not(.aw-toggle-button *):not(.aw-modal h3):not(.aw-modal *):not(.aw-keyboard h3):not(.aw-keyboard *):not(.aw-notification h3):not(.aw-notification *):not(.aw-tts-player h3):not(.aw-tts-player *):not(.aw-reading-mode h3):not(.aw-reading-mode *),
body.aw-highlight-headings h4:not(.aw-panel h4):not(.aw-panel *):not(.aw-toggle-button h4):not(.aw-toggle-button *):not(.aw-modal h4):not(.aw-modal *):not(.aw-keyboard h4):not(.aw-keyboard *):not(.aw-notification h4):not(.aw-notification *):not(.aw-tts-player h4):not(.aw-tts-player *):not(.aw-reading-mode h4):not(.aw-reading-mode *),
body.aw-highlight-headings h5:not(.aw-panel h5):not(.aw-panel *):not(.aw-toggle-button h5):not(.aw-toggle-button *):not(.aw-modal h5):not(.aw-modal *):not(.aw-keyboard h5):not(.aw-keyboard *):not(.aw-notification h5):not(.aw-notification *):not(.aw-tts-player h5):not(.aw-tts-player *):not(.aw-reading-mode h5):not(.aw-reading-mode *),
body.aw-highlight-headings h6:not(.aw-panel h6):not(.aw-panel *):not(.aw-toggle-button h6):not(.aw-toggle-button *):not(.aw-modal h6):not(.aw-modal *):not(.aw-keyboard h6):not(.aw-keyboard *):not(.aw-notification h6):not(.aw-notification *):not(.aw-tts-player h6):not(.aw-tts-player *):not(.aw-reading-mode h6):not(.aw-reading-mode *),
body.aw-highlight-headings [role="heading"]:not(.aw-panel [role="heading"]):not(.aw-panel *):not(.aw-toggle-button [role="heading"]):not(.aw-toggle-button *):not(.aw-modal [role="heading"]):not(.aw-modal *):not(.aw-keyboard [role="heading"]):not(.aw-keyboard *):not(.aw-notification [role="heading"]):not(.aw-notification *):not(.aw-tts-player [role="heading"]):not(.aw-tts-player *):not(.aw-reading-mode [role="heading"]):not(.aw-reading-mode *) {
  background-color: #bfdbfe !important;
  outline: 3px solid #3b82f6 !important;
  outline-offset: 2px !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}

@media (max-width: 767px) {
  body.aw-highlight-headings h1:not(.aw-panel h1):not(.aw-panel *):not(.aw-toggle-button h1):not(.aw-toggle-button *):not(.aw-modal h1):not(.aw-modal *):not(.aw-keyboard h1):not(.aw-keyboard *):not(.aw-notification h1):not(.aw-notification *):not(.aw-tts-player h1):not(.aw-tts-player *):not(.aw-reading-mode h1):not(.aw-reading-mode *),
  body.aw-highlight-headings h2:not(.aw-panel h2):not(.aw-panel *),
  body.aw-highlight-headings h3:not(.aw-panel h3):not(.aw-panel *),
  body.aw-highlight-headings h4:not(.aw-panel h4):not(.aw-panel *),
  body.aw-highlight-headings h5:not(.aw-panel h5):not(.aw-panel *),
  body.aw-highlight-headings h6:not(.aw-panel h6):not(.aw-panel *),
  body.aw-highlight-headings [role="heading"]:not(.aw-panel [role="heading"]):not(.aw-panel *) {
    outline-width: 2px !important;
    padding: 4px 8px !important;
  }
}

/* Highlight Elements on Hover */
body.aw-highlight-elements *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *):not(html):not(body):hover {
  outline: 3px solid #ec4899 !important;
  outline-offset: 2px !important;
  background-color: rgba(236, 72, 153, 0.1) !important;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.4) !important;
  transition: all 0.2s ease !important;
  cursor: crosshair !important;
}

/* Mobilde tÄ±klama/dokunma ile highlight */
@media (max-width: 767px) {
  body.aw-highlight-elements *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *):not(html):not(body):active,
  body.aw-highlight-elements *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *):not(html):not(body):focus {
    outline: 3px solid #ec4899 !important;
    outline-offset: 2px !important;
    background-color: rgba(236, 72, 153, 0.15) !important;
    box-shadow: 0 0 16px rgba(236, 72, 153, 0.5) !important;
  }
}

/* Enlarge Buttons - WCAG 2.1 AA Compliance (min 44x44px) */
body.aw-enlarge-buttons button:not(.aw-panel button):not(.aw-panel *):not(.aw-toggle-button button):not(.aw-toggle-button *):not(.aw-modal button):not(.aw-modal *):not(.aw-keyboard button):not(.aw-keyboard *):not(.aw-notification button):not(.aw-notification *):not(.aw-tts-player button):not(.aw-tts-player *):not(.aw-reading-mode button):not(.aw-reading-mode *),
body.aw-enlarge-buttons input[type="button"]:not(.aw-panel input[type="button"]):not(.aw-panel *):not(.aw-toggle-button input[type="button"]):not(.aw-toggle-button *):not(.aw-modal input[type="button"]):not(.aw-modal *):not(.aw-keyboard input[type="button"]):not(.aw-keyboard *):not(.aw-notification input[type="button"]):not(.aw-notification *):not(.aw-tts-player input[type="button"]):not(.aw-tts-player *):not(.aw-reading-mode input[type="button"]):not(.aw-reading-mode *),
body.aw-enlarge-buttons input[type="submit"]:not(.aw-panel input[type="submit"]):not(.aw-panel *):not(.aw-toggle-button input[type="submit"]):not(.aw-toggle-button *):not(.aw-modal input[type="submit"]):not(.aw-modal *):not(.aw-keyboard input[type="submit"]):not(.aw-keyboard *):not(.aw-notification input[type="submit"]):not(.aw-notification *):not(.aw-tts-player input[type="submit"]):not(.aw-tts-player *):not(.aw-reading-mode input[type="submit"]):not(.aw-reading-mode *),
body.aw-enlarge-buttons input[type="reset"]:not(.aw-panel input[type="reset"]):not(.aw-panel *):not(.aw-toggle-button input[type="reset"]):not(.aw-toggle-button *):not(.aw-modal input[type="reset"]):not(.aw-modal *):not(.aw-keyboard input[type="reset"]):not(.aw-keyboard *):not(.aw-notification input[type="reset"]):not(.aw-notification *):not(.aw-tts-player input[type="reset"]):not(.aw-tts-player *):not(.aw-reading-mode input[type="reset"]):not(.aw-reading-mode *),
body.aw-enlarge-buttons [role="button"]:not(.aw-panel [role="button"]):not(.aw-panel *):not(.aw-toggle-button [role="button"]):not(.aw-toggle-button *):not(.aw-modal [role="button"]):not(.aw-modal *):not(.aw-keyboard [role="button"]):not(.aw-keyboard *):not(.aw-notification [role="button"]):not(.aw-notification *):not(.aw-tts-player [role="button"]):not(.aw-tts-player *):not(.aw-reading-mode [role="button"]):not(.aw-reading-mode *),
body.aw-enlarge-buttons a[class*="button"]:not(.aw-panel a[class*="button"]):not(.aw-panel *):not(.aw-toggle-button a[class*="button"]):not(.aw-toggle-button *):not(.aw-modal a[class*="button"]):not(.aw-modal *):not(.aw-keyboard a[class*="button"]):not(.aw-keyboard *):not(.aw-notification a[class*="button"]):not(.aw-notification *):not(.aw-tts-player a[class*="button"]):not(.aw-tts-player *):not(.aw-reading-mode a[class*="button"]):not(.aw-reading-mode *),
body.aw-enlarge-buttons a[class*="btn"]:not(.aw-panel a[class*="btn"]):not(.aw-panel *):not(.aw-toggle-button a[class*="btn"]):not(.aw-toggle-button *):not(.aw-modal a[class*="btn"]):not(.aw-modal *):not(.aw-keyboard a[class*="btn"]):not(.aw-keyboard *):not(.aw-notification a[class*="btn"]):not(.aw-notification *):not(.aw-tts-player a[class*="btn"]):not(.aw-tts-player *):not(.aw-reading-mode a[class*="btn"]):not(.aw-reading-mode *) {
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}

/* Mobilde dÃ¼ÄŸmeleri daha bÃ¼yÃ¼k yap */
@media (max-width: 767px) {
  body.aw-enlarge-buttons button:not(.aw-panel button):not(.aw-panel *):not(.aw-toggle-button button):not(.aw-toggle-button *):not(.aw-modal button):not(.aw-modal *):not(.aw-keyboard button):not(.aw-keyboard *):not(.aw-notification button):not(.aw-notification *):not(.aw-tts-player button):not(.aw-tts-player *):not(.aw-reading-mode button):not(.aw-reading-mode *),
  body.aw-enlarge-buttons input[type="button"]:not(.aw-panel input[type="button"]):not(.aw-panel *),
  body.aw-enlarge-buttons input[type="submit"]:not(.aw-panel input[type="submit"]):not(.aw-panel *),
  body.aw-enlarge-buttons input[type="reset"]:not(.aw-panel input[type="reset"]):not(.aw-panel *),
  body.aw-enlarge-buttons [role="button"]:not(.aw-panel [role="button"]):not(.aw-panel *),
  body.aw-enlarge-buttons a[class*="button"]:not(.aw-panel a[class*="button"]):not(.aw-panel *),
  body.aw-enlarge-buttons a[class*="btn"]:not(.aw-panel a[class*="btn"]):not(.aw-panel *) {
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
}

/* Contrast Modes */
body.aw-contrast-monochrome *:not(.aw-panel):not(.aw-panel *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-notification):not(.aw-notification *):not(.aw-overlay):not(.aw-skip-links):not(.aw-skip-links *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  filter: grayscale(100%);
}

/* Widget elemanlarÄ± monokromdan etkilenmesin */
body.aw-contrast-monochrome .aw-toggle-button,
body.aw-contrast-monochrome .aw-panel,
body.aw-contrast-monochrome .aw-modal,
body.aw-contrast-monochrome .aw-keyboard,
body.aw-contrast-monochrome .aw-notification,
body.aw-contrast-monochrome .aw-overlay,
body.aw-contrast-monochrome .aw-skip-links,
body.aw-contrast-monochrome .aw-tts-player,
body.aw-contrast-monochrome .aw-reading-mode {
  filter: none !important;
}

body.aw-contrast-high-bright {
  background-color: #ffffff !important;
  color: #000000 !important;
}

body.aw-contrast-high-bright *:not(.aw-panel):not(.aw-panel *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-notification):not(.aw-notification *):not(.aw-overlay):not(.aw-overlay *):not(.aw-skip-links):not(.aw-skip-links *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #000000 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 1px #000 !important;
}

body.aw-contrast-high-bright a:not(.aw-panel a):not(.aw-panel *):not(.aw-modal a):not(.aw-modal *):not(.aw-toggle-button a):not(.aw-toggle-button *):not(.aw-notification a):not(.aw-notification *) {
  color: #0000CC !important;
  text-decoration: underline !important;
  font-weight: 800 !important;
}

/* Widget elemanlarÄ± parlak kontrasttan etkilenmesin - artÄ±k body kuralÄ± bunlarÄ± zaten hariÃ§ tutuyor */

body.aw-contrast-high-dark {
  background-color: #000000 !important;
  color: #ffffff !important;
}

body.aw-contrast-high-dark *:not(.aw-panel):not(.aw-panel *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-notification):not(.aw-notification *):not(.aw-overlay):not(.aw-overlay *):not(.aw-skip-links):not(.aw-skip-links *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: 0 0 1px #fff !important;
}

body.aw-contrast-high-dark a:not(.aw-panel a):not(.aw-panel *):not(.aw-modal a):not(.aw-modal *):not(.aw-toggle-button a):not(.aw-toggle-button *):not(.aw-notification a):not(.aw-notification *) {
  color: #00FFFF !important;
  text-decoration: underline !important;
  font-weight: 800 !important;
  text-shadow: 0 0 2px #00FFFF !important;
}

/* Widget elemanlarÄ± koyu kontrasttan etkilenmesin - artÄ±k body kuralÄ± bunlarÄ± zaten hariÃ§ tutuyor */

/* Font Size Control - set via inline style on html element */

/* Readable Font */
body.aw-readable-font *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  font-family: 'Atkinson Hyperlegible', 'OpenDyslexic', Arial, sans-serif !important;
}

/* Mobile Overlay Fix - Mobilde overlay'i tamamen gizle */
@media (max-width: 768px) {
  .aw-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  
  .aw-overlay--visible {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Line Height */
body.aw-line-height-1-5 *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  line-height: 1.5 !important;
}

body.aw-line-height-1-8 *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  line-height: 1.8 !important;
}

body.aw-line-height-2 *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  line-height: 2.0 !important;
}

body.aw-line-height-2-5 *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  line-height: 2.5 !important;
}

/* Letter Spacing */
body.aw-letter-spacing-1 *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  letter-spacing: 0.05em !important;
}

body.aw-letter-spacing-2 *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  letter-spacing: 0.1em !important;
}

body.aw-letter-spacing-3 *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  letter-spacing: 0.15em !important;
}

/* Word Spacing */
body.aw-word-spacing-1 *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  word-spacing: 0.1em !important;
}

body.aw-word-spacing-2 *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  word-spacing: 0.2em !important;
}

body.aw-word-spacing-3 *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  word-spacing: 0.3em !important;
}

/* Big Cursor */
body.aw-big-cursor *:not(.aw-panel):not(.aw-panel *):not(.aw-toggle-button):not(.aw-toggle-button *):not(.aw-modal):not(.aw-modal *):not(.aw-keyboard):not(.aw-keyboard *):not(.aw-notification):not(.aw-notification *):not(.aw-tts-player):not(.aw-tts-player *):not(.aw-reading-mode):not(.aw-reading-mode *) {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M2 2 L2 28 L12 20 L18 30 L22 28 L16 18 L28 18 Z" fill="black" stroke="white" stroke-width="1"/></svg>') 2 2, auto !important;
}

/* Utility Classes */
.aw-hidden {
  display: none !important;
}

.aw-visible {
  display: block !important;
}

/* TTS Player */
.aw-tts-player {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  animation: awTTSSlideDown 0.3s ease-out;
  border: 2px solid rgba(255, 255, 255, 0.1);
  font-size: 14px !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

.aw-tts-player,
.aw-tts-player * {
  font-size: inherit !important;
}

@keyframes awTTSSlideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.aw-tts-player__main {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: transparent;
  border-radius: 16px;
}

.aw-tts-player__btn {
  background: rgba(59, 130, 246, 0.2);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #ffffff;
  padding: 0;
}

.aw-tts-player__btn:hover {
  background: rgba(59, 130, 246, 0.4);
  border-color: rgba(59, 130, 246, 0.6);
  transform: scale(1.08);
}

.aw-tts-player__btn:active {
  transform: scale(0.95);
}

.aw-tts-player__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.aw-tts-player__play-pause {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-color: #3b82f6;
  width: 52px;
  height: 52px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.aw-tts-player__play-pause:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: #2563eb;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
}

.aw-tts-player__play-pause svg {
  width: 24px;
  height: 24px;
}

.aw-tts-player__info {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  min-width: 60px;
}

.aw-tts-player__segment-count {
  color: #3b82f6;
  font-size: 16px;
  font-weight: 700;
}

.aw-tts-player__settings {
  background: rgba(52, 152, 219, 0.3);
  border-color: rgba(52, 152, 219, 0.5);
}

.aw-tts-player__settings:hover {
  background: rgba(52, 152, 219, 0.5);
  border-color: rgba(52, 152, 219, 0.7);
}

.aw-tts-player__close {
  background: rgba(231, 76, 60, 0.3);
  border-color: rgba(231, 76, 60, 0.5);
}

.aw-tts-player__close:hover {
  background: #e74c3c;
  border-color: #c0392b;
  transform: scale(1.1);
}

.aw-tts-player__close svg {
  width: 20px;
  height: 20px;
}

/* TTS Settings Panel */
.aw-tts-player__settings-panel {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 20px 24px;
  min-width: 260px;
  z-index: 10;
}

.aw-tts-settings h4 {
  margin: 0 0 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: #7f8c8d;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.aw-tts-setting {
  margin-bottom: 0;
}

.aw-tts-setting label {
  display: block;
  margin-bottom: 16px;
  text-align: center;
}

.aw-tts-rate-value {
  color: #3b82f6;
  font-weight: 700;
  font-size: 32px;
}

.aw-tts-rate-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e5e7eb;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}

.aw-tts-rate-slider::-webkit-slider-track {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: transparent;
}

.aw-tts-rate-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.5);
  border: 3px solid #ffffff;
  margin-top: -6px;
  position: relative;
  z-index: 2;
}

.aw-tts-rate-slider::-moz-range-track {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e5e7eb;
}

.aw-tts-rate-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.5);
}

/* Slider progress fill iÃ§in */
.aw-tts-rate-slider::-moz-range-progress {
  background: #3b82f6;
  height: 8px;
  border-radius: 4px 0 0 4px;
}

/* TTS Highlight Effect */
.aw-tts-highlight {
  background: linear-gradient(90deg, #fff176 0%, #ffeb3b 50%, #fff176 100%) !important;
  background-size: 200% 100% !important;
  animation: awTTSHighlight 2s ease-in-out infinite !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 8px rgba(255, 235, 59, 0.4) !important;
  position: relative;
  z-index: 999995;
}

@keyframes awTTSHighlight {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .aw-tts-player {
    top: 20px;
    left: 10px;
    right: 10px;
    transform: none;
  }

  @keyframes awTTSSlideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .aw-tts-player__main {
    padding: 8px 12px;
    gap: 3px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .aw-tts-player__btn {
    width: 38px;
    height: 38px;
  }

  .aw-tts-player__btn svg {
    width: 18px;
    height: 18px;
  }

  .aw-tts-player__play-pause {
    width: 46px;
    height: 46px;
  }

  .aw-tts-player__settings-panel {
    right: 10px;
    left: 10px;
    min-width: unset;
  }
}

/* Custom Color Controls */
.aw-custom-color-controls {
  width: 100%;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: auto;
  overflow: hidden;
}

.aw-custom-color-controls__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.aw-custom-color-controls__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.aw-custom-color-controls__icon svg {
  width: 22px;
  height: 22px;
}

.aw-custom-color-controls__titles {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aw-custom-color-controls__title {
  font-size: 15px !important;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
  margin: 0;
}

.aw-custom-color-controls__subtitle {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  line-height: 1.3;
}

.aw-custom-color-controls__targets {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.aw-custom-color-target {
  padding: 8px 10px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aw-custom-color-target:hover {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #3b82f6;
}

.aw-custom-color-target--active {
  background: #3b82f6 !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
}

.aw-custom-color-controls__slider {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.aw-color-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, 
    #ff0000 0%, 
    #ff8000 16.66%, 
    #ffff00 33.33%, 
    #80ff00 50%, 
    #00ff80 66.66%, 
    #0080ff 83.33%, 
    #8000ff 100%);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  display: block;
}

.aw-color-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  border: 2px solid #3b82f6;
  transition: all 0.2s ease;
}

.aw-color-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.aw-color-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  border: 2px solid #3b82f6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.aw-color-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.aw-custom-color-controls__actions {
  display: flex;
  justify-content: stretch;
  gap: 12px;
  flex-shrink: 0;
}

.aw-custom-color-controls__actions .aw-button {
  flex: 1;
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 16px;
  min-height: 36px;
}

.aw-custom-color-controls__actions .aw-button svg {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Print */
@media print {
  .aw-toggle-button,
  .aw-panel,
  .aw-modal,
  .aw-keyboard,
  .aw-overlay,
  .aw-notification,
  .aw-tts-player {
    display: none !important;
  }
}

