/* v171: pomoć na stranici aktivacije prijave e-mailom (flora-pomoc-registracija.php, js/flora-pomoc.js) */
.flora-help-fab{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:1050;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:58px;min-width:58px;padding:0 20px 0 10px;border:1px solid #e1e7d5;border-radius:999px;background:linear-gradient(112deg,#f7cda1 0%,#f6e7bf 48%,#b0ddd3 100%);color:#234350;font:inherit;font-size:15px;font-weight:700;letter-spacing:.1px;box-shadow:0 4px 14px rgba(16,47,64,.2),inset 0 1px 0 rgba(255,255,255,.5);cursor:pointer;transition:filter .15s ease,transform .15s ease,box-shadow .15s ease}
.flora-help-fab:hover{filter:brightness(1.03);transform:translateY(-1px);box-shadow:0 10px 24px rgba(16,47,64,.26),inset 0 1px 0 rgba(255,255,255,.5)}
.flora-help-fab:focus-visible{outline:3px solid #08777d;outline-offset:3px}
.flora-help-fab .flora-help-ic-q{box-sizing:border-box;width:36px;height:36px;padding:2px;border-radius:50%;background:#08777d;color:#fff;stroke-width:2.1;box-shadow:0 1px 3px rgba(8,80,86,.25)}
.flora-help-fab .flora-help-ic-q circle:not(.dot){display:none}
/* optičko poravnanje: upitnik malo gore u krugu, natpis 1px dolje (naglasak na „ć” vuče tekst prema gore) */
.flora-help-fab .flora-help-ic-q path,.flora-help-fab .flora-help-ic-q .dot{transform:translateY(-.45px)}
.flora-help-fab .flora-help-fab-label{position:relative;top:1px}
.flora-help-fab svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.flora-help-fab svg .dot{fill:currentColor;stroke-width:1.4}
.flora-help-fab .flora-help-ic-x{display:none;width:24px;height:24px}
.flora-help-fab[aria-expanded="true"]{padding:0;width:58px}
.flora-help-fab[aria-expanded="true"]{background:#08777d;border-color:#08777d;color:#fff;box-shadow:0 8px 22px rgba(8,80,86,.3)}
.flora-help-fab[aria-expanded="true"]:hover{background:#06646a;border-color:#06646a;filter:none}
.flora-help-fab[aria-expanded="true"] .flora-help-ic-q,.flora-help-fab[aria-expanded="true"] .flora-help-fab-label{display:none}
.flora-help-fab[aria-expanded="true"] .flora-help-ic-x{display:block}

.flora-help-panel{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(max(20px,env(safe-area-inset-bottom)) + 72px);z-index:1049;display:flex;flex-direction:column;width:min(460px,calc(100vw - 40px));height:min(690px,calc(100vh - 110px));height:min(690px,calc(100dvh - 110px));border:1px solid #dbe7e3;border-radius:22px;background:#fff;color:#263f49;box-shadow:0 24px 60px rgba(20,48,56,.22),0 4px 14px rgba(20,48,56,.1);overflow:hidden;transform-origin:bottom right;animation:flora-help-in .28s cubic-bezier(.2,.8,.25,1)}
.flora-help-panel[hidden]{display:none}
@keyframes flora-help-in{from{opacity:0;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}
.flora-help-panel.is-closing{animation:flora-help-out .18s ease-in forwards}
@keyframes flora-help-out{to{opacity:0;transform:translateY(12px) scale(.96)}}
.flora-help-head{display:flex;align-items:center;gap:12px;padding:16px 14px 14px 18px;background:linear-gradient(120deg,#f7dcc0 0%,#f5e6c8 45%,#cfe8e1 100%);border-bottom:1px solid #e3ece8}
.flora-help-head-ic{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:#08777d;color:#fff;flex:none}
.flora-help-head-ic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.flora-help-head-ic svg .dot{fill:currentColor}
.flora-help-head h2{margin:0;font-size:18px;font-weight:700;line-height:1.2;color:#203b45}
.flora-help-head p{margin:2px 0 0;font-size:13px;color:#4f6560}
.flora-help-head>div{flex:1;min-width:0}
.flora-help-close{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:0;border-radius:12px;background:rgba(255,255,255,.65);color:#203b45;cursor:pointer;flex:none}
.flora-help-close:hover{background:#fff}
.flora-help-close:focus-visible{outline:2px solid #08777d;outline-offset:2px}
.flora-help-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.flora-help-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:10px 12px 14px;-webkit-overflow-scrolling:touch}
.flora-help-item{margin:0 0 4px;border:1px solid transparent;border-radius:14px;background:transparent;box-shadow:inset 0 0 0 #08777d;transition:background-color .25s ease,border-color .25s ease,box-shadow .25s ease}
.flora-help-item:not(.is-open):not(:last-of-type)::after{content:"";display:block;height:1px;margin:0 8px;background:#edf2f0}
.flora-help-q{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:13px 12px 13px 14px;border:0;border-radius:13px;background:none;font:inherit;font-size:15px;font-weight:700;color:#203b45;text-align:left;cursor:pointer;transition:color .25s ease,background-color .15s ease}
.flora-help-q:hover{background:#f4f8f6}
.flora-help-q:focus-visible{outline:2px solid #08777d;outline-offset:-2px}
.flora-help-q svg{width:18px;height:18px;flex:none;fill:none;stroke:#08777d;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .28s ease}
.flora-help-a{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .3s cubic-bezier(.2,.7,.3,1),visibility 0s linear .3s}
.flora-help-a>.flora-help-answer{min-height:0;overflow:hidden;opacity:0;transition:opacity .2s ease}
/* otvoreno pitanje: istaknuto – svijetlozelena podloga, crta lijevo, naslov u boji */
.flora-help-item.is-open{border-color:#cfe4dc;background:#f2f8f5;box-shadow:inset 4px 0 0 #08777d,0 4px 14px rgba(8,80,86,.08)}
.flora-help-item.is-open .flora-help-q{color:#08777d}
.flora-help-item.is-open .flora-help-q:hover{background:transparent}
.flora-help-item.is-open .flora-help-q svg{transform:rotate(180deg)}
.flora-help-item.is-open .flora-help-a{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .3s cubic-bezier(.2,.7,.3,1),visibility 0s}
.flora-help-item.is-open .flora-help-a>.flora-help-answer{opacity:1;transition:opacity .25s ease .05s}
.flora-help-answer{padding:0 14px 14px 16px;font-size:14px;line-height:1.55;color:#2c4650}
.flora-help-answer p{margin:0 0 8px}
.flora-help-answer p:last-child{margin-bottom:0}
.flora-help-answer ul{margin:0 0 8px;padding-left:18px}
.flora-help-answer ul:last-child{margin-bottom:0}
.flora-help-answer li{margin:0 0 6px}
.flora-help-answer li::marker{color:#08777d}
.flora-help-answer strong{color:#203b45}
.flora-help-steps{counter-reset:fh;margin:2px 0 0;padding:0;list-style:none}
.flora-help-steps li{counter-increment:fh;position:relative;margin:0;padding:0 0 12px 40px}
.flora-help-steps li:last-child{padding-bottom:0}
.flora-help-steps li::before{content:counter(fh);position:absolute;left:0;top:0;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#08777d;color:#fff;font-size:13px;font-weight:700}
.flora-help-steps li:not(:last-child)::after{content:"";position:absolute;left:12.5px;top:28px;bottom:2px;width:1px;background:#cfe1db}
.flora-help-steps b{display:block;color:#203b45;font-size:14px;margin:2px 0 2px}
.flora-help-steps span{display:block}
.flora-help-contact{display:flex;gap:10px;align-items:flex-start;margin:12px 4px 2px;padding:12px 14px;border-radius:14px;background:#f1f7f4;font-size:13.5px;line-height:1.5;color:#36505a}
.flora-help-contact svg{width:20px;height:20px;flex:none;margin-top:1px;fill:none;stroke:#08777d;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.flora-help-contact p{margin:0}
.flora-help-contact a{color:#086b72;font-weight:700;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}

@media (max-width:600px){
  /* mobitel: gumb blizu ruba (iznad crte za povratak na iPhoneu), da manje prekriva obrazac */
  .flora-help-fab{right:max(12px,env(safe-area-inset-right));bottom:max(20px,calc(env(safe-area-inset-bottom) - 2px));height:50px;min-width:50px;padding:0 16px 0 7px;font-size:14px;gap:8px}
  .flora-help-fab svg{width:23px;height:23px}
  .flora-help-fab .flora-help-ic-q{width:34px;height:34px}
  .flora-help-fab[aria-expanded="true"]{width:50px}
  /* mobitel: prozor kao donja ploča preko cijele širine */
  /* mobitel: plutajući prozor s razmakom od rubova zaslona (ne od ruba do ruba) */
  .flora-help-panel{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(max(20px,calc(env(safe-area-inset-bottom) - 2px)) + 62px);top:max(12px,calc(env(safe-area-inset-top) + 8px));width:auto;height:auto;max-height:none;border-radius:22px;animation-name:flora-help-up;animation-duration:.32s}
  .flora-help-panel.is-closing{animation-name:flora-help-down;animation-duration:.22s}
  body.flora-help-open::before{animation:flora-help-fade .3s ease}
  /* mobitel: gumb X ostaje vidljiv ispod prozora */
  body.flora-help-open::before{content:"";position:fixed;inset:0;z-index:1048;background:rgba(16,32,38,.32)}
  body.flora-help-open{overflow:hidden}
  @keyframes flora-help-up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
  @keyframes flora-help-down{to{transform:translateY(24px);opacity:0}}
  @keyframes flora-help-fade{from{opacity:0}to{opacity:1}}
}
/* da gumb ne prekrije zadnje polje ili gumb na dnu stranice */
/* razmak ispod obrasca na kartici, ne na body – aplikacija na početnom zaslonu (iOS) body-ju nameće svoj donji razmak */
body#page-top.flora-login.flora-email-page:has(.flora-help-fab) main.flora-email-shell{padding-bottom:calc(106px + env(safe-area-inset-bottom))}
@media (prefers-reduced-motion:reduce){.flora-help-panel{animation:none}.flora-help-fab{transition:none}}
@media print{.flora-help-fab,.flora-help-panel{display:none!important}}
@media (prefers-reduced-motion:reduce){.flora-help-a,.flora-help-a>.flora-help-answer,.flora-help-item,.flora-help-q svg{transition:none!important}}
