/* Aeitron Auth Page Styling (Matches Hostinger Screenshot Design) */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.auth-page-body {
  background-color: #0c0b20;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.auth-top-header {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.auth-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.auth-back-link:hover {
  opacity: 0.85;
  transform: translateX(-2px);
}

/* Centered Card Container */
.auth-card-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem 3rem;
}

.auth-card {
  background: #ffffff;
  color: #111827;
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  padding: 2.25rem 2.25rem 2.25rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.auth-card-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.auth-card-subtitle {
  font-size: 0.9rem;
  color: #4b5563;
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-toggle-link {
  background: none;
  border: none;
  color: #673de6;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  margin-left: 0.25rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: inherit;
}

.auth-toggle-link:hover {
  color: #542cc7;
}

/* Alert Notification Banner */
.auth-alert-banner {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #b91c1c;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-align: center;
}

.auth-alert-banner.success {
  background: #ecfdf5;
  border-color: #d1fae5;
  color: #047857;
}

/* Social Buttons Row */
.auth-social-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.auth-social-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #6b7280;
  margin-bottom: 1.35rem;
  font-size: 0.85rem;
}

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

.auth-divider span {
  padding: 0 0.85rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Form Groups */
.auth-form-group {
  margin-bottom: 1.15rem;
}

.auth-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.4rem;
}

.auth-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input:focus {
  border-color: #673de6;
  box-shadow: 0 0 0 3px rgba(103, 61, 230, 0.15);
  outline: none;
}

.auth-input::placeholder {
  color: #9ca3af;
}

/* Password with Toggle */
.auth-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-password-wrap .auth-input {
  padding-right: 2.75rem;
}

.auth-password-toggle {
  position: absolute;
  right: 0.85rem;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.auth-password-toggle:hover {
  color: #111827;
}

/* Consent Checkbox */
.auth-checkbox-group {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.auth-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

.auth-checkbox {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: #673de6;
  cursor: pointer;
  flex-shrink: 0;
}

.auth-consent-text {
  font-size: 0.78rem;
  color: #4b5563;
  line-height: 1.45;
}

.auth-consent-text a {
  color: #111827;
  text-decoration: underline;
  font-weight: 600;
}

/* Submit Button */
.auth-submit-btn {
  width: 100%;
  background: #673de6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.95rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 4px rgba(103, 61, 230, 0.2);
}

.auth-submit-btn:hover {
  background: #542cc7;
  box-shadow: 0 4px 12px rgba(103, 61, 230, 0.35);
}

.auth-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Legal Footer Below Card */
.auth-legal-footer {
  max-width: 450px;
  text-align: center;
  font-size: 0.76rem;
  color: #9ca3af;
  margin-top: 1.5rem;
  line-height: 1.5;
}

.auth-legal-footer a {
  color: #d1d5db;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-legal-footer a:hover {
  color: #ffffff;
}

@media (max-width: 520px) {
  .auth-card {
    padding: 1.75rem 1.25rem;
  }
  .auth-top-header {
    padding: 1rem 1.25rem;
  }
}

