/* The tenancy application form (get-started.html) and the API-built pricing cards. */

.apply-section {
  padding-top: 40px;
}

.apply-card {
  background: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(1, 41, 112, 0.08);
  padding: 32px;
}

@media (max-width: 575px) {
  .apply-card {
    padding: 20px;
  }
}

.apply-legend {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.required-text {
  font-size: 0.85em;
  font-weight: 400;
  color: var(--default-color);
}

/* Plan cards: real radio buttons inside labels, so they work by keyboard */
.plan-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  border: 2px solid #dfe3ef;
  border-radius: 10px;
  padding: 14px 14px 14px 44px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.plan-card input {
  position: absolute;
  left: 14px;
  top: 17px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
}

.plan-card:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.plan-card:has(input:checked) {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.plan-card:has(input:focus-visible) {
  outline: 3px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  outline-offset: 2px;
}

.plan-card-name {
  font-weight: 700;
  color: var(--heading-color);
}

.plan-card-price {
  font-weight: 600;
  color: var(--accent-color);
}

.plan-card-summary {
  font-size: 0.85rem;
  color: var(--default-color);
}

/* Phone: the country code, then the number */
.phone-group .phone-code {
  flex: 0 0 auto;
  width: 13rem;
  max-width: 60%;
}

.apply-seats {
  max-width: 200px;
}

.apply-submit {
  min-width: 220px;
}

.apply-thanks-icon {
  font-size: 56px;
  color: #20c997;
}

#thanks-heading:focus {
  outline: none;
}

/* The bot trap: off-screen rather than display:none, which some bots skip */
.apply-trap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Pricing cards on the home page */
.pricing .pricing-summary {
  font-size: 0.9rem;
  color: var(--default-color);
  margin: 0 0 20px;
}

.pricing-seat-note {
  font-size: 0.9rem;
  color: var(--default-color);
}
