:root {
  --bg: #f2f4f7;
  --muted: #9aa3ad;
  --accent1: #80c1fdc2;
  --accent2: #80c1ffc2;
  --white: #ffffff;
  --card-radius: 22px;
  --phone-width: 390px;
}


body {
  background: linear-gradient(180deg, var(--accent1), var(--accent2));
  font-family: "Poppins", sans-serif;
  margin: 0;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; font-family: Inter, system-ui, sans-serif; }

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  transition: background 0.3s ease, color 0.3s ease;
}

.phone-wrapper { width: 100%; display: flex; justify-content: center; }
.phone {
  width: min(var(--phone-width), 92vw);
  background: var(--bg);
  border-radius: 30px;
  padding: 20px 18px 18px;
  box-shadow: 0 8px 28px rgba(0, 34, 54, 0.623);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  min-height: 640px;
  transition: background 0.3s ease;
}

.header-logo {
  text-align: center;
  padding-top: 10px;
}
.header-logo img {
  width: 80px;
  height: auto;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  justify-content: center;
}
.tab {
  background: transparent;
  border: 0;
  padding: 8px 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  color: #222;
  position: relative;
}
.tab.active { color: var(--accent2); }
.tab.active::after {
  content: "";
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg,var(--accent1),var(--accent2));
  border-radius: 6px;
  position: absolute;
  bottom: -6px;
  left: 0;
}
.tab-divider { width: 1px; height: 28px; background: rgba(0,0,0,0.06); }

.content {
  background: var(--white);
  border-radius: 18px;
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
}

.form { display: flex; flex-direction: column; gap: 12px; }
.hidden { display: none; }

.label { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
input, select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
}
input:focus { border-color: var(--accent2); box-shadow: 0 6px 14px rgba(3,115,230,0.12); }

.input-with-icon { display: flex; align-items: center; gap: 6px; }
.input-with-icon input { flex: 1; }
.icon-btn { background: none; border: none; cursor: pointer; color: var(--muted); }
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon input {
  width: 100%;
  padding-right: 42px; /* space for the eye icon */
}

.input-with-icon .eye-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
}

.input-with-icon .eye-btn svg {
  width: 20px;
  height: 20px;
}

.eye-btn.visible svg path,
.eye-btn.visible svg circle {
  stroke: var(--accent2);
}

.form-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.small-link { font-size: 13px; color: var(--accent2); text-decoration: none; }

.primary-btn {
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 28px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, var(--accent1), var(--accent2));
  color: white;
  box-shadow: 0 10px 22px rgba(3,115,230,0.18);
}

.terms {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 6px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: rgba(0,0,0,0.06);
  flex: 1;
}

.socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}
.social {
  width: 56px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding-top: 6px;
}

@media (min-width: 900px) {
  .phone { width: 420px; }
}


/* dark mode variables */
