/* ================================
   Base Layout
================================ */
.cc-prescreen-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  color: #111;
}

.cc-prescreen-form {
  width: 100%;
}

.cc-prescreen-form h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

/* ================================
   Alerts / Notices
================================ */
.cc-alert {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.4;
}

.cc-alert.success {
  background: #ecfdf3;
  border: 1px solid #b7f0c2;
  color: #14532d;
}

.cc-alert.warn {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
}

.cc-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #7f1d1d;
}

/* ================================
   Cards / Sections
================================ */
.cc-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 18px;
  margin: 20px 0;
}

/* Section titles */
.cc-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.35;
  margin: 0 0 16px;
  color: #111;
}

/* Underline accent */
.cc-card h3::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: #111;
  border-radius: 2px;
  margin-top: 8px;
}

/* ================================
   Fields
================================ */
.cc-field {
  margin-bottom: 16px;
}

.cc-label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

.cc-req {
  color: #cc0000;
}

/* Inputs */
.cc-input,
.cc-textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.4;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cc-textarea {
  resize: vertical;
  min-height: 80px;
}

.cc-input:focus,
.cc-textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

/* ================================
   Radio / Options
================================ */
.cc-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.cc-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 15px;
  cursor: pointer;
  background: #fff;
}

.cc-opt input {
  accent-color: #111;
  cursor: pointer;
}

/* ================================
   Pricing Box
================================ */
.cc-card strong {
  font-weight: 700;
}

.cc-card .pricing-note {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 8px;
}

/* ================================
   Buttons
================================ */
.cc-btn {
  display: inline-block;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.05s ease, opacity 0.15s ease;
}

.cc-btn:hover {
  opacity: 0.9;
}

.cc-btn:active {
  transform: translateY(1px);
}

/* ================================
   Responsive
================================ */
@media (max-width: 640px) {
  .cc-prescreen-wrap {
    padding: 12px;
  }

  .cc-prescreen-form h2 {
    font-size: 22px;
  }

  .cc-card {
    padding: 14px;
    border-radius: 14px;
  }

  .cc-card h3 {
    font-size: 18px;
  }

  .cc-options {
    flex-direction: column;
    gap: 8px;
  }

  .cc-opt {
    width: 100%;
    border-radius: 12px;
  }

  .cc-btn {
    width: 100%;
    text-align: center;
  }
}

/* ================================
   Small UX polish
================================ */
input[type="date"],
input[type="time"] {
  appearance: none;
}

::placeholder {
  color: #9ca3af;
}
