.holds-the-iframe {
    background: url(./images/loader.gif) center center no-repeat;
  }

.hs-form-booleancheckbox{
  list-style: none;
}

#desktop-modal-app>div{
max-width: 700px;
}
#desktop-modal-app .hs-message{
display: none;
}
#oneTimeModalForm .hs-message{
display: none;
}

#desktop-modal-app .hbspt-form .input select, footer .hbspt-form .input select{
width: 100%!important;
height: 40px;
background-color: white;

}
#desktop-modal-app .hbspt-form .input input:not(#LEGAL_CONSENT\.subscription_type_7608382-9ecb910b-fbdc-426a-9494-135d47a0126a), footer .hbspt-form .input input:not(#LEGAL_CONSENT\.subscription_type_7608382-9ecb910b-fbdc-426a-9494-135d47a0126a){
width: 100%!important;
height: 40px;
}
#desktop-modal-app .hbspt-form label{
margin-top: 20px;
margin-bottom: 0px;
}
#desktop-modal-app .hs-richtext h1{
font-size: 20px;
margin-top: -30px;
margin-bottom: 0px;
}
#desktop-modal-app form{
display: flex;
flex-wrap: wrap;
justify-content: center;
}
#desktop-modal-app .form-columns-2{
flex-basis: 90%;
max-width: none!important;
}
#desktop-modal-app .form-columns-1{
flex-basis: 90%;
max-width: none!important;

}
#desktop-modal-app .hs_submit{
flex-basis: 90%;
max-width: none!important;

}
#desktop-modal-app .actions{
display: flex;
justify-content: center;
}

.hs-error-msgs{
  padding: 0;
}

.hs-error-msgs li{
  list-style: none;
}

#desktop-modal-app .hs-error-msg{
font-size:10px;
margin-top: 0px!important;
color: red;
}



#desktop-modal-app .hs-button, footer .hs-button{
color: white;
font-weight: 600;
border:none;
margin-top: 20px;
padding: 10px 100px;
background-color: #F4482B;
font-family: Figtree;
}

#desktop-modal-app .hbspt-form p{
font-size: 12px;
line-height: 1.2;
display: inline-block!important;
}
#desktop-modal-app .hbspt-form .input{
margin-right: 0px;
width: 100%!important;
padding-left: 5px;
padding-right: 5px;
}
#desktop-modal-app .hbspt-form form-columns-2, #desktop-modal-app .hbspt-form form-columns-2{
width: 100%;
padding-left: 0px;
padding-right: 0px;
}

#desktop-modal-app h3{
text-align: center;
font-family: Figtree;
font-weight: 700;
font-size: 23px;
margin-top: 50px;
}

#desktop-modal-app h5{
text-align: left;
font-family: Figtree;
font-weight: 400;
font-size: 16px;
margin-top: 20px;
padding: 0 6%;
text-align: center;
}
#desktop-modal-app .popupContainer #hubspot-form .input input:not(#LEGAL_CONSENT\.subscription_type_7608382-9ecb910b-fbdc-426a-9494-135d47a0126a) {
width: 100% !important;
height: 40px;
}
#desktop-modal-app #hubspot-form .input select{
width: 100%!important;
height: 40px;
background-color: white;
}
#desktop-modal-app .hs-richtext{
display: none;
}
#desktop-modal-app .hs-form-booleancheckbox{
margin-top: 1rem;
}

/* Hide CTAs while the form modal is open. Body class added on
   show.bs.modal, removed on hidden.bs.modal. Submit-then-close keeps
   it hidden via existing logic; close-without-submit restores it. */
body.cta-modal-open .app-get-a-demo-wrapper,
body.cta-modal-open .demo-banner,
body.cta-modal-open .demo-context-card,
body.cta-modal-open .cta-pill,
body.cta-modal-open .cta-card,
body.cta-modal-open .cta-endbanner {
  display: none !important;
}

/* ============================================
   New A — Bottom stripe in reserved space
   Keeps the CTA persistent without covering the demo canvas.
   ============================================ */
.demo-shell {
    --demo-stripe-height: 56px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#main--frame {
    order: 1;
    flex: 1 1 auto;
    min-height: 0;
    height: calc(100vh - var(--demo-stripe-height)) !important;
    display: block;
}

