:root {
  --pink1: #EA1E8C;
  --pink2: #B01488;
  --white: #fff;
  --text: #222;
  --muted: #6B7280;
  --radius: 22px;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: url("../images/bg.jpg") no-repeat center center fixed;
  background-size: cover;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  background-color: #fff;
  appearance: none;
  /* removes default browser style */
}

.container {
  width: min(420px, 100vw);
  height: 94svh;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

/* Screen now slightly translucent */
.screen {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  overflow: auto;
  position: relative;
  backdrop-filter: blur(10px);
}

/* Logo & hero */
.hero {
  height: 56%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 16px;
}

.hero img {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
}

.hero .brand {
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 6px 0;
  text-transform: lowercase;
}

.hero .tagline {
  opacity: .9;
  font-weight: 500;
}

/* White card */
.card {
  background: var(--white);
  border-radius: 26px 26px 30px 30px;
  padding: 22px 18px 28px;
  position: absolute;
  inset: auto 0 0 0;
}

/* Buttons */
.btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 16px;
  background: #ffffff22;
  color: var(--white);
}

.btn-primary {
  background: var(--pink2);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--pink2);
  border: 2px solid var(--pink2);
}

.btn+.btn {
  margin-top: 14px;
}

/* Forms */
.form {
  padding: 22px 20px 26px;
}

.form h1 {
  color: var(--white);
  font-size: 24px;
  text-align: center;
  margin: 14px 0 8px;
}

.form .panel {
  background: var(--white);
  border-radius: 22px;
  padding: 18px 16px 20px;
}

.field {
  margin-bottom: 14px;
}

label {
  display: block;
  font-size: 13px;
  color: #111;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
}

.helper {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.error {
  font-size: 12px;
  color: #b00020;
  margin-top: 6px;
}

.actions {
  margin-top: 12px;
}

.center {
  text-align: center;
}

a.link {
  color: var(--pink2);
  text-decoration: underline;
  font-weight: 600;
}

/* Additional input types */
input[type="date"] {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  background: #fff;
}

/* Password field with toggle */
.input-wrap {
  position: relative;
}

.input-wrap input {
  padding-right: 44px;
}

.toggle-pass {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 16px;
  padding: 6px;
  cursor: pointer;
  color: #111;
}

/* Simple top navigation */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 0;
  color: var(--white);
}

.topbar .back {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.topbar .title {
  font-weight: 700;
  opacity: .95;
}

.gear-ico {
  width: 22px;
  height: 22px;
  margin-left: 20px;
  margin-top: 20px;
 filter: invert(1) sepia(1) saturate(5) hue-rotate(180deg);
}