/* ─── Reset & scoping ─── */
.wss-reserve-wrap * {
  box-sizing: border-box;
}

.wss-reserve-wrap {
  color: #fff;
  font-family: 'Grosa', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ─── Unit summary banner ─── */
.wss-unit-banner {
  background: #1a1a1a;
  border: 1px solid #333;
  border-left: 4px solid #FFE100;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.wss-unit-banner-label {
  font-size: 1.06rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFE100;
  margin-bottom: 4px;
}

.wss-unit-banner-size {
  font-family: 'Ivymode', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}

.wss-unit-banner-change {
  font-size: 1.06rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: #666;
  transition: color 0.15s;
}

.wss-unit-banner-change:hover {
  color: #FFE100;
}

/* ─── No unit selected state ─── */
.wss-no-unit {
  background: #1a1a1a;
  border: 1px dashed #444;
  border-radius: 6px;
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 40px;
}

.wss-no-unit p {
  color: #666;
  font-size: 1.19rem;
}

.wss-no-unit a {
  color: #FFE100;
  font-size: 1.125rem;
}

/* ─── Section headings ─── */
.wss-form-section {
  margin-bottom: 36px;
}

.wss-form-section-title {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #fff;
  font-weight: 600;
  text-transform: none;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #2a2a2a;
}

/* ─── Field grid ─── */
.wss-field-grid {
  display: grid;
  gap: 16px;
}

.wss-field-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.wss-field-grid.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 600px) {
  .wss-field-grid.cols-2,
  .wss-field-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}

/* ─── Individual field ─── */
.wss-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wss-field label {
  font-size: 1.15rem;
  color: #fff;
}

.wss-field label .wss-required {
  color: #FFE100;
  margin-left: 2px;
}

/* ─── Inputs — use Webflow classes, override for dark theme ─── */
.wss-field input,
.wss-field select {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  color: #fff;
  font-family: inherit;
  font-size: 1.26rem;
  padding: 18px 20px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.wss-field input::placeholder {
  color: #444;
}

.wss-field input:focus,
.wss-field select:focus {
  border-color: #FFE100;
  box-shadow: 0 0 0 2px rgba(255, 225, 0, 0.08);
}

.wss-field input.wss-error-field,
.wss-field select.wss-error-field {
  border-color: #f44336;
}

.wss-field .wss-field-error {
  font-size: 0.99rem;
  display: none;
}

.wss-field .wss-field-error.visible {
  display: block;
}

/* select arrow */
.wss-select-wrap {
  position: relative;
}

.wss-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
  pointer-events: none;
}

.wss-select-wrap select {
  padding-right: 36px;
  cursor: pointer;
}

.wss-select-wrap select option {
  background: #1a1a1a;
  color: #fff;
}

/* ─── Move-in date note ─── */
.wss-date-note {
  font-size: 0.99rem;
  line-height: 1.4;
}

/* ─── Insurance selector ─── */
.wss-insurance-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wss-insurance-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.wss-insurance-option:hover {
  border-color: #555;
}

.wss-insurance-option.selected {
  border-color: #FFE100;
}

.wss-insurance-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #FFE100;
  flex-shrink: 0;
  margin: 0;
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
}

.wss-insurance-option input[type="radio"]:focus {
  border-color: transparent;
  box-shadow: none;
}

.wss-insurance-label {
  flex: 1;
  font-size: 1.19rem;
}

.wss-insurance-price {
  font-size: 1.125rem;
  white-space: nowrap;
}

/* ─── Card section ─── */
.wss-card-note {
  font-size: 1.06rem;
  color: #777;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.wss-card-note strong {
  color: #ccc;
}

.wss-security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.4;
}

.wss-security-badge svg {
  flex-shrink: 0;
}

/* ─── Submit area ─── */
.wss-submit-area {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #2a2a2a;
}

.wss-submit-note {
  font-size: 1.06rem;
  margin-bottom: 24px;
}

.wss-submit-note strong {
  color: #888;
}

/* ─── Global form error ─── */
.wss-form-error {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  border-radius: 4px;
  padding: 14px 16px;
  color: #f44336;
  font-size: 0.98rem;
  margin-top: 16px;
  display: none;
  line-height: 1.5;
}

.wss-form-error.visible {
  display: block;
}

/* ─── Success state ─── */
.wss-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.wss-success.visible {
  display: block;
}

.wss-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 225, 0, 0.1);
  border: 2px solid #FFE100;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
}

.wss-success h3 {
  font-family: 'Ivymode', Georgia, serif;
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  margin: 0 0 12px 0;
}

.wss-success p {
  color: #888;
  font-size: 1.09rem;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.wss-success-detail {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 28px 0 0;
  text-align: left;
}

.wss-success-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #222;
  font-size: 1.006rem;
}

.wss-success-detail-row:last-child {
  border-bottom: none;
}

.wss-success-detail-row span:first-child {
  color: #666;
  text-transform: uppercase;
  font-size: 0.805rem;
  letter-spacing: 0.08em;
}

.wss-success-detail-row span:last-child {
  color: #fff;
  font-weight: 600;
}

.wss-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wss-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes wss-spin {
  to { transform: rotate(360deg); }
}
