/**
 * Auth / guest pages (login, etc.)
 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

body.crm-guest-body {
  background: #f1f5f9;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.crm-auth-page {
  min-height: calc(100vh - 56px);
  padding: 2.5rem 1rem 3rem;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 45%, #1e3a8a 100%);
}

.crm-auth-card {
  display: flex;
  flex-wrap: wrap;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.crm-auth-brand {
  flex: 1 1 280px;
  background: linear-gradient(145deg, #1d4ed8 0%, #1e40af 50%, #172554 100%);
  color: #fff;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}

.crm-auth-brand h3 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.crm-auth-brand p {
  opacity: 0.9;
  font-size: 0.95rem;
}

.crm-auth-form {
  flex: 1 1 320px;
  padding: 2rem 2rem 2.25rem;
  background: #fff;
}

.crm-auth-form .form-control {
  border-radius: 8px;
  border-color: #cbd5e1;
  padding: 0.5rem 0.75rem;
}

.crm-auth-form .form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.crm-auth-form label {
  font-weight: 500;
  color: #334155;
  font-size: 13px;
}

.crm-auth-form .btn-primary {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.6rem 1rem;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
}

.crm-auth-form .btn-link {
  color: #2563eb;
}

@media (max-width: 767px) {
  .crm-auth-page {
    padding: 1.25rem 0.75rem;
  }

  .crm-auth-brand {
    min-height: auto;
    padding: 1.75rem 1.5rem;
  }

  .crm-auth-form {
    padding: 1.5rem 1.25rem 2rem;
  }
}
