/**
 * DRLTEC ERP - Sade Mobil Muhasebe Giriş Ekranı (Login CSS)
 * Tamamen mobil öncelikli, sade, minimalist ve göz yormayan kurumsal muhasebe arayüzü
 */

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: #f8fafc;
}

.login-card-wrapper {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

/* Ana Giriş Kutusu - Mobil Muhasebe Standartlarında Sade */
.login-box {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 28px 24px;
}

/* Logo - Kompakt ve Kibar Boyut */
.login-brand-header {
  text-align: center;
  margin-bottom: 22px;
}

.login-logo-img {
  height: 34px;
  max-width: 150px;
  width: auto;
  display: block;
  margin: 0 auto 8px auto;
  object-fit: contain;
}

.login-subtitle {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  margin: 0;
}

/* Form Alanları */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.input-group-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-left {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-control-iconic {
  width: 100%;
  height: 44px;
  padding-left: 38px;
  padding-right: 40px;
  font-size: 0.9375rem;
  color: #0f172a;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.form-control-iconic:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-control-iconic::placeholder {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Şifre Göster/Gizle */
.btn-toggle-password {
  position: absolute;
  right: 8px;
  color: #94a3b8;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.btn-toggle-password:hover {
  color: #475569;
}

/* Demo Doldurma Satırı */
.form-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.btn-demo-quick {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.btn-demo-quick:hover {
  text-decoration: underline;
}

/* Beni Hatırla Satırı (10 Yıllık Kalıcı Oturum) */
.login-remember-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
  user-select: none;
}

.remember-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
}

.remember-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  cursor: pointer;
  border-radius: 4px;
}


/* Giriş Butonu - Sade Düz Kurumsal Mavi */
.btn-login-clean {
  width: 100%;
  height: 44px;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.15s ease;
}

.btn-login-clean:hover {
  background-color: #1d4ed8;
}

.btn-login-clean:active {
  background-color: #1e40af;
}

.btn-login-clean:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Hata Uyarısı */
.alert {
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-danger {
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  color: #b91c1c;
}

/* Alt Telif / Sürüm */
.login-copyright-text {
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 18px;
}

/* Mobilde Daha Da Sade ve Doğal Yerleşim */
@media (max-width: 480px) {
  .login-page {
    padding: 12px;
    background-color: #ffffff;
    justify-content: flex-start;
    padding-top: 40px;
  }

  .login-box {
    border: none;
    box-shadow: none;
    padding: 12px 6px;
  }
}
