/* ===== iframe-apply — Cherry iframe + V3 Apply layout on ip-done =====
 * Layered on top of styles.css. Only contains rules not already covered
 * by Cool Contours base styles.
 */

/* ip-done confirmation — tighter top padding so Apply is above the fold on iPhone 13/14 */
.confirmation-step {
  padding-top: 12px;
}
.confirmation-step .checkmark-circle {
  display: none;
}
.confirmation-step .confirm-title {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 12px;
  text-align: center;
  color: #00C37D;
  font-size: 1.5rem;
  font-weight: 700;
}
.confirmation-step .confirm-message {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 12px;
  text-align: center;
  font-size: 12px;
}
.confirmation-step .summary {
  margin-bottom: 10px;
}

/* Cherry prompt block — full-width, no extra max-width clamp */
.confirmation-step .cherry-prompt {
  align-self: stretch !important;
  max-width: none !important;
  text-align: center;
  margin-top: 0;
}
.confirmation-step .cherry-prompt .cherry-logo {
  margin: 0 auto 8px;
}
.confirmation-step .cherry-prompt .cherry-title {
  font-size: 16px;
  font-weight: 700;
  color: #0E202F;
  margin-bottom: 14px;
}

/* Pre-qualification "Great News" card — sits under the Cherry logo */
.cherry-prequal-card {
  margin: 8px auto 12px;
  max-width: 320px;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  background: #e6f9f0;
  border: 1px solid #00C37D;
  border-radius: 12px;
  display: block;
  text-align: center;
}
.cherry-prequal-card .cherry-result-text { display: block; }
.cherry-prequal-card .cherry-result-title {
  font-size: 14px;
  font-weight: 600;
  color: #0E202F;
  line-height: 1.4;
  display: block;
}

/* Bulleted benefits list — checkmark icons via SVG bg */
.cherry-desc-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cherry-desc-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
}
.cherry-desc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C37D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Apply button — Cherry pill style with white symbol icon */
.cherry-apply-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin: 14px auto 8px;
  background: #00C37D !important;
}
.cherry-apply-btn:hover:not(:disabled) {
  background: #00b372 !important;
}
.cherry-apply-btn .cherry-apply-icon {
  flex-shrink: 0;
}
.cherry-apply-btn span {
  font-weight: 600;
}

/* Cherry legal disclosures — left-aligned, gray underlined links */
.cherry-disclosure {
  text-align: left !important;
  margin: 8px auto 0;
  max-width: 320px;
  width: 100%;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
}
.cherry-disclosure a {
  color: inherit;
  text-decoration: underline;
}

/* ===== Embedded Cherry application iframe ===== */
.iframe-step-content {
  padding: 0 !important;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
}
.cherry-iframe {
  flex: 1;
  width: 100%;
  min-height: 600px;
  border: 0;
  display: block;
  background: #fff;
}
.iframe-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  text-align: center;
  max-width: 320px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.iframe-fallback a {
  color: #00C37D;
  font-weight: 600;
  text-decoration: underline;
}
