/* KONTENERS: isolated uploader. CF7 handles all file transfer and cleanup. */
.konteners-cf7-upload{display:block;position:relative;font:inherit;color:inherit}
.konteners-cf7-upload__zone{border:1px dashed #8e9bbb;background:#edf5fd;display:flex;min-height:130px;padding:22px;gap:10px;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer;transition:border-color .15s,background-color .15s;line-height:1.45}
.konteners-cf7-upload__zone:hover,.konteners-cf7-upload__zone:focus-visible{border-color:#26386f;background:#e5effa;outline:2px solid #26386f;outline-offset:2px}
.konteners-cf7-upload__copy{display:flex;flex-direction:column;align-items:center;gap:3px}
.konteners-cf7-upload__zone strong{font-weight:700;color:#26386f;font-size:inherit}
.konteners-cf7-upload__copy>span{color:#465774;font-size:.86em}
.konteners-cf7-upload__icon{width:32px;height:32px;display:grid;place-items:center;color:#26386f}
.konteners-cf7-upload__action{font:inherit;font-size:.89em;font-weight:700;color:#26386f;border:1px solid #3f74ff;padding:8px 17px;background:transparent}
.konteners-cf7-upload:not(.is-enhanced) .konteners-cf7-upload__zone{display:none}
.konteners-cf7-upload.is-enhanced .konteners-cf7-upload__input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none}
.konteners-cf7-upload__hint{display:block;font-size:.82em;line-height:1.5;color:#57637a;margin-top:8px}
.konteners-cf7-upload__list{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.konteners-cf7-upload__item{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f6f8fc;border:1px solid #d8dfe9;padding:10px 12px;font-size:.88em}
.konteners-cf7-upload__filename{min-width:0;overflow-wrap:anywhere;color:#26386f}
.konteners-cf7-upload__remove{border:0;background:transparent;color:#26386f;cursor:pointer;text-decoration:underline;font:inherit;padding:4px}
.konteners-cf7-upload__remove:focus-visible{outline:2px solid #26386f;outline-offset:2px}
.konteners-cf7-upload__error{display:block;margin-top:8px;color:#bd2535;font-size:.88em;line-height:1.45}
.konteners-cf7-upload__error:empty{display:none}
.konteners-cf7-upload .wpcf7-not-valid-tip{display:block;margin-top:8px;font-size:.88em}
/* KONTENERS RC.45: screenshot correction, scoped to one CF7 form, without Divi overrides. */
.wpcf7 .konteners-offer-form{--kf-navy:#0c236b;--kf-navy-soft:#223d82;--kf-outline:#d9e4f5;--kf-blue:#1d5cff;--kf-orange:#ff5c00;color:var(--kf-navy);font:inherit;width:100%;max-width:100%;box-sizing:border-box}
.wpcf7 .konteners-offer-form *, .wpcf7 .konteners-offer-form *::before,.wpcf7 .konteners-offer-form *::after{box-sizing:border-box}
.wpcf7 .konteners-offer-form p{margin:0;padding:0}
/* Existing CF7 forms may retain RC.44 markup in WordPress DB. Do not double the external Divi heading. */
.wpcf7 .konteners-offer-form > .konteners-offer-form__heading,
.wpcf7 .konteners-offer-form > .konteners-offer-form__description{display:none!important}
.wpcf7 .konteners-offer-form__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:14px;row-gap:12px}
.wpcf7 .konteners-offer-form__field{min-width:0;display:flex;flex-direction:column;gap:0}
/* CF7 AutoP may add br elements to previously saved editor markup. */
.wpcf7 .konteners-offer-form__field br{display:none}
.wpcf7 .konteners-offer-form__field--wide{grid-column:1 / -1}
/* RC.48 — match labels in the real CF7 DOM, including optional p/span wrappers.
   The label owns the exact 8px separation; the parent flex gap is zero. */
.wpcf7 .konteners-offer-form .konteners-offer-form__field :is(label,.konteners-offer-form__label){
  display:block!important;
  color:#26386f!important;
  font:inherit;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.4!important;
  margin:0 0 8px!important;
  padding:0!important;
}
.wpcf7 .konteners-offer-form .konteners-offer-form__label .required{font-weight:700;color:#df4556}
.wpcf7 .konteners-offer-form .wpcf7-form-control-wrap:not(.konteners-cf7-upload){display:block;width:100%}
.wpcf7 .konteners-offer-form :is(input[type='text'],input[type='email'],input[type='tel'],select,textarea){appearance:none;-webkit-appearance:none;width:100%;height:40px;min-height:40px;max-width:100%;margin:0!important;padding:10px 13px;border:1px solid var(--kf-outline);border-radius:2px;background:#fff;color:var(--kf-navy);font:inherit;font-size:12.5px;line-height:1.4;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.wpcf7 .konteners-offer-form :is(input[type='text'],input[type='email'],input[type='tel'],select,textarea)::placeholder{color:#90a1c5;opacity:1}
.wpcf7 .konteners-offer-form :is(input[type='text'],input[type='email'],input[type='tel'],select,textarea):focus-visible{outline:2px solid #618aff;outline-offset:1px;border-color:#618aff}
.wpcf7 .konteners-offer-form :is(input[type='text'],input[type='email'],input[type='tel'],select,textarea).wpcf7-not-valid{border-color:#c82e42}
/* Stronger than the shared input rule above (and Divi input defaults). */
.wpcf7 .konteners-offer-form .konteners-offer-form__field textarea.wpcf7-form-control{height:79px!important;min-height:79px!important;max-height:none;padding-top:12px;resize:vertical;line-height:1.45}
.wpcf7 .konteners-offer-form__select{position:relative;display:block}
.wpcf7 .konteners-offer-form__select::after{content:'';position:absolute;right:16px;top:50%;margin-top:-4px;width:8px;height:8px;border-right:2px solid var(--kf-navy);border-bottom:2px solid var(--kf-navy);transform:rotate(45deg);pointer-events:none}
.wpcf7 .konteners-offer-form select{padding-right:37px;cursor:pointer}
.wpcf7 .konteners-offer-form .wpcf7-not-valid-tip{color:#c3263b;font-size:11px;line-height:1.5;margin:4px 0 0}
/* Horizontal, full-width document bar with one click/keyboard activation target.
   RC.49: preserve a full 24px separation after the message field (including any validation tip). */
.wpcf7 .konteners-offer-form .konteners-cf7-upload:not(.is-enhanced) .konteners-cf7-upload__zone{display:none}
.wpcf7 .konteners-offer-form__attachments{margin-top:24px}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__zone{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;width:100%;gap:16px;min-height:58px;padding:9px 12px 9px 18px;background:#f8fbff;border:1px solid #dce7f7;border-radius:2px}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__zone:hover,.wpcf7 .konteners-offer-form .konteners-cf7-upload__zone:focus-visible{background:#eff6ff;border-color:#2764ff}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__icon{width:24px;height:24px;flex:0 0 24px;color:var(--kf-navy)}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__copy{align-items:flex-start;flex:1;min-width:0;gap:2px}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__copy strong{font-weight:700;color:var(--kf-navy);font-size:11.5px;line-height:1.4}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__copy>span{font-size:11px;color:var(--kf-navy-soft);line-height:1.4}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__action{flex:0 0 auto;background:transparent;border:1px solid #2563ff;border-radius:3px;color:var(--kf-navy);font-size:11px;font-weight:700;line-height:1;padding:12px 23px;white-space:nowrap}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__hint{font-size:10.5px;margin-top:5px;color:#526796}
/* Keep full limits for assistive technology without creating an extra line absent from the design. */
.wpcf7 .konteners-offer-form .konteners-cf7-upload.is-enhanced .konteners-cf7-upload__hint{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__list{margin-top:6px}
.wpcf7 .konteners-offer-form .konteners-cf7-upload.is-fallback .konteners-cf7-upload__input{display:block;width:100%;padding:8px;height:auto;min-height:43px;font-size:12px;border:1px solid var(--kf-outline)}
.wpcf7 .konteners-offer-form__consent{margin-top:20px;font-size:13px;line-height:1.5;color:var(--kf-navy-soft)}
.wpcf7 .konteners-offer-form__consent .wpcf7-list-item-label{font-size:13px;line-height:1.5;color:var(--kf-navy-soft)}
.wpcf7 .konteners-offer-form__consent .wpcf7-list-item{display:block;margin:0}
.wpcf7 .konteners-offer-form__consent .wpcf7-list-item>label{display:flex;align-items:flex-start;gap:9px;cursor:pointer}
.wpcf7 .konteners-offer-form__consent input[type='checkbox']{flex:0 0 16px;width:16px;height:16px;margin:1px 0 0;accent-color:var(--kf-navy);cursor:pointer}
.wpcf7 .konteners-offer-form__consent a{color:var(--kf-navy);text-decoration:underline;text-underline-offset:2px}
.wpcf7 .konteners-offer-form__consent a:focus-visible{outline:2px solid #618aff;outline-offset:2px}
/* Submit arrow is part of the button background, not a positioned pseudo-element. */
.wpcf7 .konteners-offer-form__footer{display:grid;grid-template-columns:minmax(210px,239px) minmax(0,1fr);gap:20px;align-items:center;margin-top:24px}
.wpcf7 .konteners-offer-form__submit-wrap{position:relative;width:100%;height:44px;line-height:0}
.wpcf7 .konteners-offer-form__submit-wrap>p{margin:0;padding:0;line-height:0}
/* RC.48: suppress only CF7's redundant native spinner. Our own submit
   loader still follows the is-sending class and CF7 response events. */
.wpcf7 .konteners-offer-form .wpcf7-spinner,
.wpcf7 .konteners-offer-form .ajax-loader,
.wpcf7:has(.konteners-offer-form) .wpcf7-spinner{
  display:none!important;
  margin:0!important;
  padding:0!important;
  width:0!important;
  height:0!important;
}
.wpcf7 .konteners-offer-form .konteners-offer-form__submit-wrap input[type='submit']{display:block;appearance:none;width:100%;height:44px!important;min-height:44px!important;border:0;border-radius:2px;color:#fff!important;font:inherit;font-size:13px;line-height:1.2;font-weight:700;text-align:center;padding:11px 48px 11px 15px;cursor:pointer;box-shadow:none;filter:none;opacity:1!important;transition:background-color .15s}
.wpcf7 .konteners-offer-form .konteners-offer-form__submit-wrap input[type='submit']{background-color:#ff5512!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='20' viewBox='0 0 22 20'%3E%3Cpath d='M2 10h18m-7-7 7 7-7 7' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),linear-gradient(105deg,#ff5a13,#ff5000)!important;background-repeat:no-repeat,no-repeat;background-position:right 35px center,center;background-size:22px 20px,cover}
.wpcf7 .konteners-offer-form .konteners-offer-form__submit-wrap input[type='submit']:hover{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='20' viewBox='0 0 22 20'%3E%3Cpath d='M2 10h18m-7-7 7 7-7 7' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),linear-gradient(105deg,#e84d0b,#e44800)!important}
.wpcf7 .konteners-offer-form .konteners-offer-form__submit-wrap input[type='submit']:focus-visible{outline:2px solid var(--kf-navy);outline-offset:2px}
/* CF7 disables the button when the required acceptance is unchecked; keep the design color without making it clickable. */
.wpcf7 .konteners-offer-form .konteners-offer-form__submit-wrap input[type='submit']:disabled{opacity:1!important;cursor:not-allowed}
.wpcf7 .konteners-offer-form__response-time{max-width:190px;color:var(--kf-navy-soft);font-size:11.5px;line-height:1.45;margin:0}
.wpcf7:has(.konteners-offer-form) .wpcf7-response-output{margin:13px 0 0;padding:11px 14px;border:1px solid #d5e2f3;color:#182d72;font-size:12px;line-height:1.5}
@media(max-width:767px){.wpcf7 .konteners-offer-form__grid{grid-template-columns:1fr;row-gap:14px}.wpcf7 .konteners-offer-form__field--wide{grid-column:auto}.wpcf7 .konteners-offer-form__footer{grid-template-columns:1fr;gap:20px}.wpcf7 .konteners-offer-form__submit-wrap{max-width:none}.wpcf7 .konteners-offer-form .konteners-cf7-upload__zone{gap:9px;padding:10px}.wpcf7 .konteners-offer-form .konteners-cf7-upload__action{padding:12px 10px}.wpcf7 .konteners-offer-form .konteners-cf7-upload__copy>span{font-size:10px}}
@media(max-width:420px){.wpcf7 .konteners-offer-form .konteners-cf7-upload__zone{flex-wrap:wrap}.wpcf7 .konteners-offer-form .konteners-cf7-upload__copy{flex-basis:calc(100% - 42px)}.wpcf7 .konteners-offer-form .konteners-cf7-upload__action{margin-left:33px;width:calc(100% - 33px);text-align:center}.wpcf7 .konteners-offer-form__footer{margin-top:24px}}
@media(prefers-reduced-motion:reduce){.konteners-cf7-upload__zone,.wpcf7 .konteners-offer-form input[type='submit']{transition:none}}


/* RC.46 rev.2 — strictly scoped visual refinements. No global Divi/CF7 overrides. */
.wpcf7 .konteners-offer-form{
  --kf-radius:6px;
  --kf-error:#d93649;
  --kf-muted:#647a9d;
}
.wpcf7 .konteners-offer-form :is(input[type='text'],input[type='tel'],input[type='email'],select,textarea){
  border-radius:var(--kf-radius)!important;border-color:#d4e0f0;
}
.wpcf7 .konteners-offer-form .konteners-offer-form__field :is(input[type='text'],input[type='tel'],input[type='email'],select,textarea).wpcf7-not-valid{
  border-color:var(--kf-error)!important;
}
.wpcf7 .konteners-offer-form .wpcf7-not-valid-tip{
  font-size:12px;line-height:1.35;color:var(--kf-error);margin-top:4px;
}
.wpcf7 .konteners-offer-form :is(input[type='text'],input[type='tel'],input[type='email'],select,textarea):focus-visible{
  border-color:#3664d8!important;outline:2px solid #8aabfb;outline-offset:1px;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__zone{
  border-radius:var(--kf-radius);transition:border-color .15s,background-color .15s,box-shadow .15s;
}
/* RC.47: remove the extra hover/focus/drag outline introduced by the base
   uploader rule; the 1px border remains unchanged in every pointer state. */
.wpcf7 .konteners-offer-form .konteners-cf7-upload__zone:is(:hover,:focus-visible,.dz-drag-hover){
  background:#eff6ff;border-color:#dce7f7;outline:none;box-shadow:none;
}
/* The zone is the only keyboard target (role=button + tabindex=0).
   Show focus on its visible action instead of drawing a second ring around
   the entire upload container. This intentionally preserves keyboard focus. */
.wpcf7 .konteners-offer-form .konteners-cf7-upload__zone:focus-visible .konteners-cf7-upload__action{
  outline:2px solid #26386f;outline-offset:3px;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__zone.dz-drag-hover{
  background:#edf5fd;box-shadow:none;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__action{
  border-radius:var(--kf-radius);
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__list{
  display:flex;flex-direction:column;gap:8px;margin-top:8px;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__list:empty{display:none}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__item{
  display:flex;align-items:center;justify-content:flex-start;gap:11px;
  width:100%;min-width:0;padding:10px 12px;
  background:#f8fbff;border:1px solid #d4e0f0;border-radius:var(--kf-radius);
  text-align:left;color:var(--kf-navy);font-size:12px;line-height:1.35;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__file-icon{
  flex:0 0 38px;display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:var(--kf-radius);
  background:#e8f0ff;color:#254f9d;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__file-icon--pdf{
  background:#fff0f1;color:#b92f40;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__file-icon--other{
  background:#f0f2f6;color:#53657e;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__material-icon{
  display:block;width:23px;height:23px;flex:none;
}

.wpcf7 .konteners-offer-form .konteners-cf7-upload__file-content{
  flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__filename{
  display:block;min-width:0;max-width:100%;color:var(--kf-navy);
  font-size:12px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__meta{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__file-size{
  color:var(--kf-muted);font-size:11px;font-weight:400;white-space:nowrap;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__badge{
  display:inline-flex;align-items:center;gap:5px;max-width:100%;white-space:nowrap;
  border-radius:4px;padding:3px 8px;min-height:20px;
  font-size:10px;line-height:1.15;font-weight:700;border:1px solid transparent;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__badge--ready,
.wpcf7 .konteners-offer-form .konteners-cf7-upload__badge--sent{
  color:#1a6b45;background:#eaf7ef;border-color:#c8ecd9;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__badge--sending{
  color:#28539b;background:#eaf1ff;border-color:#cddfff;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__badge--sending::before{
  content:'';height:9px;width:9px;flex:0 0 9px;border-radius:50%;
  border:1.5px solid #6689cc;border-top-color:transparent;
  animation:konteners-cf7-spin .8s linear infinite;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__badge--error{
  color:#b1253c;background:#fff0f2;border-color:#ffd0d8;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__problem{
  color:#ad263d;font-size:11px;line-height:1.4;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__remove{
  flex:0 0 30px;display:grid;place-items:center;
  width:30px;height:30px;margin:0;padding:0;
  border-radius:var(--kf-radius);background:transparent;border:1px solid transparent;
  color:#496184;text-decoration:none;cursor:pointer;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__remove:hover{
  background:#e8f0ff;border-color:#c8d9ef;color:#0c236b;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__remove:focus-visible{
  outline:2px solid #3664d8;outline-offset:1px;
}
.wpcf7 .konteners-offer-form .konteners-cf7-upload__remove .konteners-cf7-upload__material-icon{
  width:19px;height:19px;
}

.wpcf7 .konteners-offer-form .konteners-cf7-upload__live-status{
  position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);
  clip-path:inset(50%);margin:-1px;padding:0;border:0;overflow:hidden;white-space:nowrap;
}
.wpcf7 .konteners-offer-form .konteners-offer-form__consent input[type='checkbox']{border-radius:3px}
.wpcf7 .konteners-offer-form .konteners-offer-form__submit-wrap input[type='submit']{
  border-radius:var(--kf-radius)!important;
}
.wpcf7 .konteners-offer-form.is-sending .konteners-offer-form__submit-wrap input[type='submit']{
  background-image:linear-gradient(105deg,#ff5a13,#ff5000)!important;
  pointer-events:none;cursor:wait;
}
.wpcf7 .konteners-offer-form.is-sending .konteners-offer-form__submit-wrap::after{
  content:'';position:absolute;right:32px;top:14px;width:16px;height:16px;
  border:2px solid rgba(255,255,255,.6);border-top-color:#fff;border-radius:50%;
  animation:konteners-cf7-spin .8s linear infinite;pointer-events:none;
}
@keyframes konteners-cf7-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){
  .wpcf7 .konteners-offer-form .konteners-cf7-upload__item{gap:8px;padding:9px}
  .wpcf7 .konteners-offer-form .konteners-cf7-upload__file-icon{width:34px;height:34px;flex-basis:34px}
  .wpcf7 .konteners-offer-form .konteners-cf7-upload__filename{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
  }
}
@media(prefers-reduced-motion:reduce){
  .wpcf7 .konteners-offer-form .konteners-cf7-upload__badge--sending::before,
  .wpcf7 .konteners-offer-form.is-sending .konteners-offer-form__submit-wrap::after{animation:none}
}

/* Native-file fallback keeps the same 6px visual contract. */
.wpcf7 .konteners-offer-form .konteners-cf7-upload.is-fallback .konteners-cf7-upload__input{border-radius:6px}
