/* ===============================
   INDICATORS.CSS — ОКНА И ИНДИКАТОРЫ
   =============================== */

/* === Модальное окно индикаторов === */
#indicators-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.2s ease;
}

#indicators-modal.hidden {
  display: none;
}

.indicators-window {
  background: #101419;
  border: 1px solid #00e89640;
  border-radius: 10px;
  padding: 20px 26px;
  min-width: 360px;
  max-width: 480px;
  box-shadow: 0 0 20px rgba(0, 232, 150, 0.25);
  color: #e0e3ea;
}

.indicators-window h3 {
  margin-top: 0;
  color: #00e896;
  text-align: center;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}

/* === Строки с индикаторами === */
.ema-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #1f232a;
  font-size: 14px;
}

.ema-row label {
  color: #cfd3dc;
  cursor: pointer;
}

.ema-row input[type="checkbox"] {
  accent-color: #00e896;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* === Кнопки управления === */
.indicator-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

/* === Унифицированные кнопки индикаторов (EMA, Reg Channel и т.д.) === */
#apply-ema-btn,
#apply-reg-btn,
#apply-cp-btn,
#close-indicators,
.apply-btn {
  background: #0d1016; /* темнее, как фон модального окна */
  border: 1px solid #00e89660;
  border-radius: 6px;
  color: #00e896;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  text-align: center;
}

#apply-ema-btn:hover,
#apply-reg-btn:hover,
#apply-cp-btn:hover,
#close-indicators:hover,
.apply-btn:hover {
  background: #00e89625; /* чуть светлее при наведении */
  box-shadow: 0 0 6px rgba(0, 232, 150, 0.25);
}

/* === Адаптив === */
@media (max-width: 600px) {
  .indicators-window {
    width: 90%;
    padding: 18px;
  }
}
