/* Merchant Login & Register – AuthScreen tasarımı */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.merchant-auth-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #1a1a2e;
  font-family: 'Poppins', sans-serif;
}

.merchant-auth-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 48px 40px;
  border: 2px solid #ffb320;
  box-shadow: 0 0 25px rgba(255, 179, 32, 0.35);
  background: rgba(26, 26, 46, 0.95);
}

.merchant-auth-wrapper h1,
.merchant-auth-wrapper h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin: 0 0 8px;
}

.merchant-auth-wrapper .auth-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}

.merchant-auth-section .auth-back-link {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  color: #ffb320;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.merchant-auth-section .auth-back-link:hover {
  color: #e59a00;
  text-decoration: underline;
}

.merchant-auth-section .mp-alert,
.merchant-auth-section .alert {
  font-size: 14px;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid;
}

.merchant-auth-section .mp-alert-danger,
.merchant-auth-section .alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.merchant-auth-section .alert-success {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.5);
  color: #86efac;
}

/* Floating label field – AuthScreen style */
.merchant-auth-section .field-wrapper {
  position: relative;
  width: 100%;
  height: 50px;
  margin-top: 24px;
}

.merchant-auth-section .field-wrapper input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  border-bottom: 2px solid rgba(255,255,255,0.5);
  padding-right: 36px;
  transition: 0.3s;
}

.merchant-auth-section .field-wrapper input:focus,
.merchant-auth-section .field-wrapper input:not(:placeholder-shown) {
  border-bottom-color: #ffb320;
}

.merchant-auth-section .field-wrapper input::placeholder {
  color: transparent;
}

.merchant-auth-section .field-wrapper label {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  pointer-events: none;
  transition: 0.3s;
}

.merchant-auth-section .field-wrapper input:focus ~ label,
.merchant-auth-section .field-wrapper input:not(:placeholder-shown) ~ label {
  top: -6px;
  font-size: 12px;
  color: #ffb320;
}

.merchant-auth-section .field-wrapper .field-icon {
  position: absolute;
  top: 50%;
  right: 0;
  font-size: 18px;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  pointer-events: none;
  transition: 0.3s;
}

.merchant-auth-section .field-wrapper input:focus ~ .field-icon,
.merchant-auth-section .field-wrapper input:not(:placeholder-shown) ~ .field-icon {
  color: #ffb320;
}

/* Submit button – navbar turuncu (#ffb320) */
.merchant-auth-section .auth-submit-btn {
  width: 100%;
  height: 48px;
  margin-top: 32px;
  background: #ffb320;
  border-radius: 40px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #131313;
  border: 2px solid #ffb320;
  transition: background 0.2s, opacity 0.2s;
}

.merchant-auth-section .auth-submit-btn:hover {
  background: #e59a00;
  border-color: #e59a00;
  opacity: 0.95;
  color: #131313;
}

.merchant-auth-section .auth-switch-link {
  font-size: 14px;
  text-align: center;
  margin-top: 24px;
  color: rgba(255,255,255,0.9);
}

.merchant-auth-section .auth-switch-link a {
  color: #ffb320;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.merchant-auth-section .auth-switch-link a:hover {
  text-decoration: underline;
  color: #e59a00;
}

.merchant-auth-section .auth-links-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.merchant-auth-section .auth-links-row .btn {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.2s;
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  background: transparent;
}

.merchant-auth-section .auth-links-row .btn:hover {
  border-color: #ffb320;
  color: #ffb320;
}

.merchant-auth-section .auth-links-row .btn-primary {
  border-color: #ffb320;
  color: #ffb320;
}

.merchant-auth-section .auth-links-row .btn-primary:hover {
  background: rgba(255, 179, 32, 0.2);
  color: #ffb320;
}

/* Register: sol form, sağ bilgilendirme */
.merchant-auth-section.is-register .container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 32px;
  justify-content: center;
  max-width: 960px;
}

.merchant-auth-section.is-register .auth-back-link {
  flex: 0 0 100%;
}

.merchant-auth-section.is-register .merchant-auth-wrapper {
  flex: 1 1 420px;
  max-width: 440px;
}

.merchant-auth-section.is-register .auth-info-panel {
  flex: 1 1 380px;
  max-width: 420px;
  padding: 36px 32px;
  border: 2px solid rgba(255, 179, 32, 0.4);
  border-radius: 12px;
  background: rgba(26, 26, 46, 0.6);
  color: rgba(255,255,255,0.9);
  font-family: 'Poppins', sans-serif;
}

.merchant-auth-section.is-register .auth-info-panel h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffb320;
  margin: 0 0 16px;
}

.merchant-auth-section.is-register .auth-info-panel p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 14px;
  color: rgba(255,255,255,0.85);
}

.merchant-auth-section.is-register .auth-info-panel ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.merchant-auth-section.is-register .auth-info-panel li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
}

.merchant-auth-section.is-register .auth-info-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffb320;
  font-weight: 700;
}

@media (max-width: 768px) {
  .merchant-auth-wrapper {
    padding: 36px 24px;
    max-width: 100%;
  }
  .merchant-auth-wrapper h1,
  .merchant-auth-wrapper h2 {
    font-size: 24px;
  }
  .merchant-auth-section .field-wrapper input,
  .merchant-auth-section .field-wrapper label {
    font-size: 15px;
  }
  .merchant-auth-section.is-register .auth-info-panel {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .merchant-auth-wrapper {
    padding: 28px 20px;
  }
  .merchant-auth-wrapper h1,
  .merchant-auth-wrapper h2 {
    font-size: 22px;
  }
  .merchant-auth-section .auth-submit-btn {
    height: 44px;
    font-size: 15px;
  }
}
