/* ═══════════════════════════════════════════
   HomeBakes — Login Page Styles
═══════════════════════════════════════════ */

body {
  background: #FAF7F0;
  background-image: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
.login-header {
  background: white;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 10;
}

.login-header-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ── Full page hero ── */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-kitchen-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -1;
}

.hero-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* ── Hero content ── */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 2rem 1rem;
  gap: 1.5rem;
}

/* ── Tagline badge ── */
.tagline-badge {
  background: rgba(224, 242, 243, 0.92);
  border: 2.5px dashed var(--red-accent);
  border-radius: 16px;
  padding: 1rem 1.75rem;
  text-align: center;
  max-width: 340px;
  width: 90%;
}

.tagline-badge p {
  font-family: 'Satisfy', cursive;
  font-size: 1.3rem;
  color: var(--red-accent);
  line-height: 1.4;
}

/* ── Login form box ── */
.login-box {
  width: 90%;
  max-width: 340px;
  text-align: center;
}

.login-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.75rem;
}

.login-input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  margin-bottom: 0.6rem;
  gap: 0.5rem;
}

.login-input-group svg {
  color: var(--text-light);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.login-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.login-input-group input::placeholder { color: var(--text-light); }

.btn-login {
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 0.65rem 2rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  width: 100%;
  margin-top: 0.25rem;
  transition: background 0.2s;
}

.btn-login:hover { background: var(--teal-dark); }

.login-error {
  color: #fff;
  background: rgba(192, 57, 43, 0.85);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}

.login-error.visible { display: block; }

.login-success {
  color: #fff;
  background: rgba(22, 163, 74, 0.85);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}
.login-success.visible { display: block; }

.forgot-link { text-align: center; margin-top: 0.6rem; }
.forgot-link a {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  text-decoration: none;
  cursor: pointer;
}
.forgot-link a:hover { color: white; text-decoration: underline; }

.register-link { text-align: center; margin-top: 0.75rem; }

.register-link a {
  color: white;
  font-size: 0.85rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  text-decoration: underline;
  cursor: pointer;
}

/* ── Features strip ── */
.features-strip {
  background: var(--cream);
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--teal-light);
  position: relative;
  z-index: 2;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  max-width: 140px;
}

.feature-item img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
}

.feature-item span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
