:root {
  --primary: #0f766e;
  --primary-dark: #0a5c56;
  --accent: #14b8a6;
  --background: #f8fafc;
  --surface: #ffffff;
  --ink: #102a2a;
  --muted: #64748b;
  --line: #e2e8f0;
  --shadow: 0 18px 45px rgba(15, 118, 110, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: "Manrope", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.container {
  width: calc(100% - 28px);
  max-width: 1180px;
  margin-inline: auto;
}

.account-shell {
  padding-bottom: 45px;
}

.breadcrumb {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.breadcrumb svg {
  width: 12px;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: #334155;
}

.account-heading {
  margin: 8px 0 20px;
  text-align: center;
}

.account-heading > span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-heading h1 {
  margin: 5px 0;
  font-size: clamp(31px, calc(5vw + 3px), 41px);
  letter-spacing: -0.04em;
}

.account-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.account-layout {
  max-width: 610px;
  margin-inline: auto;
}

.account-benefits {
  display: none;
  padding: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(94, 234, 212, 0.3), transparent 28%),
    linear-gradient(145deg, #063f3b, var(--primary) 62%, #0d9488);
  border-radius: 20px 0 0 20px;
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.16);
}

.account-benefits__brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.account-benefits__brand > span {
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
}

.account-benefits__brand svg {
  width: 31px;
}

.account-benefits__brand div {
  display: grid;
  gap: 4px;
}

.account-benefits__brand small {
  color: #99f6e4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.account-benefits__brand strong {
  font-size: 20px;
  line-height: 1.35;
}

.account-benefits ul {
  display: grid;
  gap: 19px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.account-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.account-benefits li > span {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  display: grid;
  place-items: center;
  color: #99f6e4;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 10px;
}

.account-benefits li svg {
  width: 19px;
}

.account-benefits li div {
  display: grid;
  gap: 4px;
}

.account-benefits li strong {
  font-size: 13px;
}

.account-benefits li small {
  color: #c5f5ef;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.55;
}

.account-benefits__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 13px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
}

.account-benefits__note > svg {
  width: 21px;
  flex: 0 0 21px;
  color: #99f6e4;
}

.account-benefits__note span {
  display: grid;
  gap: 2px;
}

.account-benefits__note strong {
  font-size: 11px;
}

.account-benefits__note small {
  color: #c5f5ef;
  font-size: 9px;
  font-weight: 600;
}

.auth-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(15, 118, 110, 0.1);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 7px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}

.auth-tabs button {
  min-height: 43px;
  color: #64748b;
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.auth-tabs button.is-active {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.auth-panel {
  padding: 20px 17px;
}

.auth-panel__heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}

.auth-panel__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--primary));
  border-radius: 11px;
  box-shadow: 0 8px 17px rgba(15, 118, 110, 0.18);
}

.auth-panel__icon svg {
  width: 20px;
}

.auth-panel__heading h2 {
  margin: 0;
  font-size: 20px;
}

.auth-panel__heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.field > span:first-child {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.field-control {
  min-height: 46px;
  display: flex;
  align-items: center;
  color: #94a3b8;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.field-control:focus-within {
  color: var(--primary);
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.field-control > svg {
  width: 17px;
  flex: 0 0 17px;
  margin-inline-start: 12px;
}

.field-control input {
  min-width: 0;
  width: 100%;
  height: 44px;
  padding: 0 11px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.field-control input::placeholder {
  color: #94a3b8;
}

.field-control--phone > b {
  align-self: stretch;
  display: flex;
  align-items: center;
  margin-block: 5px;
  padding-inline: 12px;
  color: var(--primary);
  border-inline-end: 1px solid var(--line);
  font-size: 13px;
}

.password-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #64748b;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.password-toggle svg {
  width: 17px;
}

.field-error {
  display: none;
  color: #dc2626;
  font-size: 10px;
  font-weight: 700;
}

.field.is-invalid .field-control {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.1);
}

.field.is-invalid .field-error {
  display: block;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #475569;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.check-field input {
  position: absolute;
  opacity: 0;
}

.check-field > span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: transparent;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
}

.check-field input:checked + span {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.check-field svg {
  width: 11px;
  stroke-width: 2.5;
}

.form-options a {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.submit-button {
  min-height: 47px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 9px 20px rgba(15, 118, 110, 0.2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.submit-button:hover {
  background: var(--primary-dark);
  box-shadow: 0 12px 25px rgba(15, 118, 110, 0.27);
  transform: translateY(-2px);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.social-divider {
  position: relative;
  margin: 20px 0 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.social-divider span {
  position: relative;
  top: -8px;
  padding: 0 10px;
  color: #94a3b8;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
}

.social-buttons {
  display: grid;
  gap: 8px;
}

.social-buttons button {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #334155;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease;
}

.social-buttons button:hover {
  background: #f8fafc;
  border-color: #99f6e4;
}

.social-buttons svg {
  width: 18px;
  fill: currentColor;
  stroke: none;
}

.google-mark {
  color: #4285f4;
  font-size: 17px;
  font-weight: 800;
}

.register-form {
  grid-template-columns: minmax(0, 1fr);
}

.privacy-note {
  margin: -2px 0 0;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.65;
  text-align: center;
}

.privacy-note a {
  color: var(--primary);
  font-weight: 800;
}

.account-assurance {
  display: grid;
  gap: 8px;
  max-width: 610px;
  margin: 16px auto 0;
}

.account-assurance span {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #475569;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
}

.account-assurance svg {
  width: 16px;
  color: var(--primary);
}

.auth-toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 24px;
  max-width: calc(100% - 30px);
  padding: 11px 16px;
  color: #fff;
  background: #102a2a;
  border-radius: 9px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.auth-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 620px) {
  .container {
    width: calc(100% - 40px);
  }

  .auth-panel {
    padding: 27px 30px 30px;
  }

  .social-buttons {
    grid-template-columns: 1fr 1fr;
  }

  .register-form {
    grid-template-columns: 1fr 1fr;
  }

  .field--wide {
    grid-column: 1 / -1;
  }

  .account-assurance {
    grid-template-columns: repeat(3, 1fr);
  }

  .account-assurance span {
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 940px) {
  .account-layout {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: stretch;
  }

  .account-benefits {
    display: flex;
    flex-direction: column;
  }

  .auth-card {
    border-inline-start: 0;
    border-radius: 0 20px 20px 0;
  }

  .account-assurance {
    max-width: 1000px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }

  .account-heading {
    margin-bottom: 16px;
  }

  .auth-card {
    border-radius: 15px;
  }

  .auth-panel {
    padding: 18px 14px 20px;
  }

  .form-options {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .form-options a {
    margin-inline-start: auto;
  }

  .submit-button,
  .social-buttons button {
    width: 100%;
  }

  .account-assurance {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
