/* Eurokontrola / Online Nalog — boje i fontovi naslijeđeni iz aktivne UiCore/Elementor teme. */
.ekf {
  --ek-primary: var(--e-global-color-uicore_primary, #30348e);
  --ek-head: var(--e-global-color-uicore_headline, #20243c);
  --ek-body: var(--e-global-color-uicore_body, #585d70);
  --ek-sky: #268bc6;
  --ek-rule: #dde0eb;
  --ek-muted: #f5f7fb;
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(26px, 3.1vw, 42px);
  border-radius: 16px;
  border: 1px solid #e4e6ee;
  background: #fff;
  box-shadow: 0 19px 58px rgba(29,38,87,.055);
  color: var(--ek-head);
  font-family: inherit;
  line-height: 1.5;
  box-sizing: border-box;
  scroll-margin-top: 110px;
}
.ekf *, .ekf *::before, .ekf *::after { box-sizing: border-box; }
.ekf [hidden] { display: none !important; }
.ekf button, .ekf input, .ekf select, .ekf textarea { font: inherit; }
.ekf i { color: var(--ek-primary); font-style: normal; }
.ekf .ekf-topline { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.ekf .ekf-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .17em; color: var(--ek-primary); }
.ekf .ekf-dot { color: #a9a9b3; padding: 0 5px; }
.ekf .ekf-steps-counter { color: #8b8fa1; font-size: 10px; font-weight: 600; letter-spacing: .1em; white-space: nowrap; }
.ekf .ekf-steps-counter b { color: var(--ek-primary); font-size: 12px; font-weight: 700; }
.ekf .ekf-progress { height: 3px; width: 100%; background: #eceef5; margin-bottom: 29px; overflow: hidden; border-radius: 10px; }
.ekf .ekf-progress span { display: block; width: 33.333%; height: 100%; background: var(--ek-primary); transition: width .35s ease; }
.ekf .ekf-section-title { display: flex; gap: 17px; align-items: flex-start; margin-bottom: 30px; }
.ekf .ekf-section-title > span { color: #2e3192; font-size: 14px; font-weight: 700; line-height: 1.65; }
.ekf .ekf-section-title h3 { font-size: clamp(23px,2.5vw,28px); font-weight: 700; color: var(--ek-head); line-height: 1.17; letter-spacing: -.037em; margin: 0 0 7px; }
.ekf .ekf-section-title p { margin: 0; color: var(--ek-body); font-size: 13px; }
.ekf .ekf-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 26px; row-gap: 22px; }
.ekf .ekf-field { position: relative; min-width: 0; }
.ekf .ekf-wide { grid-column: 1 / -1; }
.ekf .ekf-field label, .ekf .ekf-group-label { display: block; font-size: 12px; letter-spacing: .015em; font-weight: 600; color: var(--ek-head); margin: 0 0 6px; }
.ekf .ekf-field input:not([type="checkbox"]), .ekf .ekf-field select, .ekf .ekf-field textarea {
  display: block; width: 100%; min-width: 0; padding: 10px 22px 11px 0 !important;
  appearance: none; -webkit-appearance: none;
  border: 0 !important; border-bottom: 1.5px solid #cdd1dd !important; border-radius: 0 !important;
  background: transparent !important; color: var(--ek-head) !important;
  outline: none; box-shadow: none !important;
  font-size: 14px; font-weight: 450; line-height: 1.45;
  transition: border-color .18s ease; height: auto;
}
.ekf .ekf-field input::placeholder, .ekf .ekf-field textarea::placeholder { color: #a1a6b7; opacity: 1; }
.ekf .ekf-field input:focus, .ekf .ekf-field select:focus, .ekf .ekf-field textarea:focus { border-bottom-color: var(--ek-primary) !important; }
.ekf .ekf-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23666a80' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-repeat:no-repeat !important; background-position:right 6px center !important; cursor: pointer; }
.ekf .ekf-field textarea { resize: vertical; min-height: 64px; }
.ekf .ekf-field input[type="date"], .ekf .ekf-field input[type="time"] { color-scheme: light; }
.ekf .ekf-group-label { margin-top: 29px; margin-bottom: 11px; }
.ekf .ekf-choice-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.ekf .ekf-choice { position: relative; display: flex; align-items: center; gap: 12px; border: 1.5px solid #e0e2ee; border-radius: 10px; padding: 16px 13px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; margin:0; }
.ekf .ekf-choice:hover { border-color: var(--ek-primary); }
.ekf .ekf-choice:has(input:checked) { border-color: var(--ek-primary); background: #f4f5fc; box-shadow: 0 0 0 1px var(--ek-primary) inset; }
.ekf .ekf-choice input { position: absolute; inset: 0; width: 100%; height:100%; opacity: 0; cursor: pointer; margin:0; }
.ekf .ekf-choice:has(input:focus-visible) { outline: 3px solid #8db8e9; outline-offset: 3px; }
.ekf .ekf-choice-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; background: #f0f3fa; color: var(--ek-primary); border-radius: 7px; font-size: 20px; }
.ekf .ekf-choice b { display: block; color: var(--ek-head); font-size: 13px; line-height: 1.3; font-weight: 700; }
.ekf .ekf-choice small { display:block; color: #797f92; font-size: 10px; font-weight: 450; margin-top: 4px; }
.ekf .ekf-radio-dot { display: block; width: 13px; height: 13px; flex: 0 0 13px; border: 1.6px solid #bec4d5; border-radius: 50%; margin-left: auto; position: relative; }
.ekf .ekf-choice:has(input:checked) .ekf-radio-dot { border-color: var(--ek-primary); }
.ekf .ekf-choice:has(input:checked) .ekf-radio-dot:after { content:''; position:absolute; inset:2.5px; border-radius:50%; background:var(--ek-primary); }
.ekf .ekf-divider { border-top: 1px solid var(--ek-rule); margin-top: 29px; }
.ekf .ekf-divider + .ekf-group-label { margin-top: 23px; }
.ekf .ekf-note { background: #f1f4fa; display:flex; align-items:flex-start; gap: 12px; padding: 14px 16px; border-left: 3px solid var(--ek-primary); margin-top:25px; border-radius: 0 6px 6px 0; }
.ekf .ekf-note > span { color:var(--ek-primary); font-size: 17px; font-weight: 700; }
.ekf .ekf-note p { margin:0; color:#555e77; font-size: 12px; line-height:1.6; }
.ekf .ekf-note strong { color:var(--ek-head); }
.ekf .ekf-confirm { display:grid; gap:12px; margin-top:25px; }
.ekf .ekf-confirm label { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; line-height: 1.55; color:#51596d; cursor:pointer; }
.ekf .ekf-confirm input[type="checkbox"] { appearance: auto; -webkit-appearance:checkbox; margin: 2px 0 0; min-width: 17px; width: 17px; height: 17px; accent-color:var(--ek-primary); }
.ekf .ekf-confirm a { color:var(--ek-primary); font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.ekf .ekf-actions { display: flex; align-items: center; justify-content:flex-end; gap: 12px; margin-top: 32px; padding-top:23px; border-top:1px solid #e8eaf1; }
.ekf .ekf-required { font-size:11px; color:#8990a0; margin-right:auto; }
.ekf button.ekf-prev { cursor: pointer; color:var(--ek-head); background:transparent !important; border:0 !important; box-shadow:none !important; padding:12px 5px !important; font-size:13px; font-weight:600; }
.ekf button.ekf-prev span { padding-right:5px; }
.ekf button.ekf-primary { cursor: pointer; border: 1px solid var(--ek-primary) !important; border-radius: 7px !important; background:var(--ek-primary) !important; color: white !important; padding: 13px 19px !important; display:flex; align-items:center; justify-content:space-between; gap: 30px; font-size: 13px; font-weight:700; line-height:1.3; box-shadow:none !important; transition: transform .2s, box-shadow .2s, opacity .2s; white-space:nowrap; }
.ekf button.ekf-primary:hover { transform:translateY(-2px); box-shadow:0 10px 22px rgba(46,50,139,.18) !important; }
.ekf button.ekf-primary:disabled { cursor:wait; opacity:.65; transform:none; }
.ekf .ekf-hp { position:absolute; left:-10000px; width:1px; height:1px; opacity:0; }
.ekf .ekf-error { padding: 12px 14px; background:#fff0f0; color:#a52c38; font-size:12px; border-radius:7px; margin-top:18px; }
.ekf .ekf-success { padding:52px 10px; text-align:center; }
.ekf .ekf-success-mark { display:grid; place-items:center; width:64px;height:64px; margin:0 auto 22px; background:#eff1fc; color:var(--ek-primary);font-size:32px; border-radius:50%; }
.ekf .ekf-success h3 { font-size:clamp(25px,3vw,35px); color:var(--ek-primary); margin:12px 0; }
.ekf .ekf-success p:not(.ekf-eyebrow) { color:var(--ek-body); line-height:1.65; max-width:410px; margin:0 auto 25px; font-size:14px; }
.ekf .ekf-success button { border:1px solid var(--ek-primary); background:transparent; color:var(--ek-primary); padding:10px 20px; border-radius:5px; cursor:pointer; }
.ekf-admin-alert { background:#fff2dc; border-left:4px solid #b67a22; padding:12px; font-size:13px; }
@media (max-width: 1100px) {
  .ekf { padding: 26px; }
  .ekf .ekf-choice { padding:13px 10px; gap:8px; }
  .ekf .ekf-choice-icon { width:30px; height:30px; flex-basis:30px; }
  .ekf .ekf-grid { column-gap:15px; }
}
@media (max-width: 767px) {
  .ekf { padding: 22px 18px; border-radius:12px; }
  .ekf .ekf-section-title { margin-bottom:22px; }
  .ekf .ekf-grid { grid-template-columns:1fr; row-gap:16px; }
  .ekf .ekf-wide { grid-column:auto; }
  .ekf .ekf-choice-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .ekf .ekf-choice { padding:12px 9px; }
  .ekf .ekf-choice-icon, .ekf .ekf-choice small { display:none; }
  .ekf .ekf-choice b { font-size:12px; }
  .ekf .ekf-actions { gap:8px; flex-wrap:wrap; }
  .ekf .ekf-required { flex:1 0 100%; }
  .ekf button.ekf-primary { flex-grow:1; }
}
@media (prefers-reduced-motion: reduce) {
  .ekf *, .ekf *::before, .ekf *::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; }
}

/* v1.1 — larger typography, accessible touch targets and comfortable mobile reading. */
.ekf { -webkit-text-size-adjust:100%; }
.ekf .ekf-eyebrow, .ekf .ekf-steps-counter { font-size:12px; letter-spacing:.095em; }
.ekf .ekf-steps-counter b { font-size:14px; }
.ekf .ekf-section-title h3 { font-size:28px; line-height:1.2; }
.ekf .ekf-section-title p { font-size:15px; line-height:1.65; }
.ekf .ekf-field label, .ekf .ekf-group-label { font-size:15px; margin-bottom:7px; }
.ekf .ekf-field input:not([type="checkbox"]),
.ekf .ekf-field select, .ekf .ekf-field textarea {
    font-size:16px !important; line-height:1.45; padding:13px 22px 13px 0 !important;
    min-height:48px; border-bottom-width:2px !important;
}
.ekf .ekf-field textarea { min-height:84px; }
.ekf .ekf-choice { min-height:72px; padding:15px 14px; }
.ekf .ekf-choice b { font-size:16px; }
.ekf .ekf-choice small { font-size:13px; line-height:1.4; }
.ekf .ekf-choice-icon { font-size:24px; }
.ekf .ekf-note p, .ekf .ekf-confirm label { font-size:14px; line-height:1.65; }
.ekf .ekf-required { font-size:13px; }
.ekf button.ekf-prev { min-height:48px; font-size:15px; }
.ekf button.ekf-primary { min-height:50px; font-size:16px; padding:13px 20px !important; }
.ekf .ekf-error { font-size:14px; line-height:1.55; }
.ekf .ekf-success p:not(.ekf-eyebrow) { font-size:16px; }
.ekf .ekf-success button { min-height:48px; font-size:15px; }
.ekf :is(input, textarea, select, button):focus-visible { outline:3px solid #7aa1ea; outline-offset:3px; }
@media (max-width:767px) {
  .ekf { padding:24px 18px; scroll-margin-top:70px; }
  .ekf .ekf-topline { flex-wrap:wrap; gap:8px; }
  .ekf .ekf-eyebrow { font-size:11px; }
  .ekf .ekf-steps-counter { font-size:11px; }
  .ekf .ekf-section-title { gap:12px; }
  .ekf .ekf-section-title h3 { font-size:23px; }
  .ekf .ekf-section-title p { font-size:15px; }
  .ekf .ekf-grid { gap:18px; }
  .ekf .ekf-field label { font-size:15px; }
  .ekf .ekf-choice-grid { grid-template-columns:1fr; gap:10px; }
  .ekf .ekf-choice { min-height:62px; padding:15px; }
  .ekf .ekf-choice-icon { display:grid; }
  .ekf .ekf-choice small { display:block; font-size:12px; }
  .ekf .ekf-choice b { font-size:16px; }
  .ekf .ekf-note { padding:15px; }
  .ekf .ekf-actions { margin-top:24px; padding-top:20px; }
  .ekf button.ekf-primary { flex-grow:1; }
}
@media (max-width:380px) {
  .ekf { padding:20px 14px; }
  .ekf .ekf-section-title h3 { font-size:21px; }
  .ekf .ekf-choice-icon { flex-basis:32px; width:32px; height:32px; }
  .ekf .ekf-actions { gap:6px; }
  .ekf button.ekf-primary { width:100%; justify-content:center; }
}
/* Imported Elementor section: help copy stays editable in Elementor; mobile first. */
.ek-nalog-elementor-sekcija .elementor-heading-title,
.ek-nalog-elementor-sekcija .uicore-highlighted-text {
  overflow-wrap:break-word;
}
@media(max-width:767px) {
  /*.ek-nalog-elementor-sekcija .ek-nalog-steps-mobile-collapse {display:none !important;}
  .ek-nalog-elementor-sekcija .elementor-widget-container { overflow-wrap:anywhere; }*/
}

/* v1.2 — exact brand blue for step numbers, editable logo visibility. */
.ekf .ekf-section-title > span, .ekf .ekf-steps-counter b { color: #2e3192 !important; font-weight:700; }
.ekf .ekf-eyebrow { font-weight:700 !important; }
.ekf .ekf-field label, .ekf .ekf-group-label { font-weight:600 !important; }
.ek-nalog-elementor-sekcija .ek-nalog-brand-logo img { max-width:100%; height:auto; }
@media(max-width:767px) {
  .ek-nalog-elementor-sekcija .ek-nalog-brand-logo img { max-width:85px; }
  .ek-nalog-elementor-sekcija .ek-nalog-brand-logo { max-width:90px; }
}

/* v1.2 — unified, Croatian localized date/time pickers (JavaScript enhancement). */
.ekf .ekf-field input[data-ek-source="1"] { display:none !important; }
.ekf .ekf-picker-trigger { display:block; position:relative; min-width:0; }
.ekf .ekf-picker-trigger input.ekf-picker-display { cursor:pointer; padding-right:38px !important; }
.ekf .ekf-picker-trigger .ekf-picker-input-icon {
  position:absolute; right:5px; top:50%; transform:translateY(-50%);
  display:grid;place-items:center;width:30px;height:38px;font-size:23px;
  color:#2e3192;cursor:pointer;pointer-events:auto;user-select:none;
}
.ekf .ekf-picker-display:focus-visible { outline:3px solid #8298dc; outline-offset:3px; }
.ekf-picker-backdrop { position:fixed;inset:0;background:transparent;z-index:999998; }
.ekf-picker-popover { position:fixed;z-index:999999; width:340px;max-width:calc(100vw - 24px);
  box-sizing:border-box;background:#fff;border:1px solid #e1e4ef;border-radius:14px;padding:17px;
  color:#262a3d;font-family:inherit;box-shadow:0 24px 65px rgba(22,34,76,.20); }
.ekf-picker-popover * { box-sizing:border-box; }
.ekf-picker-head { display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px; }
.ekf-picker-month { font-size:16px;font-weight:700;text-transform:capitalize;line-height:1.3; }
.ekf-picker-nav { border:1px solid #e2e5ef;background:#fff;color:#2e3192;width:40px;height:40px;
  border-radius:8px;cursor:pointer;font-size:27px;line-height:1;display:grid;place-items:center;padding:0; }
.ekf-picker-nav:hover, .ekf-picker-nav:focus-visible { background:#f2f3fd;border-color:#2e3192; }
.ekf-picker-weekdays,.ekf-picker-days { display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px; }
.ekf-picker-weekdays { margin-bottom:6px; }
.ekf-picker-weekdays span { text-align:center;font-size:11px;font-weight:700;color:#858b9d;padding:5px 0; }
.ekf-picker-day { width:100%;height:40px;display:grid;place-items:center;border:1px solid transparent;
  border-radius:7px;background:transparent;color:#30354a;font-family:inherit;font-size:13px;font-weight:600;line-height:1;cursor:pointer;padding:0; }
.ekf-picker-day.is-other-month {color:#9da3b0;}
.ekf-picker-day.is-today {border-color:#959bdd;color:#2e3192;}
.ekf-picker-day.is-selected {background:#2e3192;color:#fff;}
.ekf-picker-day:disabled {color:#c8cad1;cursor:not-allowed;text-decoration:line-through;opacity:.8;}
.ekf-picker-day:not(:disabled):hover,.ekf-picker-day:focus-visible {background:#e9ecfb;color:#2e3192;outline:2px solid #2e3192;outline-offset:-2px;}
.ekf-picker-day.is-selected:hover {background:#2e3192;color:#fff;}
.ekf-picker-foot {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:13px;border-top:1px solid #e8e9f2;}
.ekf-picker-foot button { border:0;border-radius:7px;background:#f1f2fa;color:#2e3192;cursor:pointer;
  min-height:43px;padding:9px 15px;font-size:13px;font-weight:700; }
.ekf-picker-foot .ekf-picker-confirm {background:#2e3192;color:#fff;}
.ekf-picker-foot button:hover,.ekf-picker-foot button:focus-visible {outline:2px solid #2e3192;outline-offset:2px;}
.ekf-time-hint {font-size:14px;color:#747b8d;line-height:1.5;margin:0 0 16px;}
.ekf-time-columns {display:flex;align-items:center;justify-content:center;gap:14px;margin:15px 0 25px;}
.ekf-time-select {appearance:auto !important;width:98px;min-height:52px;border:1px solid #cbd1df !important;
  border-radius:8px !important; background:#fff !important;padding:10px !important;color:#222942 !important;
  font-size:22px !important;font-weight:600 !important;text-align:center;cursor:pointer;}
.ekf-time-divider {font-weight:700;color:#2e3192;font-size:30px;}
.ekf-picker-popover button:focus-visible,.ekf-picker-popover select:focus-visible {outline:3px solid #6f83dd;outline-offset:2px;}
@media(max-width:600px){
  .ekf-picker-backdrop {background:rgba(15,22,48,.40);}
  .ekf-picker-popover {left:12px !important;top:auto !important;bottom:max(12px,env(safe-area-inset-bottom)) !important;
    width:calc(100vw - 24px) !important;max-height:calc(100dvh - 24px);overflow-y:auto;
    border-radius:15px;padding:15px;box-shadow:0 20px 65px rgba(17,27,72,.25); }
  .ekf-picker-day {height:44px;font-size:14px;}
  .ekf-picker-weekdays,.ekf-picker-days {gap:1px;}
  .ekf-picker-head {margin-bottom:9px;}
}
@media(max-width:350px){.ekf-picker-popover {padding:10px;}.ekf-picker-day{height:40px;}.ekf-time-columns{gap:7px;}}
@media(prefers-reduced-motion:reduce){.ekf-picker-popover *{scroll-behavior:auto !important;}}
/* Compatibility with the v1.1 Elementor section, so a plugin update alone also recolors the numbers. */
.ek-nalog-elementor-sekcija .ek-nalog-steps-mobile-collapse strong,
.ek-nalog-elementor-sekcija .elementor-widget-text-editor sup { color:#2e3192 !important; font-weight:700 !important; }

/* v1.2.1 — action-button typography, aligned with Eurokontrola's brand system.
 * Applies only to the Next and Submit actions, not the Back button. */
.ekf button.ekf-primary {
  font-weight: 600 !important;
  text-transform: uppercase !important;
}
