:root{
  --bg: #000;
  --card: #0f0f10;
  --muted: #9b9b9b;
  --accent: #f4b6c8;
  --white: #ffffff;
  --pill: rgba(255,255,255,0.06);
  --radius: 10px;
}

/* reset basics */
*{ box-sizing: border-box; }
html,body{ height:100%; margin:0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; background:var(--bg); color:var(--white); -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }

/* dotted background (subtle and lightweight) */
.dot-grid{
  position:fixed;
  inset:0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

/* brand pill centered at top */
.brand-pill{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  top:20px;
  background: var(--pill);
  border-radius: 10px;
  padding: 10px 18px;
  display:flex;
  gap:18px;
  align-items:center;
  z-index:1000;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.03);
}

/* hamburger / cart placeholders */
.brand-pill .hamburger,
.brand-pill .cart{
  opacity:0.7;
  font-size:14px;
}

/* brand label */
.brand-pill-label{
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--white);
  opacity: 0.95;
}

/* page wrapper centers content */
.page-wrap{
  position:relative;
  z-index: 10;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 110px 20px 60px;
}

/* cards */
.card{
  width:100%;
  max-width: 620px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  margin: 12px;
}

/* header inside card */
.card-header{ text-align:center; margin-bottom:8px; }
.brand-title{ font-family: Georgia, "Times New Roman", serif; font-size: 28px; margin:0; letter-spacing:2px; }
.tag{ margin:6px 0 0; color:var(--muted); font-size:13px; }

/* form layout */
.form{ margin-top:18px; display:grid; gap:14px; }
.field{ display:block; }
.label-text{ display:block; font-size:12px; text-transform:uppercase; letter-spacing:1px; color:var(--muted); margin-bottom:8px; }

/* input underline container (clean Nothing-like input) */
.input-underline{ position:relative; }
.input-underline input,
.input-underline select{
  width:100%;
  padding:12px 10px 10px;
  font-size:15px;
  color:var(--white);
  background: transparent;
  border: none;
  border-radius: 4px;
  outline: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* invisible but focusable box for date inputs on Safari */
.input-underline input[type="date"]{ padding-top:9px; padding-bottom:9px; }

/* the animated underline (pseudo-element visual) */
.input-underline .underline{
  position:absolute;
  left:0;
  right:0;
  bottom: -1px;
  height:2px;
  background: linear-gradient(90deg, var(--accent), rgba(244,182,200,0.6));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms cubic-bezier(.2,.9,.2,1), opacity 250ms;
  opacity: 0;
}

/* focus/active: expand underline */
.input-underline input:focus + .underline,
.input-underline select:focus + .underline{
  transform: scaleX(1);
  opacity: 1;
}

/* subtle placeholder style */
.input-underline input::placeholder{ color: rgba(255,255,255,0.28); }

/* buttons row centered */
.row{ display:flex; justify-content:center; margin-top:12px; }
.btn{
  padding: 12px 20px;
  border-radius: 8px;
  font-weight:700;
  letter-spacing:1px;
  border:none;
  cursor:pointer;
  transition: transform 180ms ease, box-shadow 220ms ease;
}

/* primary button expands slightly on hover like in the reference */
.btn.primary{
  background: var(--accent);
  color: #000;
  box-shadow: 0 8px 26px rgba(244,182,200,0.08);
}
.btn.primary:hover{
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 46px rgba(244,182,200,0.14);
}
.btn.primary[disabled]{ opacity: 0.5; cursor:not-allowed; transform:none; box-shadow:none; }

/* outline button for logout */
.btn.outline{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
}

/* small helper text */
.muted{ color:var(--muted); font-size:13px; }
.note{ color:var(--muted); font-size:13px; text-align:center; margin-top:10px; }

/* checkbox & radio layout */
.checkbox, .radio{ display:flex; gap:10px; align-items:center; color:var(--muted); }
fieldset{ border: none; padding:0; margin:8px 0; }
fieldset legend{ font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:1px; }

/* errors */
.error{ color:#ff8b8b; font-size:13px; margin-top:6px; }
.error.small{ font-size:12px; color:#ff8b8b; }

/* profile header */
.profile-header{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; }

/* utility */
.hidden{ display:none !important; }

/* responsive tweaks */
@media (max-width:720px){
  .page-wrap{ padding:120px 18px 40px; }
  .card{ padding: 26px; max-width: 520px; }
  .brand-pill{ top:12px; padding:8px 12px; gap:10px; }
  .brand-pill-label{ font-size:12px; letter-spacing:1.5px; }
}
.thankyou-content{
  text-align: center;
  padding: 40px 10px;
}

.thankyou-content h2{
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

#back-to-profile{
  margin-top: 20px;
}