.demo-banner {
    order: 2;
    position: relative;
    left: auto; right: auto; bottom: auto;
    flex: 0 0 var(--demo-stripe-height);
    width: 100%;
    z-index: 9999;
    display: none;
    background: linear-gradient(0deg, #E92E2F 0%, #FF6126 100%);
    box-shadow: 0 -8px 24px -8px rgba(38,26,40,0.18);
    color: #EFEBE4;
    font-family: Figtree, sans-serif;
    cursor: pointer;
}
.demo-banner.is-visible { display: block; }
.demo-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    height: var(--demo-stripe-height);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}
.demo-banner__icon {
    width: 28px; height: 28px;
    flex: 0 0 28px;
    background: rgba(255,255,255,0.14);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.demo-banner__icon img { width: 16px; height: 16px; }
.demo-banner__text {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.3;
    letter-spacing: 0.1px;
    flex: 1;
    color: #EFEBE4;
}
.demo-banner__text strong { font-weight: 700; }
.demo-banner__cta {
    height: 36px;
    padding: 0 18px;
    border-radius: 80px;
    background: #EFEBE4;
    color: #261A28 !important;
    font-family: Figtree, sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
    border: none;
    cursor: pointer;
    transition: border-radius 0.4s ease, background-color 0.2s ease;
    white-space: nowrap;
}
.demo-banner__cta:hover {
    border-radius: 10px;
    background: #FFFFFF;
}

@media (max-height: 760px) {
    .demo-shell {
        --demo-stripe-height: 48px;
    }

    .demo-banner__inner {
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 12px;
    }

    .demo-banner__text {
        font-size: 14px;
        line-height: 1.2;
    }

    .demo-banner__cta {
        height: 32px;
        padding: 0 16px;
        font-size: 13px;
    }
}

#desktop-modal-app .submitted-message{
  text-align: center;
}

/* ============================================
   Modal form — brand polish
   Minimal: input focus + submit button match brand .btn.btn-primary.
   ============================================ */

/* Inputs & selects — clean borders + branded focus ring */
#desktop-modal-app .hbspt-form .input input:not(#LEGAL_CONSENT\.subscription_type_7608382-9ecb910b-fbdc-426a-9494-135d47a0126a),
#desktop-modal-app .hbspt-form .input select,
#desktop-modal-app #hubspot-form .input input:not(#LEGAL_CONSENT\.subscription_type_7608382-9ecb910b-fbdc-426a-9494-135d47a0126a),
#desktop-modal-app #hubspot-form .input select {
  padding: 0 14px;
  border: 1px solid rgba(38,26,40,0.16);
  border-radius: 8px;
  background-color: #ffffff;
  font-family: Figtree, sans-serif;
  font-size: 14px;
  color: #261A28;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#desktop-modal-app .hbspt-form .input input:focus,
#desktop-modal-app .hbspt-form .input select:focus,
#desktop-modal-app #hubspot-form .input input:focus,
#desktop-modal-app #hubspot-form .input select:focus {
  outline: none;
  border-color: #FF6126;
  box-shadow: 0 0 0 3px rgba(255,97,38,0.15);
}

/* Labels — refined typography + tight pairing with input */
#desktop-modal-app .hbspt-form label,
#desktop-modal-app #hubspot-form label {
  display: block !important;
  font-family: Figtree, sans-serif !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  color: rgba(38,26,40,0.75) !important;
  letter-spacing: 0.1px !important;
  margin-top: 16px !important;
  margin-bottom: 6px !important;
  line-height: 1.3 !important;
}

/* Submit button — mirrors brand .btn.btn-primary */
#desktop-modal-app .hs-button,
footer .hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  margin-top: 10px !important;
  background: linear-gradient(0deg, #E92E2F 0%, #FF6126 100%);
  color: #EFEBE4;
  font-family: Figtree, sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.2px;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 80px;
  box-shadow:
    0 -1px 1px 1px rgba(38,26,40,0.10) inset,
    0 1px 1px 1px rgba(239,235,228,0.20) inset,
    0 6px 6px -3px rgba(38,26,40,0.05),
    0 3px 3px -1.5px rgba(38,26,40,0.05),
    0 0 0 1px rgba(239,235,228,0.10);
  cursor: pointer;
  transition: border-radius 0.5s ease;
}
#desktop-modal-app .hs-button:hover,
footer .hs-button:hover {
  border-radius: 12px;
}

/* Vertical balance — tighten top whitespace, breathing room at bottom */
#desktop-modal-app h3 {
  margin-top: 24px !important;
}
#desktop-modal-app .popupContainer {
  padding-bottom: 24px !important;
}

/* Modal container — softer corners, aligned with card radius hierarchy
   (8px input → 16px modal, matches variant card pattern) */
#desktop-modal-app .modal-content {
  border-radius: 16px !important;
  overflow: hidden;
}

/* Error message — softer red, brand font */
#desktop-modal-app .hs-error-msg,
#desktop-modal-app .hs-error-msgs {
  color: #DC2626 !important;
  font-family: Figtree, sans-serif !important;
}
