/* Speed Reader WordPress Plugin - Basit ve Temiz Stil */

/* Giriş Butonu */
.srwp-open {
  background: #2196f3;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
  margin: 20px 0;
  display: inline-block;
}

.srwp-open:hover {
  background: #1976d2;
}

/* Highlight Mode Aktif Durumu */
body.srwp-highlight-active {
  position: relative;
}

/* Kelime Vurgulama */
.srwp-word {
  transition: all 0.2s ease;
  display: inline;
}

/* Aktif kelime için basit vurgulama */
.srwp-word.srwp-current-word {
  background: #e3f2fd !important;
  color: #1565c0 !important;
  font-weight: 600 !important;
  padding: 2px 4px !important;
  border-radius: 4px !important;
  border: 1px solid #2196f3 !important;
}

/* Diğer kelimeler hafif gri */
body.srwp-highlight-active .srwp-word:not(.srwp-current-word) {
  color: #666;
  opacity: 0.7;
}

/* Kontrol Paneli */
.srwp-highlight-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  padding: 15px;
  color: white;
}

.srwp-highlight-controls {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

/* İlerleme Çubuğu */
.srwp-progress-container {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 5px;
}

.srwp-progress {
  height: 6px;
  background: #2196f3;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.srwp-progress-text {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: white;
  font-size: 12px;
}

/* Kontrol Butonları */
.srwp-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.srwp-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 14px;
  min-width: 70px;
}

.srwp-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.srwp-btn.srwp-play {
  background: #4caf50;
  border-color: #4caf50;
}

.srwp-btn.srwp-pause {
  background: #ff9800;
  border-color: #ff9800;
}

.srwp-btn.srwp-reset {
  background: #2196f3;
  border-color: #2196f3;
}

.srwp-btn.srwp-exit {
  background: #f44336;
  border-color: #f44336;
}

/* Hız Kontrolü */
.srwp-speed-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
}

.srwp-speed-control label {
  color: white;
  font-size: 14px;
  white-space: nowrap;
}

.srwp-speed {
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.srwp-speed::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: #2196f3;
  border-radius: 50%;
  cursor: pointer;
}

.srwp-speed-value {
  color: white;
  font-size: 12px;
  min-width: 50px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* İstatistikler */
.srwp-stats {
  display: flex;
  gap: 10px;
  color: white;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 6px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  .srwp-highlight-overlay {
    padding: 10px;
  }
  
  .srwp-highlight-controls {
    flex-direction: column;
    gap: 10px;
  }
  
  .srwp-progress-container {
    width: 100%;
    max-width: none;
  }
  
  .srwp-controls {
    justify-content: center;
    width: 100%;
  }
  
  .srwp-btn {
    flex: 1;
    min-width: 60px;
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .srwp-speed-control {
    width: 100%;
    justify-content: center;
  }
  
  .srwp-stats {
    width: 100%;
    justify-content: center;
  }
}

/* Yazdırma için */
@media print {
  .srwp-highlight-overlay,
  .srwp-open {
    display: none !important;
  }
  
  .srwp-word.srwp-current-word {
    background: none;
    color: inherit;
    font-weight: bold;
  }
}