/* ===========================
   AC Newsletter – baza (COMPACT)
   =========================== */

.ac-nf-scope .ac-nf-form{position:relative;font-family:inherit;width:100%;max-width:860px;}
.ac-nf-scope .ac-nf-row{display:flex;align-items:center;gap:10px;}

/* INPUT + ikona dla COMPACT */
.ac-nf-scope .ac-nf-input-wrap{position:relative;flex:1;}
.ac-nf-scope .ac-nf-input{
  width:100%;
  font-size:var(--theme-font-input_font-size);
  font-weight:var(--theme-font-input_font-weight);
  font-style:var(--theme-font-input_font-style);
  line-height:var(--theme-font-input_line-height);
  letter-spacing:var(--theme-font-input_letter-spacing);
  color:var(--theme-color-input_text);
  border:none;
  border-bottom:1px solid var(--theme-color-text_dark);
  background-color:var(--theme-color-input_bg_color);
  padding:10px 35px 10px 27px;    /* padding pod ikonę z lewej */
  height:50px; outline:none; box-shadow:none; transition:all .3s ease;
}
.ac-nf-scope .ac-nf-input:focus,
.ac-nf-scope .ac-nf-input:hover{color:var(--theme-color-text_dark);border-color:var(--theme-color-text_dark);}

/* Ikona (fontello) – TYLKO COMPACT */
.ac-nf-scope .ac-nf-input-wrap::before{
  content:'\e9a3'; font-family:"fontello"; font-size:14px;
  position:absolute; top:11px; left:0; color:var(--theme-color-text);
  width:1.5em; height:2em; line-height:2em;
}

/* PRZYCISK (wspólny) */
.ac-nf-scope .ac-nf-btn{
  border:none;border-radius:28px;padding:14px 28px;cursor:pointer;font-weight:600;
  color:#fff;background-color:#002d62;display:inline-flex;align-items:center;justify-content:center;
  transition:all .3s ease;
}
.ac-nf-scope .ac-nf-btn:hover{background-color:#142895;}
.ac-nf-scope .ac-nf-icon{margin-right:6px;font-size:15px;} /* używane tylko gdy wstawisz ikonę */

/* CHECKBOX + komunikaty */
.ac-nf-scope .ac-nf-privacy{position:relative;display:flex;align-items:center;gap:10px;font-size:14px;margin-top:12px;color:var(--theme-color-text);cursor:pointer;}
.ac-nf-scope .ac-nf-privacy input[type="checkbox"]{clip:rect(1px,1px,1px,1px);position:absolute !important;margin:0 !important;padding:0 !important;}
.ac-nf-scope .ac-nf-privacy input[type="checkbox"] + span::before{
  content:' ';font-family:"fontello";display:inline-block;width:16px;height:16px;line-height:15px;
  border:1px solid var(--theme-color-bd_color);border-radius:4px;background-color:var(--theme-color-alter_bg_color);
  color:var(--theme-color-text_dark);box-sizing:border-box;text-align:center;margin-right:6px;transition:all .3s ease;font-size:7px;flex-shrink:0;
}
.ac-nf-scope .ac-nf-privacy input[type="checkbox"]:checked + span::before{content:'\e9f6';font-size:7px;}
.ac-nf-scope .ac-nf-privacy a{color:inherit;border-bottom:1px solid var(--theme-color-text);transition:all .3s ease;}
.ac-nf-scope .ac-nf-privacy a:hover{color:var(--theme-color-text_dark);border-color:var(--theme-color-text_dark);}

.ac-nf-scope .ac-nf-msg{margin-top:10px;font-size:14px;}
.ac-nf-scope .ac-nf-msg.ok{color:#16a34a;} .ac-nf-scope .ac-nf-msg.err{color:#dc2626;}

@media (max-width:640px){
  .ac-nf-scope .ac-nf-row{flex-direction:column;align-items:stretch;}
  .ac-nf-scope .ac-nf-btn{width:100%;}
}

/* ===========================
   WIDE – nadpisania (BEZ IKONY)
   =========================== */

.ac-newsletter-wide .ac-nf-row{display:flex;align-items:center;gap:16px;width:100%;}

/* Usuń ikonę i skoryguj padding */
.ac-newsletter-wide .ac-nf-input-wrap::before{content:none;}
.ac-newsletter-wide .ac-nf-input{
  height:56px !important;
  padding:0 22px !important;          /* bez miejsca na ikonę */
  border:none !important;              /* bez dolnej kreski */
  border-radius:9999px !important;     /* pigułka */
  background:var(--theme-color-alter_bg_color,#fff) !important;
  box-shadow:0 6px 28px rgba(0,0,0,.08) !important;
  font-size:16px; line-height:22px;
}

/* Przycisk – pigułka, bez ikony */
.ac-newsletter-wide .ac-nf-btn{
  height:56px !important; padding:0 26px !important; border:none !important;
  border-radius:9999px !important; color:#fff !important;
  background:var(--theme-color_text_link,#0b2a59) !important;
  font-weight:600; white-space:nowrap; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow:0 6px 24px rgba(0,0,0,.12);
  transition:transform .12s ease, box-shadow .12s ease;
}
.ac-newsletter-wide .ac-nf-btn:hover{box-shadow:0 10px 28px rgba(0,0,0,.18);}
.ac-newsletter-wide .ac-nf-btn:active{transform:translateY(0);box-shadow:0 4px 18px rgba(0,0,0,.14);}

@media (max-width:640px){
  .ac-newsletter-wide .ac-nf-row{flex-direction:column;gap:12px;}
  .ac-newsletter-wide .ac-nf-btn{width:100%;}
}
