/* Стили для модального окна эквалайзера */
.eq-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.eq-modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 400px;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.eq-close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.eq-close:hover {
  color: #333;
}

.eq-title {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  font-size: 1.4em;
  font-weight: 600;
}

.eq-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.eq-band {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}

.eq-band label {
  width: 50px;
  font-size: 12px;
  color: #555;
  font-weight: 500;
  text-align: right;
}

.eq-slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.eq-slider {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #e0e0e0;
  outline: none;
  accent-color: #007BFF;
  cursor: pointer;
}

.eq-value {
  width: 40px;
  font-size: 11px;
  color: #666;
  font-weight: 500;
  text-align: center;
}

.eq-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.eq-action-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.eq-reset {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #ddd;
}

.eq-reset:hover {
  background: #e9ecef;
}

.eq-apply {
  background: #007BFF;
  color: white;
}

.eq-apply:hover {
  background: #0056b3;
}

#eqButton {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-color: #6c757d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 18px;
  transition: background-color 0.3s ease, border 0.3s ease;
}

#eqButton:hover {
  background-color: #5a6268;
  border: 2px solid #6c757d;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .eq-modal-content {
    margin: 2% auto;
    padding: 15px;
    width: 95%;
  }
  
  .eq-band {
    gap: 8px;
  }
  
  .eq-band label {
    width: 45px;
    font-size: 11px;
  }
  
  .eq-slider-container {
    gap: 8px;
  }
  
  .eq-value {
    width: 35px;
    font-size: 10px;
  }
  
  .top-buttons {
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    padding: 10px;
  }
  
  .nav-button {
    padding: 8px 15px;
    font-size: 12px;
  }
  
  .footer {
    padding: 10px 0;
  }
  
  .footer-text {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .eq-band {
    gap: 5px;
  }
  
  .eq-band label {
    width: 40px;
    font-size: 10px;
  }
  
  .eq-slider-container {
    gap: 5px;
  }
  
  .eq-value {
    width: 30px;
    font-size: 9px;
  }
}