/* ASPanel forms v20261030.3; supplemental rules scoped to the owned forms. */
.aspanel-forms .as-form-status { padding: 12px 14px; margin: 14px 0; border: 1px solid #b52329; background: #fff7f7; color: #6b1115; line-height: 1.5; clear: both; }
.aspanel-forms .as-form-status.as-form-success { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; min-height: 200px; padding: 24px 18px; margin: 18px 0; border: 2px solid #166534; border-radius: 8px; background: #f0fdf4; color: #14532d; text-align: center; overflow-wrap: anywhere; }
.aspanel-forms .as-form-success .as-status-check { display: flex; align-items: center; justify-content: center; flex: 0 0 54px; width: 54px; height: 54px; border-radius: 50%; background: #166534; color: #fff; font-size: 34px; font-weight: 700; line-height: 1; }
.aspanel-forms .as-form-success .as-status-title { display: block; margin: 0; color: #14532d; font-size: 24px; font-weight: 700; line-height: 1.25; }
.aspanel-forms .as-form-success .as-status-body { display: block; max-width: 36em; margin: 0; color: #14532d; font-size: 16px; line-height: 1.5; }
.aspanel-forms .as-form-status:focus-visible { outline: 3px solid #14532d; outline-offset: 3px; }
.aspanel-forms [hidden] { display: none !important; }
.aspanel-forms .as-phone { display: flex; align-items: stretch; width: 100%; gap: 6px; }
.aspanel-forms .as-phone .as-country { width: 116px; flex: 0 0 116px; min-width: 0; height: auto; padding: 8px 4px; border: 1px solid #ccc; background: #fff; color: #222; border-radius: 4px; font-size: 13px; }
.aspanel-forms .as-phone input[type="tel"],.aspanel-forms #custom_phone_input_12345 { min-width: 0; flex: 1 1 auto; width: auto !important; }
.aspanel-forms [aria-invalid="true"] { outline: 2px solid #b52329; outline-offset: 1px; }
.aspanel-forms [type="submit"]:disabled { cursor: default; opacity: .7; }
/* Keep the existing desktop layout. Small flex columns must be allowed to shrink. */
@media (max-width: 767px) {
  .aspanel-forms .ncn-container { box-sizing: border-box; width: 100%; min-width: 0; }
  .aspanel-forms .ncn-container .ncn-product-description { min-width: 0; overflow-wrap: anywhere; }
  .aspanel-forms .ncn-container .ncn-radio-group { flex-wrap: wrap; }
  .aspanel-forms .ncn-container .ncn-radio-option { flex-shrink: 0; }
}

/* localized-timeframe-layout 20261102: labels grow with the translated text. */
.aspanel-forms .ncn-container .ncn-radio-group { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.aspanel-forms .ncn-container .ncn-radio-option { width:auto; height:auto; min-height:64px; border-radius:6px; align-items:stretch; }
.aspanel-forms .ncn-container .ncn-radio-option label { position:relative; inset:auto; width:100%; height:auto; min-height:64px; padding:10px 8px; border-radius:5px; font-size:13px; line-height:1.35; overflow-wrap:anywhere; }
.aspanel-forms .ncn-container .ncn-radio-option input[type="radio"]:focus-visible + label { outline:3px solid #800000; outline-offset:3px; }
