/* Stack both actions so neither label is squeezed into a narrow column. */
#soft-slider .soft-accept,#soft-slider .ac-slider-apply{display:block;width:100%;white-space:normal;min-height:44px;font-size:15px;line-height:1.35;padding:11px 10px}
#soft-slider .ac-slider-apply{margin:8px 0 0;border:1px solid #b41e3b;background:#fff;color:#b41e3b;font-weight:600;border-radius:8px}
#soft-slider .ac-slider-apply:hover,#soft-slider .ac-slider-apply:focus-visible{background:#fff0f3;color:#75172b}
#soft-slider .ac-slider-apply:focus-visible{outline:3px solid #d8637b;outline-offset:2px}

/* Include the existing visual offset in the column's occupied height. */
body #soft-slider[data-ac-apply-action="1"] #soft-slider-forms form>.col-md-3{margin-bottom:0;top:0;padding-top:0}
body .krediti-compact-slider #soft-slider[data-ac-apply-action="1"] #soft-slider-forms form>.col-md-3{margin-bottom:0}
@media(max-width:991px){body #soft-slider[data-ac-apply-action="1"] #soft-slider-forms form>.col-md-3{margin-bottom:0;top:0}}

#soft-slider .ac-slider-apply[hidden]{display:none!important}

body #soft-slider[data-ac-apply-action="1"] #soft-slider-forms form>.col-md-3 .soft-comment{margin-top:0!important;margin-bottom:2px!important;font-size:14px!important;line-height:20px}
body #soft-slider[data-ac-apply-action="1"] .oc-price-note{font-size:11px!important;line-height:14px!important;min-height:14px!important;height:auto!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-inline-application{box-sizing:border-box;max-width:1170px;width:calc(100% - 30px);margin:16px auto 24px;background:#fff;border:1px solid #d9e3ee;border-radius:16px;overflow:hidden;scroll-margin-top:70px;color:#173149}
.ac-inline-application[hidden],.ac-inline-application [hidden]{display:none!important}
.ac-inline-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 8px}
.ac-inline-head h2{font-size:24px;margin:0;line-height:1.3}
.ac-inline-close{background:#fff1f4;color:#b41e3b;border:1px solid #bed0e1;border-radius:8px;padding:10px 14px;min-height:44px;font:inherit;font-weight:600}
.ac-inline-info,.ac-inline-loading{padding:0 20px;margin:4px 0 12px;font-size:14px;line-height:1.5}
.ac-inline-frame{display:block;width:100%;border:0;min-height:100px;background:#fff}
.ac-inline-opening{animation:ac-form-reveal .25s ease-out}
@keyframes ac-form-reveal{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:767px){.ac-inline-application{width:calc(100% - 24px);margin:12px auto 18px}.ac-inline-head{padding:14px 12px 6px}.ac-inline-head h2{font-size:20px}.ac-inline-info,.ac-inline-loading{padding:0 12px}}
@media(prefers-reduced-motion:reduce){.ac-inline-opening{animation:none}}

/* Restore 8px clearance below the credit-type tabs without moving the column. */
body #soft-slider[data-ac-apply-action="1"] #soft-slider-forms form>.col-md-3{padding-top:8px}
.ac-inline-application{margin-top:0;background:#f8eaed;border-color:#e4bec8}
.ac-inline-head{padding:10px 16px 4px;gap:10px;background:#75172b;color:#fff}
.ac-inline-head h2{font-size:21px;color:#fff}
.ac-inline-close{min-height:34px;padding:6px 12px;background:#ffffff12;border-color:#ffffff50;color:#fff;font-size:14px}
.ac-inline-info{padding:0 16px 10px;margin:0;background:#75172b;color:#fbe2e9;font-size:12px;line-height:1.5}
.ac-inline-frame{background:#f8eaed}
@media(max-width:767px){.ac-inline-application{margin-top:0}.ac-inline-head{padding:8px 12px 4px}.ac-inline-head h2{font-size:19px}.ac-inline-info{padding:0 12px 8px}}

/* Override the theme heading rule inside the dark application header. */
body .ac-inline-application .ac-inline-head h2{margin:0!important;color:#fff!important;font-size:21px!important;line-height:1.3!important}
@media(max-width:767px){body .ac-inline-application .ac-inline-head h2{font-size:19px!important}}

/* Space between hero background and application panel. */
body .ac-inline-application{margin-top:16px}

.ac-exact-source-quote{display:none!important}

/* Show the keyboard entry point when the application is opened. */
.ac-inline-head h2:focus-visible{outline:2px solid #b9d8f1;outline-offset:5px;border-radius:3px}

/* Krediti.lv: primary application action precedes comparison. */
#soft-slider .ac-slider-apply{margin:0 0 8px;background:#337ab7;border-color:#2e6da4;color:#fff}
#soft-slider .ac-slider-apply:hover,#soft-slider .ac-slider-apply:focus-visible{background:#286090;color:#fff}
body .ac-inline-application{background:#eef5fa;border-color:#b9d2e5}
body .ac-inline-head,body .ac-inline-info{background:#214b6c}
body .ac-inline-frame{background:#eef5fa}

/* Krediti.lv payment summary and primary/secondary actions. */
body #soft-slider[data-ac-apply-action="1"] #soft-slider-forms form>.col-md-3{gap:4px;padding-top:4px}
body #soft-slider[data-ac-apply-action="1"] #priceTypeTitle{order:1;margin:0 0 2px!important;font-weight:700}
body #soft-slider[data-ac-apply-action="1"] .price-box{order:2;min-height:46px;display:flex;align-items:baseline;justify-content:center;gap:4px;padding:7px 10px}
body #soft-slider[data-ac-apply-action="1"] .term-box{order:3;margin:2px 0 0;line-height:18px;font-size:12px;color:#173149}
body #soft-slider[data-ac-apply-action="1"] .oc-price-note{order:4;margin:0 0 6px;line-height:16px!important;color:#526477}
body #soft-slider[data-ac-apply-action="1"] .oc-slider-retry{order:4}
body #soft-slider[data-ac-apply-action="1"] .ac-slider-apply,body #soft-slider[data-ac-apply-action="1"] .soft-accept{width:100%;min-height:44px;margin:0;padding:10px 8px;border:1px solid #9c3040;border-radius:9px;font-size:14px;line-height:22px;font-weight:700;text-transform:none;white-space:nowrap}
body #soft-slider[data-ac-apply-action="1"] .ac-slider-apply{order:5;background:#9c3040;color:#fff;box-shadow:0 8px 18px rgba(156,48,64,.19)}
body #soft-slider[data-ac-apply-action="1"] .ac-slider-apply:hover,body #soft-slider[data-ac-apply-action="1"] .ac-slider-apply:focus-visible{background:#842638;border-color:#842638;color:#fff}
body #soft-slider[data-ac-apply-action="1"] .soft-accept{order:6;margin-top:4px;background:#fff;color:#9c3040;box-shadow:none}
body #soft-slider[data-ac-apply-action="1"] .soft-accept:hover,body #soft-slider[data-ac-apply-action="1"] .soft-accept:focus-visible{background:#fff2f4;color:#842638;border-color:#842638}
body #soft-slider[data-ac-apply-action="1"] .soft-accept:focus-visible,body #soft-slider[data-ac-apply-action="1"] .ac-slider-apply:focus-visible{outline:3px solid #d8637b;outline-offset:2px}
@media(min-width:992px) and (max-width:1199px){body #soft-slider[data-ac-apply-action="1"] .soft-accept,body #soft-slider[data-ac-apply-action="1"] .ac-slider-apply{font-size:13px;padding-left:5px;padding-right:5px}}
@media(max-width:991px){body #soft-slider[data-ac-apply-action="1"] #soft-slider-forms form>.col-md-3{padding-top:6px;gap:4px}}
