
:root {
  --green: #31593e;
  --green-dark: #244830;
  --background: #f5f7f5;
  --text: #28312c;
  --muted: #748079;
  --border: #dce5df;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.registration {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px max(24px, calc((100vw - 1100px)/2));
}

.brand {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.6px;
  color: var(--green);
  text-decoration: none;
}

.topbar-label {
  font-size: 13px;
  color: var(--muted);
}

.registration-shell {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 30px 18px 60px;
}

.registration-card {
  width: 100%;
  max-width: 510px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px;
  box-shadow: 0 18px 55px rgba(35, 65, 42, .05);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 1.9px;
  font-weight: 800;
  color: #72907b;
  margin-bottom: 26px;
}

.progress-label, .actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.progress-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.progress-label span:first-child {
  font-weight: 700;
  color: var(--green);
}

.progress {
  display: flex;
  gap: 6px;
  margin-bottom: 38px;
}

.progress-part {
  height: 5px;
  flex: 1;
  background: #e8ede9;
  border-radius: 8px;
}

.progress-part.active { background: #4c8a65; }

h1 {
  font-size: clamp(29px, 5vw, 38px);
  letter-spacing: -1.5px;
  font-weight: 650;
  margin: 0 0 9px;
}

.intro {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 30px;
  line-height: 1.6;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 18px;
}

input, select {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 14px;
  min-height: 49px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 11px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
}

input:focus, select:focus {
  border-color: #53946a;
  box-shadow: 0 0 0 3px #e4f1e8;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hint {
  font-size: 12px;
  color: var(--muted);
  margin: -8px 0 18px;
}

.information {
  background: #f1f7f2;
  border: 1px solid #dceade;
  padding: 19px;
  border-radius: 13px;
  margin-top: 26px;
  font-size: 13px;
}

.information strong { color: var(--green); }

.information p {
  margin: 7px 0 0;
  color: #64756a;
  line-height: 1.6;
}

.actions { margin-top: 31px; }

button {
  border: 0;
  border-radius: 11px;
  padding: 15px 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.primary {
  background: #276a43;
  color: white;
  margin-left: auto;
  min-width: 150px;
}

.primary:hover { background: var(--green-dark); }
.primary span { margin-left: 12px; }

.secondary {
  background: #edf1ee;
  color: var(--green);
}

.error {
  padding: 12px;
  border-radius: 10px;
  background: #fff0f0;
  color: #ad4141;
  font-size: 13px;
}

.signin {
  margin: 30px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.signin a { color: var(--green); font-weight: 700; }

footer {
  text-align: center;
  padding: 18px;
  color: #9aa79c;
  font-size: 11px;
}

@media (max-width: 540px) {
  .topbar { padding: 21px; }
  .topbar-label { display: none; }
  .registration-shell { align-items: start; padding-top: 18px; }
  .registration-card { padding: 26px 21px; border-radius: 18px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ==========================================
   ABSENVIA — REFINED MINIMAL THEME
   ========================================== */

:root {
  --green: #526d59;
  --green-dark: #415749;
  --background: #f8f9f8;
  --text: #2d3430;
  --muted: #858d87;
  --border: #e6eae7;
}

.brand {
  color: #526d59;
  font-weight: 700;
  letter-spacing: -1.4px;
}

.registration-card {
  border: 1px solid #e9ecea;
  box-shadow: 0 12px 38px rgba(30, 45, 35, 0.025);
}

.eyebrow {
  color: #87948a;
  font-weight: 650;
  letter-spacing: 1.5px;
}

.progress-label span:first-child {
  color: #526d59;
}

.progress-part {
  background: #ebeeec;
}

.progress-part.active {
  background: #9aafa0;
}

.primary {
  background: #394940;
  color: #fff;
}

.primary:hover {
  background: #2d3b32;
}

.secondary {
  background: #f0f2f0;
  color: #44554a;
}

input:focus,
select:focus {
  border-color: #9faf9f;
  box-shadow: 0 0 0 3px rgba(130, 158, 139, 0.10);
}

.information {
  background: #f7f9f7;
  border-color: #e8ece9;
}

.information strong,
.signin a {
  color: #526d59;
}
/* ==========================================
   ABSENVIA REGISTRATION — APP DESIGN MATCH
   ========================================== */

:root {
  --green: #526d59;
  --green-dark: #435c4a;
  --background: #f5f7f5;
  --text: #28312c;
  --muted: #66716a;
  --border: #dce3dd;
}

body {
  background: var(--background);
}

/* Background decorations */
.registration {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.registration::before,
.registration::after {
  content: "";
  position: fixed;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.registration::before {
  top: -460px;
  right: -310px;
  background: linear-gradient(
    145deg,
    rgba(191, 205, 194, .55),
    rgba(219, 228, 221, .45)
  );
}

.registration::after {
  bottom: -570px;
  left: -230px;
  background: linear-gradient(
    145deg,
    rgba(171, 190, 175, .68),
    rgba(211, 223, 214, .75)
  );
}

/* Header */
.brand {
  color: #31593e;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1.4px;
}

.topbar-label {
  color: #76837a;
}

/* Registration card */
.registration-card {
  max-width: 440px;
  padding: 39px;
  border: 1px solid #e0e7e1;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(40, 49, 44, .035);
  background: #fff;
}

/* Small headings */
.eyebrow {
  color: #526d59;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.progress-label span:first-child {
  color: #526d59;
}

.progress-part {
  background: #e9eeea;
}

.progress-part.active {
  background: #526d59;
}

/* Typography */
h1 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.7px;
  line-height: 1.25;
}

.intro {
  font-size: 13px;
  color: #66716a;
}

label {
  color: #28312c;
  font-size: 12px;
  font-weight: 600;
}

/* Form fields */
input,
select {
  min-height: 48px;
  border: 1px solid #dce3dd;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 400;
  background: #fff;
}

input:focus,
select:focus {
  border-color: #8da594;
  box-shadow: 0 0 0 3px rgba(141, 165, 148, .10);
}

/* Buttons */
.primary {
  background: #526d59;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.primary:hover {
  background: #435c4a;
}

.secondary {
  background: #f2f5f2;
  color: #526d59;
  border: 1px solid #dce3dd;
  border-radius: 8px;
}

/* Information panel */
.information {
  background: #f5f7f5;
  border: 1px solid #e2e9e3;
  border-radius: 10px;
}

.information strong,
.signin a {
  color: #526d59;
}

/* Mobile */
@media (max-width: 540px) {
  .registration-card {
    max-width: 100%;
    padding: 28px 23px;
  }

  .registration::before,
  .registration::after {
    width: 480px;
    height: 480px;
  }

  .registration::before {
    top: -340px;
    right: -280px;
  }

  .registration::after {
    bottom: -390px;
    left: -270px;
  }
}
.brand-subtitle {
  display: block;
  margin-top: 3px;
  color: #526d59;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
}
/* Registration outcome and loading states — styling matches existing app */
.registration-result { padding: 12px 0 4px; color: #28312c; }
.registration-result h1 { margin-bottom: 12px; }
.registration-result p { color: #66716a; font-size: 14px; line-height: 1.65; }
.registration-result a { color: #526d59; font-weight: 650; font-size: 14px; }
.actions button:disabled { opacity: .65; cursor: wait; }
