/*
 * SB Nalog, prijava (0.2.0): strana za prijavu (jedan okvir), red „Već ste kupovali?“ u „Kontaktu“ i blok na strani
 * posle porudžbine. Boje i slova kao SB Checkout (zelena #577F72, bež #F7F1EB, tekst #222222 / #4A443F / #6B635C,
 * polja samo sa donjom linijom #9C938B, dugmad pill). Telefon prvo; slova najmanje 15 px.
 */

/* ---------- Zajedničko: polje, dugme, poruka ---------- */
.sbnl-lbl { display: block; margin: 0 0 2px; font-size: 16px; line-height: 1.35; color: #4A443F; }
.sbnl-line { display: flex; align-items: flex-end; gap: 12px; }
.sbnl-line input[type="email"],
.sbnl-line input[type="text"] {
    flex: 1 1 auto; min-width: 0; box-sizing: border-box; height: 46px; min-height: 46px; margin: 0; padding: 0 !important;
    border: 0 !important; border-bottom: 1px solid #9C938B !important; border-radius: 0 !important; background: transparent !important;
    box-shadow: none !important; outline: none; font-size: 18px !important; line-height: 1.3; color: #222222;
}
.sbnl-line input:focus,
.sbnl-login .sbnl-line input[type="text"]:focus,
.sbnl-login .sbnl-line input[type="email"]:focus {
    border: 0 !important; border-bottom: 1px solid #577F72 !important; outline: none !important; box-shadow: inset 0 -1px 0 #577F72 !important;
}
.sbnl-line input.sbnl-code { letter-spacing: 4px; }
.sbnl-btn,
.sbnl-auth .woocommerce-form-login button.sbnl-btn {
    display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 auto; box-sizing: border-box; height: auto !important;
    min-height: 46px; margin: 0 !important; padding: 8px 20px !important; border: 1px solid #577F72 !important; border-radius: 999px !important;
    background: #577F72 !important; box-shadow: none !important; color: #FFFFFF !important;
    font-family: "futura medium bt", "futura light bt", sans-serif !important; font-size: 15px !important; font-weight: 400 !important;
    line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap; cursor: pointer;
}
.sbnl-btn:hover { background: #4A6E62 !important; border-color: #4A6E62 !important; }
.sbnl-btn:disabled { opacity: .7; cursor: default; }
.sbnl-btn:focus-visible { outline: 2px solid #577F72; outline-offset: 2px; }
.sbnl-link {
    display: inline-block; margin: 12px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important;
    font-size: 15px !important; line-height: 1.4; color: #3F6157 !important; text-decoration: underline; text-decoration-color: #95B8A2;
    text-underline-offset: 4px; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; min-height: 0 !important; height: auto !important;
}
.sbnl-msg { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: #3F6157; }
.sbnl-msg:empty { display: none; }
.sbnl-msg.is-err { color: #8E1F36; }
.sbnl-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 15px; color: #6B635C; }
.sbnl-or::before, .sbnl-or::after { content: ""; flex: 1 1 auto; height: 1px; background: #E2D8CE; }
.sbnl-g { min-height: 44px; }
/* Google crta iframe 20 px širi od dugmeta (margine -10 px levo i desno); tema ograničava iframe na širinu roditelja, pa bi
   desni kraj dugmeta bio odsečen (proba sa pravim Client ID-em 22.11.) */
.sbnl-g iframe { max-width: none !important; }
.sbnl-step-code { margin-top: 16px; }
.sbnl-step-code[hidden] { display: none !important; }

/* ---------- Strana za prijavu: jedan okvir na sredini ---------- */
.sbnl-auth { box-sizing: border-box; max-width: 460px; margin: 8px auto 48px; padding: 28px 20px 24px; border-radius: 14px; background: #F7F1EB; color: #222222; }
.woocommerce .sbnl-auth h2.sbnl-auth-h,
.sbnl-auth h2.sbnl-auth-h {
    margin: 0 0 8px; padding: 0; border: 0; font-family: "futura medium bt", "futura light bt", sans-serif; font-size: 24px; font-weight: 400;
    line-height: 1.25; letter-spacing: 0; text-transform: none; color: #222222; text-align: left;
}
.sbnl-auth .sbnl-auth-lead,
.sbnl-auth .sbnl-sent { margin: 0 0 20px; font-size: 16px; line-height: 1.5; color: #4A443F; }
.sbnl-auth .sbnl-form { margin: 0; }
.sbnl-auth .sbnl-auth-h + .sbnl-login { margin-top: 18px; } /* Google odmah ispod naslova (0.3.3) */
.sbnl-auth .sbnl-btn-wide { width: 100%; }
.sbnl-auth details.sbnl-pass { margin: 28px 0 0; padding: 16px 0 0; border-top: 1px solid #E2D8CE; }
.sbnl-auth details.sbnl-pass > summary { cursor: pointer; font-size: 16px; color: #3F6157; text-decoration: underline; text-decoration-color: #95B8A2; text-underline-offset: 4px; list-style: none; }
.sbnl-auth details.sbnl-pass > summary::-webkit-details-marker { display: none; }
.sbnl-auth details.sbnl-pass[open] > summary { margin-bottom: 12px; }
.sbnl-auth .woocommerce-form-login { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.sbnl-auth .woocommerce-form-login .form-row { margin: 0 0 16px !important; padding: 0 !important; }
.sbnl-auth .woocommerce-form-login label { display: block; margin: 0 0 2px; font-size: 16px; color: #4A443F; text-transform: none; letter-spacing: 0; }
.sbnl-auth .woocommerce-form-login input.input-text {
    box-sizing: border-box; width: 100%; height: 46px; padding: 0 !important; border: 0 !important; border-bottom: 1px solid #9C938B !important;
    border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 18px !important; color: #222222;
}
.sbnl-auth .sbnl-pass-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.sbnl-auth .sbnl-pass-row label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; }
.sbnl-auth .sbnl-lost { margin: 0; font-size: 15px; }
.sbnl-auth .sbnl-lost a { color: #3F6157; text-decoration: underline; text-decoration-color: #95B8A2; text-underline-offset: 4px; }
@media (min-width: 768px) {
    .sbnl-auth { padding: 36px 36px 30px; margin-top: 24px; }
}

/* ---------- Checkout: red „Već ste kupovali?“ na vrhu „Kontakta“ ---------- */
.sbnl-co { margin: 0 0 28px; padding: 16px 16px 18px; border-radius: 14px; background: #F7F1EB; color: #222222; }
.sbnl-co:not(.is-placed) { display: none; } /* dok skripta ne nađe „Kontakt“ (bez skripte se ne vidi) */
.sbnl-co .sbnl-co-q { margin: 0 0 12px; font-size: 16px; line-height: 1.5; color: #4A443F; }
.sbnl-co .sbnl-co-q b { font-family: "futura medium bt", "futura light bt", sans-serif; font-weight: 400; color: #222222; }
.sbnl-co .sbnl-or { margin: 14px 0; }
/* skupljen (0.3.0): jedan red, forma tek na dodir */
.sbnl-co.is-closed { padding: 0; }
.sbnl-co button.sbnl-co-toggle {
    display: block !important; width: 100% !important; min-height: 48px; margin: 0 !important; padding: 13px 16px !important; box-sizing: border-box;
    border: 0 !important; border-radius: 14px !important; background: transparent !important; box-shadow: none !important; text-align: left !important;
    font-family: "futura light bt", sans-serif !important; font-size: 16px !important; font-weight: 400 !important; line-height: 1.4 !important;
    letter-spacing: 0 !important; text-transform: none !important; color: #4A443F !important; cursor: pointer;
}
.sbnl-co button.sbnl-co-toggle b { font-family: "futura medium bt", "futura light bt", sans-serif; font-weight: 400; color: #222222; }
.sbnl-co .sbnl-co-cta { color: #577F72; text-decoration: underline; text-underline-offset: 3px; }
.sbnl-co button.sbnl-co-toggle:focus-visible { outline: 2px solid #577F72 !important; outline-offset: 2px; }
.sbnl-co:not(.is-closed) button.sbnl-co-toggle { display: none !important; }

/* ---------- Strana posle porudžbine ---------- */
.sbnl-ty { margin: 24px 0 32px; padding: 20px 22px; border-radius: 14px; background: #F7F1EB; color: #222222; }
.woocommerce .sbnl-ty h2.sbnl-ty-h,
.sbnl-ty h2.sbnl-ty-h {
    margin: 0 0 10px; padding: 0; border: 0; font-family: "futura medium bt", "futura light bt", sans-serif; font-size: 22px; font-weight: 400;
    line-height: 1.25; text-transform: none; color: #222222;
}
.sbnl-ty p { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: #4A443F; }
.sbnl-ty .sbnl-ty-form { margin: 0 0 12px; }
.sbnl-ty .sbnl-ty-note { margin: 0; font-size: 15px; color: #6B635C; }
.sbnl-ty p.sbnl-code-lead { margin: 0 0 10px; }
@media (max-width: 767px) {
    .sbnl-ty { margin: 20px 0 28px; padding: 18px 16px; }
    .woocommerce .sbnl-ty h2.sbnl-ty-h, .sbnl-ty h2.sbnl-ty-h { font-size: 20px; }
    .sbnl-line { flex-wrap: wrap; }
    .sbnl-line input[type="email"], .sbnl-line input[type="text"] { flex-basis: 100%; }
    .sbnl-line .sbnl-btn { width: 100%; }
}
