/**
 * WebTicaret.tr - Modern Light Theme Auth CSS (Login / Register / Recovery)
 * Matches WebTicaret Public Brand & Reference Design Language
 */

.auth-page-wrapper {
  background-color: #F8FAFC;
  background-image: radial-gradient(circle at 10% 10%, rgba(16, 42, 76, 0.03) 0%, transparent 40%),
                    radial-gradient(circle at 90% 90%, rgba(255, 107, 11, 0.03) 0%, transparent 40%);
  min-height: calc(100vh - 280px);
  padding: 48px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.auth-main-card {
  max-width: 1040px;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(11, 25, 44, 0.05);
  padding: 44px 48px;
}

/* 2-Column Grid */
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .auth-main-card {
    padding: 32px 24px;
  }
}

/* Left Column: Showcase */
.auth-showcase {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-showcase__badge {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: #FF6B0B;
  margin-bottom: 8px;
}

.auth-showcase__title {
  font-size: 28px;
  font-weight: 800;
  color: #0B192C;
  line-height: 1.25;
  margin: 0 0 12px;
}

.auth-showcase__desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin: 0 0 24px;
}

.auth-showcase__illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

.auth-showcase__svg {
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(16, 42, 76, 0.08));
}

/* Right Column: Form */
.auth-form-pane {
  display: flex;
  flex-direction: column;
}

.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.45;
}

.auth-alert--danger {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
}

.auth-alert--success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
}

.auth-alert__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Form Controls */
.auth-form .form-group {
  margin-bottom: 16px;
}

.auth-form .form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 6px;
}

.auth-control-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-control-icon {
  position: absolute;
  left: 14px;
  color: #94A3B8;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.auth-control-icon svg {
  width: 16px;
  height: 16px;
}

.auth-input {
  width: 100%;
  height: 46px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #0F172A;
  padding: 0 14px 0 42px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.auth-input--with-toggle {
  padding-right: 42px;
}

.auth-input:focus {
  border-color: #FF6B0B;
  box-shadow: 0 0 0 3px rgba(255, 107, 11, 0.15);
  outline: none;
}

.auth-input::placeholder {
  color: #94A3B8;
  font-size: 13.5px;
}

.auth-toggle-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.auth-toggle-btn:hover {
  color: #0F172A;
}

.auth-toggle-btn svg {
  width: 16px;
  height: 16px;
}

.auth-help-text {
  font-size: 12px;
  color: #64748B;
  margin-top: 4px;
}

/* Checkbox & Options */
.auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 20px;
  font-size: 13px;
}

.auth-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  color: #475569;
}

.auth-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #FF6B0B;
  cursor: pointer;
}

.auth-link {
  color: #FF6B0B;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}

.auth-link:hover {
  color: #E05A00;
  text-decoration: underline;
}

/* Submit Button */
.btn-auth-submit {
  width: 100%;
  height: 48px;
  background: #FF6B0B;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(255, 107, 11, 0.25);
}

.btn-auth-submit:hover {
  background: #E05A00;
  box-shadow: 0 6px 16px rgba(255, 107, 11, 0.35);
}

.btn-auth-submit:active {
  transform: scale(0.99);
}

/* Divider & Footer switch */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: #94A3B8;
  font-size: 12.5px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E2E8F0;
}

.auth-divider span {
  padding: 0 12px;
}

.auth-switch-text {
  text-align: center;
  font-size: 13.5px;
  color: #64748B;
  margin: 0;
}

/* Bottom Trust Bar */
.auth-trust-bar {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #F1F5F9;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .auth-trust-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.auth-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.auth-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-trust-icon--green {
  background: #ECFDF5;
  color: #10B981;
}

.auth-trust-icon--purple {
  background: #EEF2FF;
  color: #6366F1;
}

.auth-trust-icon--orange {
  background: #FFF7ED;
  color: #FF6B0B;
}

.auth-trust-icon svg {
  width: 18px;
  height: 18px;
}

.auth-trust-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 2px;
}

.auth-trust-desc {
  font-size: 12px;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
}
