/* ==========================================================================
   GİRİŞ / KAYIT / ŞİFREMİ UNUTTUM MODALLARI - EmpireKO
   layout.php'deki "Split Modals Styling" bloğunun renklerini daha özgül
   seçicilerle (.modal ...) ezer; yerleşim ve içerik değişmez.
   Hata (kırmızı) ve başarı (yeşil) mesajları anlam taşıdığı için korunur.
   Renkler empire-palette.css dosyasından gelir.
   ========================================================================== */

/* Çerçeve ve zemin */
.modal .modal-custom-content {
  background: linear-gradient(180deg, rgba(28, 11, 8, .98) 0%, rgba(12, 6, 5, .99) 100%) !important;
  border: 1px solid rgba(90, 20, 11, .28) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .85), 0 0 28px rgba(217, 35, 15, .14), inset 0 1px 0 rgba(255, 201, 40, .06) !important;
}
/* Sağdaki form alanının görsele doğru kararan geçişi */
.modal .modal-split-right {
  background: linear-gradient(90deg, rgba(14, 6, 5, 0) 0%, rgba(14, 6, 5, .82) 20%, rgba(14, 6, 5, .97) 50%, rgba(12, 6, 5, 1) 100%) !important;
}
.modal .modal-split-overlay { background: linear-gradient(180deg, rgba(11, 6, 5, .1) 0%, rgba(11, 6, 5, .8) 100%); }

/* Kapat butonu */
.modal .modal-split-close:hover { color: var(--emp-yellow); }

/* Başlık ve metinler */
.modal .modal-split-title {
  color: var(--emp-yellow);
  text-shadow: 0 2px 10px rgba(217, 35, 15, .45);
}
.modal .modal-split-subtitle,
.modal .modal-split-label,
.modal .modal-split-checkbox-label { color: var(--emp-text); }

/* Giriş alanları */
.modal .modal-split-input {
  border-color: rgba(90, 20, 11, .28);
  background: rgba(0, 0, 0, .35);
  color: var(--emp-text);
}
.modal .modal-split-input::placeholder { color: rgba(244, 233, 223, .5); }
.modal .modal-split-input:focus {
  border-color: rgba(90, 20, 11, .75) !important;
  box-shadow: 0 0 0 3px rgba(90, 20, 11, .14), 0 0 12px rgba(217, 35, 15, .18) !important;
}
.modal .modal-split-input-icon,
.modal .modal-split-eye-toggle { color: rgba(244, 233, 223, .5); }
.modal .modal-split-input:focus ~ .modal-split-input-icon,
.modal .modal-split-eye-toggle:hover { color: var(--emp-orange); }

/* Beni hatırla */
.modal .modal-split-checkbox { border-color: rgba(90, 20, 11, .3) !important; }
.modal .modal-split-checkbox:checked {
  background-color: var(--emp-red) !important;
  border-color: var(--emp-orange) !important;
}

/* Şifremi unuttum / Kayıt ol gibi linkler */
.modal .modal-split-gold-link,
.modal .modal-split-footer a { color: var(--emp-yellow); }
.modal .modal-split-gold-link:hover,
.modal .modal-split-footer a:hover { color: var(--emp-orange); }
.modal .modal-split-footer {
  border-top-color: rgba(90, 20, 11, .14);
  color: var(--emp-text-soft);
}

/* Ana buton (Giriş yap / Kayıt ol / Gönder) */
.modal .modal-split-btn {
  color: #fff3e6;
  border-color: var(--emp-orange);
  background: linear-gradient(135deg, var(--emp-orange), var(--emp-red));
  box-shadow: 0 4px 16px rgba(217, 35, 15, .32);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.modal .modal-split-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--emp-yellow), var(--emp-orange));
  box-shadow: 0 6px 22px rgba(90, 20, 11, .45);
}
