/* ═══════════════════════════════════════════════════════════════
   Horeca Auth Pages — clean modern theme (matches owner dashboard)
   Mobile-first
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Horeca brand green — same #16a34a used in storefront + frontend Logo component */
  --auth-primary:      #16a34a;
  --auth-primary-dark: #15803d;
  --auth-bg:           #f5f7fb;
  --auth-text:         #1f2937;
  --auth-muted:        #6b7280;
  --auth-border:       #e5e7eb;
}

* { box-sizing: border-box; }

.horeca-auth-body {
  margin: 0;
  min-height: 100vh;
  background: var(--auth-bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: var(--auth-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Decorative gradient orbs */
.auth-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.auth-orb-1 {
  width: 380px; height: 380px;
  top: -120px; left: -120px;
  background: linear-gradient(135deg, #16a34a, #4ade80);
}
.auth-orb-2 {
  width: 320px; height: 320px;
  bottom: -100px; right: -100px;
  background: linear-gradient(135deg, #86efac, #16a34a);
}

.horeca-auth-main {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.horeca-auth-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 16px;
  color: var(--auth-muted);
}

/* ─── Auth card ─── */
.auth-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  border: 1px solid var(--auth-border);
  padding: 36px;
  width: 100%;
  max-width: 440px;
  position: relative;
  overflow: hidden;
}
.auth-card-wide { max-width: 520px; }

/* Brand area */
.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}
.auth-brand-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-dark));
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(22,163,74,.35);
}
.auth-brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--auth-text);
  letter-spacing: -.02em;
}

.auth-heading {
  text-align: center;
  margin: 16px 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--auth-text);
  letter-spacing: -.01em;
}
.auth-sub {
  text-align: center;
  color: var(--auth-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

/* Form fields */
.auth-card .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--auth-text);
  margin-bottom: 6px;
}
.auth-card .form-control,
.auth-card .form-select {
  padding: 11px 14px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #fff;
  transition: all .15s;
}
.auth-card .form-control:focus,
.auth-card .form-select:focus {
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}
.auth-card .input-group-text {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  color: var(--auth-muted);
}
.auth-card .form-text { color: var(--auth-muted); }

/* Buttons */
.auth-card .btn-primary {
  background: var(--auth-primary);
  border-color: var(--auth-primary);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(22,163,74,.25);
  transition: all .15s;
}
.auth-card .btn-primary:hover,
.auth-card .btn-primary:focus {
  background: var(--auth-primary-dark);
  border-color: var(--auth-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22,163,74,.35);
}
.auth-card .btn-outline-secondary {
  border-radius: 10px;
  font-weight: 500;
}

/* Divider */
.auth-divider {
  position: relative;
  text-align: center;
  margin: 20px 0;
  color: var(--auth-muted);
  font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%; width: 40%; height: 1px;
  background: var(--auth-border);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

/* Footer text */
.auth-footer-text {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--auth-muted);
}
.auth-footer-text a {
  color: var(--auth-primary);
  text-decoration: none;
  font-weight: 600;
}
.auth-footer-text a:hover { text-decoration: underline; }

/* Alerts */
.auth-card .alert {
  border-radius: 10px;
  font-size: 13px;
  padding: 10px 14px;
}

/* Password show/hide toggle */
.password-wrapper { position: relative; }
.password-wrapper .form-control { padding-right: 44px; }
.password-toggle {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  padding: 6px 8px;
  color: var(--auth-muted);
  cursor: pointer;
}
.password-toggle:hover { color: var(--auth-text); }

/* OTP inputs */
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 16px;
}
.otp-input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid #d1d5db;
  background: #fff;
  transition: all .15s;
}
.otp-input:focus {
  outline: none;
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}
@media (max-width: 480px) {
  .otp-input { width: 42px; height: 50px; font-size: 18px; }
  .otp-inputs { gap: 6px; }
}

/* Info banner */
.auth-info-banner {
  background: rgba(22,163,74,.07);
  border: 1px solid rgba(22,163,74,.18);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--auth-text);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.auth-info-banner i { color: var(--auth-primary); font-size: 18px; flex-shrink: 0; margin-top: 1px; }

@media (max-width: 480px) {
  .auth-card { padding: 24px 20px; border-radius: 12px; }
  .auth-heading { font-size: 19px; }
}
