/* Private Access Page Widget Styles */
.alta-private-page {
  min-height: 100vh;
  background: linear-gradient(rgba(28,26,23,0.8), rgba(28,26,23,0.92)), url('https://images.unsplash.com/photo-1613553474179-e1eda3ea5734?w=2000&q=85') center/cover;
  color: #E8E1D1;
  padding: 160px 0 100px;
}

.alta-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.alta-private-page .alta-label {
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: rgba(232,225,209,0.55);
  display: block;
}

.alta-private-page .alta-display-xl {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -0.02em;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  line-height: 1.1;
  color: #E8E1D1;
  max-width: 900px;
  margin: 32px 0;
}

.alta-private-page .alta-lead {
  color: rgba(232,225,209,0.85);
  max-width: 720px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  margin-bottom: 60px;
}

.alta-private-page .alta-form-card {
  background: rgba(246,242,234,0.06);
  border: 1px solid rgba(232,225,209,0.2);
  padding: 60px;
  max-width: 720px;
}

.alta-private-page .alta-form-card h3 {
  color: #E8E1D1;
  font-size: 28px;
  margin-bottom: 12px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 400;
}

.alta-private-page .alta-form-card > p {
  color: rgba(232,225,209,0.7);
  margin-bottom: 40px;
  font-size: 15px;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
}

/* CF7 Integration Styles */
.wpcf7-custom-style .wpcf7-form p {
  margin-bottom: 24px;
}

.wpcf7-custom-style label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232,225,209,0.55);
  display: block;
  margin-bottom: 8px;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
}

.wpcf7-custom-style input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7-custom-style select,
.wpcf7-custom-style textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent !important;
  border: none;
  border-bottom: 1px solid rgba(232,225,209,0.2);
  border-radius: 0;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
  font-size: 15px;
  color: #E8E1D1;
  transition: border-color 300ms ease;
  box-shadow: none !important;
}

.wpcf7-custom-style input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus,
.wpcf7-custom-style select:focus,
.wpcf7-custom-style textarea:focus {
  border-bottom-color: #E8E1D1;
  outline: none;
}

.wpcf7-custom-style select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'><path fill='none' stroke='%23B8B0A0' stroke-width='1' d='M1 1l4 4 4-4'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 4px center !important;
  background-size: 10px !important;
}

.wpcf7-custom-style select option {
  background: #1C1A17;
  color: #E8E1D1;
}

.wpcf7-custom-style textarea {
  resize: vertical;
  min-height: 100px;
}

.wpcf7-custom-style .wpcf7-list-item {
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.wpcf7-custom-style .wpcf7-list-item-label {
  font-size: 12px;
  color: rgba(232,225,209,0.55);
  line-height: 1.6;
  text-transform: none;
  letter-spacing: normal;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
}

.wpcf7-custom-style .wpcf7-list-item input[type="checkbox"] {
  margin-top: 4px;
}

.wpcf7-custom-style input[type="submit"] {
  padding: 18px 36px;
  background: #E8E1D1;
  color: #1A1815;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  transition: background 400ms ease, color 400ms ease;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
  margin-top: 24px;
}

.wpcf7-custom-style input[type="submit"]:hover {
  background: #8A6E3F;
  color: #E8E1D1;
}

/* Two-column layout mapping for CF7 - if user structures CF7 with custom HTML */
.wpcf7-custom-style .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.wpcf7-custom-style .form-grid .full {
  grid-column: span 2;
}

@media (max-width: 960px) {
  .alta-container {
    padding: 0 24px;
  }
  .wpcf7-custom-style .form-grid {
    grid-template-columns: 1fr;
  }
  .wpcf7-custom-style .form-grid .full {
    grid-column: span 1;
  }
  .alta-private-page .alta-form-card {
    padding: 40px 24px;
  }
  .alta-private-page {
    padding: 120px 0 80px;
  }
}
