/* CelerTurismo — stile pagine di registrazione */
.register-hero {
  padding: 150px 0 70px;
  background:
    radial-gradient(circle at 20% 20%, rgba(47,109,242,.18), transparent 38%),
    radial-gradient(circle at 80% 10%, rgba(20,184,166,.14), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.register-intro {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.register-panel {
  max-width: 1180px;
  margin: -30px auto 90px;
  position: relative;
  z-index: 3;
}

.register-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(15,23,42,.12);
  padding: 34px;
  backdrop-filter: blur(16px);
}

.register-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.register-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(37,99,235,.10);
  color: #1d4ed8;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
}

.form-section {
  padding: 26px;
  margin-top: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid rgba(15,23,42,.08);
}

.reg-section-title {
  letter-spacing: 0px;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.reg-section-title .icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 16px 34px rgba(37,99,235,.25);
  flex: 0 0 auto;
}

.reg-section-title h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 950;
  color: #0f172a;
}

.reg-section-title p {
  margin: 3px 0 0;
  color: #64748b;
  font-weight: 700;
  font-size: 14px;
}

.form-label {
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
}

.form-control,
.form-select {
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.14);
  font-weight: 650;
}

.form-control:focus,
.form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 .25rem rgba(37,99,235,.12);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan-card,
.billing-card {
  position: relative;
  cursor: pointer;
  height: 100%;
}

.plan-card input,
.billing-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-box,
.billing-box {
  height: 100%;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 14px 36px rgba(15,23,42,.06);
  transition: .25s ease;
}

.plan-card input:checked + .plan-box,
.billing-card input:checked + .billing-box {
  border-color: rgba(37,99,235,.65);
  box-shadow: 0 20px 50px rgba(37,99,235,.18);
  transform: translateY(-3px);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.plan-name {
  font-size: 20px;
  font-weight: 950;
  color: #0f172a;
}

.plan-tag {
  font-size: 12px;
  font-weight: 950;
  color: #1d4ed8;
  background: rgba(37,99,235,.10);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}

.plan-price {
  font-size: 28px;
  font-weight: 950;
  color: #0f172a;
  line-height: 1.1;
}

.plan-price small {
  font-size: 13px;
  color: #64748b;
  font-weight: 800;
}

.plan-desc {
  color: #64748b;
  font-weight: 700;
  font-size: 14px;
  margin: 12px 0 0;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
}

.plan-list i {
  color: #16a34a;
  margin-right: 6px;
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.billing-title {
  font-size: 19px;
  font-weight: 950;
  color: #0f172a;
  margin-bottom: 6px;
}

.billing-text {
  color: #64748b;
  font-weight: 700;
  margin: 0;
}

.saving {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(22,163,74,.10);
  color: #15803d;
  font-weight: 950;
  font-size: 13px;
}

.privacy-box {
  display: flex;
  gap: 12px;
  padding: 17px;
  border-radius: 20px;
  background: rgba(37,99,235,.06);
  border: 1px solid rgba(37,99,235,.12);
  color: #334155;
  font-weight: 700;
  font-size: 14px;
}

.register-submit {
  min-height: 60px;
  font-size: 17px;
  font-weight: 950;
  border-radius: 18px;
}

@media (max-width: 992px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .billing-grid {
    grid-template-columns: 1fr;
  }

  .register-head {
    flex-direction: column;
  }

  .register-card {
    padding: 22px;
    border-radius: 28px;
  }

  .form-section {
    padding: 20px;
  }
}

/* Pagina di conferma (register_ok.php) */
.ok-wrap { min-height: 70vh; display: grid; place-items: center; padding: 140px 16px 40px; }
.ok-card {
  max-width: 620px; background: #fff; border-radius: 34px; padding: 42px; text-align: center;
  box-shadow: 0 30px 80px rgba(15,23,42,.13); border: 1px solid rgba(15,23,42,.08);
}
.ok-icon {
  width: 78px; height: 78px; border-radius: 26px; display: grid; place-items: center; margin: 0 auto 24px;
  background: linear-gradient(135deg, #2563eb, #06b6d4); color: #fff; font-size: 34px;
}
.ok-card h1 { font-weight: 950; color: #0f172a; }
.ok-card p { color: #64748b; font-weight: 650; font-size: 17px; }
