/* Auth pages — login, forgot password, verify code */
.auth-page {
  background: linear-gradient(135deg, #f8f7ff 0%, #fff 50%, rgba(230, 57, 70, 0.04) 100%);
  padding: 48px 0 64px;
  min-height: calc(100vh - 120px);
}

.auth-page-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(30, 41, 59, 0.08);
  box-shadow: 0 8px 32px rgba(117, 79, 254, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 36px 32px;
}

.auth-page-card .auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(117, 79, 254, 0.1);
  color: #754FFE;
  border: 1px solid rgba(117, 79, 254, 0.22);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.auth-page-card h3 {
  font-size: 30px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.auth-page-card h3 span {
  color: #754FFE;
}

.auth-page-card .auth-subtitle {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.auth-page-card h5 {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
}

.auth-page-card .form-control {
  padding: 14px 14px 13px 48px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 400;
  color: #1E293B;
  width: 100%;
  border: 1.5px solid rgba(110, 121, 138, 0.2);
  background-color: rgba(110, 121, 138, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-page-card .form-control:focus {
  border-color: #754FFE;
  box-shadow: 0 0 0 3px rgba(117, 79, 254, 0.15);
  background-color: #fff;
}

/* sing-up-right form { position:relative } tüm ikonları kaydırıyor — sıfırla */
.auth-page-card.sing-up-right form {
  position: static;
}

.auth-page-card.sing-up-right .position-relative {
  position: relative;
}

/* Tüm i etiketlerindeki global sing-up-right konumlandırmayı sıfırla */
.auth-page-card.sing-up-right i {
  position: static;
  left: auto;
  top: auto;
  right: auto;
  transform: none;
}

/* Sadece input alanı ikonları */
.auth-page-card.sing-up-right .position-relative > i.auth-field-icon {
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  right: auto !important;
  transform: translateY(-50%) !important;
  color: #754FFE;
  opacity: 0.75;
  z-index: 2;
  pointer-events: none;
}

/* Şifre göster/gizle ikonu */
.auth-page-card.sing-up-right .position-relative > i.auth-field-toggle {
  position: absolute !important;
  left: auto !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #6E798A;
  opacity: 0.85;
  z-index: 2;
  cursor: pointer;
}

.auth-forgot-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(230, 57, 70, 0.06);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: 10px;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.auth-forgot-link:hover {
  background: rgba(230, 57, 70, 0.12);
  border-color: rgba(230, 57, 70, 0.35);
  transform: translateY(-1px);
}

.auth-forgot-link i {
  color: #e63946;
  font-size: 16px;
}

.auth-forgot-link span {
  color: #e63946;
  font-weight: 700;
  font-size: 14px;
}

.auth-recaptcha-box {
  margin-top: 20px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(117, 79, 254, 0.06) 0%, rgba(230, 57, 70, 0.04) 100%);
  border: 2px solid rgba(117, 79, 254, 0.25);
  border-radius: 12px;
}

.auth-recaptcha-box .auth-recaptcha-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.auth-recaptcha-box .auth-recaptcha-label i {
  color: #754FFE;
  font-size: 18px;
}

.auth-recaptcha-box .auth-recaptcha-hint {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
}

.auth-recaptcha-box .g-recaptcha {
  transform-origin: left top;
}

.auth-submit-btn {
  width: 100%;
  margin-top: 24px;
  padding: 14px 30px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #754FFE 0%, #6236e8 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(117, 79, 254, 0.35);
}

.auth-submit-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(117, 79, 254, 0.45);
  color: #fff;
}

.auth-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  background: #9ca3af;
}

.auth-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1.5px solid rgba(110, 121, 138, 0.3);
  background: #fff;
  color: #6E798A;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s;
}

.auth-back-btn:hover {
  background: rgba(110, 121, 138, 0.08);
  border-color: #754FFE;
  color: #754FFE;
}

.auth-phone-hint {
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
  line-height: 1.5;
}

.auth-phone-hint i {
  color: #754FFE;
  margin-right: 4px;
}

.auth-info-box {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(117, 79, 254, 0.06);
  border: 1px solid rgba(117, 79, 254, 0.18);
  border-radius: 12px;
  margin-bottom: 24px;
}

.auth-info-box i {
  color: #754FFE;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.auth-info-box p {
  margin: 0;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

.auth-page-illustration img {
  max-width: 75%;
  filter: drop-shadow(0 8px 24px rgba(117, 79, 254, 0.12));
}

.auth-signup-link {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.auth-signup-link p {
  color: #6b7280;
  margin-bottom: 0;
}

.auth-signup-link a {
  color: #754FFE;
  font-weight: 700;
  text-decoration: none;
}

.auth-signup-link a:hover {
  color: #6236e8;
  text-decoration: underline;
}

/* SMS sent modal */
#authSmsSentModal .modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background-color: #fff !important;
  color: #1a1a2e;
}

#authSmsSentModal .modal-header {
  background: #fff !important;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 20px 24px;
}

#authSmsSentModal .modal-title {
  color: #1a1a2e !important;
  font-weight: 700;
  font-size: 18px;
}

#authSmsSentModal .btn-close {
  filter: none;
  opacity: 0.55;
}

#authSmsSentModal .modal-body {
  padding: 28px 24px;
  background: #fff !important;
  color: #374151 !important;
}

#authSmsSentModal .modal-body .text-muted {
  color: #6b7280 !important;
}

#authSmsSentModal .sms-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(117, 79, 254, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

#authSmsSentModal .sms-icon i {
  font-size: 28px;
  color: #754FFE;
}

#authSmsSentModal .sms-phone {
  font-weight: 700;
  color: #1a1a2e !important;
  font-size: 16px;
}

#authSmsSentModal .sms-instruction {
  color: #374151 !important;
  font-size: 15px;
  line-height: 1.7;
  margin-top: 12px;
}

#authSmsSentModal .sms-instruction strong {
  color: #1a1a2e;
}

#authSmsSentModal .modal-footer {
  border: none;
  padding: 0 24px 24px;
  background: #fff !important;
}

#authSmsSentModal .btn-confirm {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  background: linear-gradient(135deg, #754FFE 0%, #6236e8 100%);
  border: none;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 767px) {
  .auth-page-card {
    padding: 28px 20px;
  }

  .auth-page-illustration {
    margin-bottom: 24px;
  }

  .auth-recaptcha-box .g-recaptcha {
    transform: scale(0.92);
    transform-origin: left top;
  }
}
