/* ═══════════════════════════════════════════
   HomeBakes — Register Page Styles
═══════════════════════════════════════════ */

body {
  background: var(--tile-beige);
  background-image:
    linear-gradient(var(--tile-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--tile-line) 1px, transparent 1px);
  background-size: 60px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

/* ── Card container ── */
.reg-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.reg-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
}

/* ── Teal banner top ── */
.reg-card-banner {
  background: var(--teal);
  padding: 1.75rem 2rem;
  text-align: center;
}

.reg-card-banner h1 {
  font-family: 'Satisfy', cursive;
  font-size: 2rem;
  color: white;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.reg-card-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

/* ── Form ── */
.reg-form { padding: 2rem; }

.reg-divider {
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0;
}

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

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

.reg-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.reg-footer a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 700;
}

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

/* ── Password strength meter ── */
.password-strength {
  margin-top: 0.4rem;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s, background 0.3s;
}

.strength-text {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}
