/* ============================================================
   BillGun.app — Authentication Master Stylesheet (auth.css)
   Replicated from bizgun.app styling
   Title: BillGun - Create & Manage Invoice at Gun Speed
   ============================================================ */

body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  padding: 2.5rem 2.25rem;
  width: 100%;
  max-width: 460px;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
  }
}

.auth-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.auth-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.auth-sub {
  font-size: 0.88rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Google Sign-in Button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-google:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.btn-google svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider-text {
  padding: 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Alert Boxes */
.auth-alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: none;
}

.auth-alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  display: block;
}

.auth-alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  display: block;
}

/* Form inputs */
.auth-form-group {
  margin-bottom: 1.1rem;
}

.auth-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.auth-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.auth-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-auth-submit {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 0.5rem;
}

.btn-auth-submit:hover {
  background: #1d4ed8;
}

.auth-footer-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: #64748b;
}

.auth-footer-link a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.auth-footer-link a:hover {
  text-decoration: underline;
}
