/* Rejestracja triala — /rejestracja. Wygląd 1:1 z app.planerto.com/register. */

/* Ta strona: bez siatki kalendarza z motywu (body::before), jednolite tło. */
body::before { display: none !important; }
body { background: #f9fafb; }

.rejestracja-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #f9fafb;
  box-sizing: border-box;
}

/* Dwie kolumny: formularz + panel zapowiedzi. Formularz zachowuje szerokość 452px. */
.rejestracja-cols {
  width: 100%;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.rejestracja-shell {
  width: 100%;
  max-width: 452px;
  justify-self: center;
  align-self: center;
  padding: 32px 16px;
  box-sizing: border-box;
}

/* ── Panel: zapowiedź wyszukiwarki ─────────────────────── */
/* Makiety skalują się z szerokością panelu (projekt na 720px: 1cqw = 7.2px). */
.rejestracja-aside {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow: hidden;
  background: linear-gradient(180deg, #0B2418 0%, #17402D 60%, #2A6B4F 100%);
  color: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
}

.rejestracja-aside-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 680px;
  padding: 88px 72px 0;
  box-sizing: border-box;
}

.rejestracja-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.rejestracja-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFF5C4;
}

.rejestracja-aside-title {
  margin: 0;
  font-family: inherit;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.rejestracja-aside-title mark {
  background: #FFF5C4;
  color: #10231A;
  padding: 0 10px;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.rejestracja-aside-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: #E3ECE7;
}

.rejestracja-stage {
  position: relative;
  flex: 1;
  min-height: 62cqw;
  margin-top: 48px;
}

.rejestracja-browser {
  position: absolute;
  left: 6.667cqw;
  top: 0;
  width: 88.889cqw;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  background: #ffffff;
}

.rejestracja-browser-bar {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 10px;
  background: #E4E9E6;
}

.rejestracja-browser-dots {
  display: inline-flex;
  gap: 5px;
}

.rejestracja-browser-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C3CCC7;
}

.rejestracja-browser-url {
  flex: 0 1 220px;
  height: 16px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  background: #ffffff;
  font-size: 9px;
  color: #4F6158;
}

.rejestracja-browser img,
.rejestracja-phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.rejestracja-phone {
  position: absolute;
  left: 69.444cqw;
  top: 2.5cqw;
  width: 27.222cqw;
  padding: 5px;
  border-radius: 34px;
  background: #1C1C1E;
  box-shadow: 0 0 0 1px #3A3A3C, 0 30px 70px rgba(0, 0, 0, 0.55);
  box-sizing: border-box;
}

.rejestracja-phone-screen {
  position: relative;
  aspect-ratio: 186 / 403;
  border-radius: 29px;
  overflow: hidden;
}

.rejestracja-phone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 56px;
  height: 16px;
  border-radius: 8px;
  background: #000000;
  transform: translateX(-50%);
}

/* Poniżej 900px: formularz pierwszy, pod nim sam tekst zapowiedzi (bez makiet). */
@media (max-width: 900px) {
  .rejestracja-cols {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .rejestracja-shell {
    padding: 40px 16px 24px;
  }

  .rejestracja-aside {
    min-height: 0;
  }

  .rejestracja-aside-top {
    max-width: 484px;
    margin: 0 auto;
    padding: 40px 16px 48px;
    gap: 16px;
  }

  .rejestracja-aside-title {
    font-size: 30px;
  }

  .rejestracja-aside-text {
    font-size: 16px;
  }

  .rejestracja-stage {
    display: none;
  }
}

.rejestracja-header {
  text-align: center;
  margin-bottom: 24px;
}

.rejestracja-logo {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0.14em;
  color: #2a6b4f;
}

.rejestracja-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #4b5563;
}

.rejestracja-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px;
}

.rejestracja-form [hidden] { display: none !important; }
.rejestracja-card:has(> noscript > .rejestracja-verification-notice) > .rejestracja-form { display: none; }
.rejestracja-verification-notice {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #101828;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
}
.rejestracja-verification-notice h2 { margin: 0; font: inherit; font-size: 15px; font-weight: 600; }
.rejestracja-verification-notice p,
.rejestracja-verification-notice ol { margin: 0; font: inherit; color: inherit; }
.rejestracja-verification-notice ol { padding-left: 20px; }
.rejestracja-verification-notice li + li { margin-top: 8px; }
.rejestracja-recovery { border-color: #cde0d4; background: #eaf4ee; }
.rejestracja-verification-status { margin: 0; font: inherit; font-size: 14px; }
.rejestracja-verification-status[data-quiet="true"] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.rejestracja-verification-help {
  border: 1px solid #e5e7eb; border-radius: 12px; background: #fff;
  color: #101828; font: inherit; font-size: 14px; line-height: 1.5;
}
.rejestracja-verification-help summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; color: #2a6b4f; font-weight: 500; list-style: none; cursor: pointer;
}
.rejestracja-verification-help summary::-webkit-details-marker { display: none; }
.rejestracja-verification-help summary::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.rejestracja-verification-help[open] summary::after { transform: rotate(225deg); }
.rejestracja-verification-help summary:focus-visible { outline: 2px solid #2a6b4f; outline-offset: 2px; border-radius: inherit; }
.rejestracja-verification-help p { margin: 0; padding: 0 16px 12px; font: inherit; color: inherit; }
.rejestracja-verification-help ol { margin: 0; padding: 0 16px 12px 36px; font: inherit; }
.rejestracja-verification-help li + li { margin-top: 8px; }

.rejestracja-form {
  display: grid;
  gap: 18px;
}

.rejestracja-field {
  display: grid;
  gap: 8px;
}

.rejestracja-label {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

.rejestracja-input {
  width: 100%;
  height: 42px;
  border: 1px solid #d1d5db;
  border-radius: var(--btn-radius);
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.rejestracja-input:focus {
  border-color: #2a6b4f;
}

.rejestracja-password-wrap {
  position: relative;
}

.rejestracja-password-input {
  padding: 0 42px 0 12px;
}

.rejestracja-eye {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.rejestracja-hint {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.rejestracja-error {
  margin: 0;
  font-size: 13px;
  color: #c0392b;
  padding: 10px 12px;
  background: #fdf2f1;
  border-radius: var(--card-radius);
  border: 1px solid #f5c6c2;
}

.rejestracja-submit {
  width: 100%;
  height: 42px;
  margin-top: 2px;
  background: #2a6b4f;
  border: 1px solid #2a6b4f;
  border-radius: var(--btn-radius);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.rejestracja-submit:hover {
  background: #235a42;
  border-color: #235a42;
}

.rejestracja-submit:disabled {
  opacity: 0.65;
  cursor: default;
}

/* Aktywna akceptacja regulaminu i umowy powierzenia. */
.rejestracja-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.rejestracja-checkbox {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: #2a6b4f;
  cursor: pointer;
}

.rejestracja-consent-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: #4b5563;
}

.rejestracja-consent-text a {
  color: #2a6b4f;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rejestracja-footer {
  margin-top: 22px;
  text-align: center;
}

.rejestracja-footer-text {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

.rejestracja-login-link {
  color: #2a6b4f;
  font-weight: 600;
  text-decoration: none;
}

.rejestracja-login-link:hover {
  text-decoration: underline;
}
