
:root{
  --f018-bg:#eef5fd;
  --f018-primary:#143d80;
  --f018-primary-2:#234d8f;
  --f018-soft:#5f7ca4;
  --f018-line:#d4e2f1;
  --f018-card:#ffffff;
}
.f018-page,.f018-page *{box-sizing:border-box}
.f018-page{
  height:100vh;
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(220px,290px) minmax(560px,594px) minmax(320px,500px);
  justify-content:center;
  align-items:center;
  gap:24px;
  padding:16px 26px;
  background:var(--f018-bg) url('/design/fogl019-hr-background-desktop.png') center center/cover no-repeat;
  color:var(--f018-primary);
  font-family:Arial,Helvetica,sans-serif;
  position:relative;
  overflow:hidden;
}
.f018-page:before{content:'';position:absolute;inset:0;background:rgba(255,255,255,.18);pointer-events:none;z-index:0;}
.f018-page a{text-decoration:none}
.f018-side,.f018-form-area{position:relative;z-index:1;min-width:0}
.f018-side-left{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding-top:10px}
.f018-side-copy{
  margin:0 0 24px;
  font-size:14px;
  line-height:1.35;
  color:#55749f;
  font-weight:600;
}
.f018-features{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px 24px;
}
.f018-feature{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
  gap:10px;
  min-height:92px;
}
.f018-feature b{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  margin:0;
  color:#516d96;
  font-size:13px;
  line-height:1.22;
  font-weight:700;
}
.f018-feature-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:54px;
  border-radius:16px;
  font-size:23px;
}
.f018-blue{color:#097cf0;background:#dcecff}
.f018-green{color:#09a456;background:#dbf4e2}
.f018-purple{color:#7f49df;background:#eadfff}
.f018-orange{color:#ee8a14;background:#ffe9d2}

.f018-form-area{display:flex;justify-content:center;align-items:center}
.f018-login-card{
  width:100%;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(208,223,239,.95);
  border-radius:28px;
  box-shadow:0 18px 48px rgba(85,131,185,.08);
  padding:24px 36px 20px;
  max-height:calc(100vh - 32px);
}
.f018-logo{display:flex;align-items:center;gap:14px;color:#163d78}
.f018-logo span:last-child{display:flex;flex-direction:column}
.f018-logo b{font-size:27px;line-height:1.04;letter-spacing:-.7px}
.f018-logo small{color:#1c7bd6;font-size:15px;line-height:1.25}
.f018-logo-people{display:flex;align-items:flex-end;justify-content:center;width:63px;height:54px;position:relative;flex:0 0 63px}
.f018-logo-people i{position:absolute;bottom:3px;width:22px;height:26px;background:#2d96eb;border-radius:10px 10px 3px 3px}
.f018-logo-people i:before{content:"";position:absolute;left:5px;top:-14px;width:12px;height:12px;background:inherit;border-radius:50%}
.f018-logo-people i:first-child{left:2px;width:18px;height:22px;background:#75bdfb}
.f018-logo-people i:first-child:before{width:10px;height:10px;left:4px;top:-12px}
.f018-logo-people i:nth-child(2){left:20px;z-index:2;width:25px;height:31px;background:#0860c5}
.f018-logo-people i:nth-child(2):before{width:14px;height:14px;left:5px;top:-16px}
.f018-logo-people i:last-child{right:2px;width:18px;height:22px;background:#55a7ef}
.f018-logo-people i:last-child:before{width:10px;height:10px;left:4px;top:-12px}
.f018-card-note{
  margin:18px 0 12px;
  color:#6883a6;
  font-size:12px;
  line-height:1.38;
  text-align:justify;
  text-align-last:left;
}
.f018-login-card h1{font-size:34px;font-weight:800;line-height:1.08;margin:0 0 8px;color:#133b7d;letter-spacing:-.9px}
.f018-muted{font-size:13px;color:#6983a7;margin:0 0 18px;line-height:1.42}
.f018-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}
.f018-role{
  position:relative;
  min-height:92px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px solid #d2e0ef;
  border-radius:14px;
  padding:10px 8px;
  background:#fff;
  gap:6px
}
.f018-role-selected{border:2px solid #2d8dfc;background:#f4f9ff}
.f018-role-icon{font-size:22px;line-height:1;color:#2a81e6}
.f018-role-admin-icon{color:#8098b4}
.f018-role-boss-icon{color:#2192a6}
.f018-role b{font-size:13px;line-height:1.2;display:block;color:#163d70}
.f018-role small{display:block;margin-top:2px;font-size:11px;line-height:1.3;color:#6f84a5}
.f018-role-check{position:absolute;right:8px;top:8px;background:#2f8cf9;color:#fff;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}
.f018-form>label{display:block;font-size:13px;font-weight:800;margin:0 0 6px;color:#123d7a}
.f018-input{height:42px;border:1px solid #cedff1;border-radius:10px;margin:0 0 14px;display:flex;align-items:center;background:#fff;overflow:hidden}
.f018-input>.glyphicon{width:46px;text-align:center;color:#96aac3;flex:0 0 46px}
.f018-input input{flex:1;min-width:0;width:100%;height:100%;border:0!important;box-shadow:none!important;outline:none!important;background:transparent!important;font-size:14px;color:#163d70}
.f018-input input::placeholder{color:#91a7c2}
.f018-show-password{width:40px;height:100%;border:0;background:transparent;color:#829cbe}
.f018-options{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 14px;font-size:12px}
.f018-remember{display:flex;align-items:center;gap:6px;margin:0;font-weight:400;color:#173f77}
.f018-remember input{margin:0}
.f018-options a{color:#0a76e5;font-weight:600}
.f018-submit{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;height:50px;color:#fff;background:linear-gradient(90deg,#3c95f5,#0672d7);border:0;border-radius:12px;box-shadow:0 10px 22px rgba(30,103,209,.16);font-size:17px;font-weight:800}
.f018-login-result{margin-top:8px}
.f018-separator{display:flex;align-items:center;gap:14px;margin:10px 0;color:#7489a5;font-size:12px}
.f018-separator:before,.f018-separator:after{content:"";height:1px;flex:1;background:#d9e4f0}
.f018-microsoft{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:42px;background:#fff;border:1px solid #d0e0f1;border-radius:10px;font-weight:700;font-size:13px;color:#183c76}
.f018-ms-logo{display:grid;grid-template-columns:repeat(2,9px);grid-template-rows:repeat(2,9px);gap:1px}
.f018-ms-logo i:first-child{background:#f35325}.f018-ms-logo i:nth-child(2){background:#81bc06}.f018-ms-logo i:nth-child(3){background:#05a5ee}.f018-ms-logo i:last-child{background:#ffba08}
.f018-https{text-align:center;color:#7c90ad;font-size:11px;margin-top:10px}

.f018-side-right{display:flex;flex-direction:column;justify-content:center;position:relative;min-height:670px}
.f018-side-right h2{
  margin:0;
  color:#163f82;
  font-weight:800;
  font-size:clamp(34px,3.25vw,58px);
  line-height:1.1;
  letter-spacing:-1px;
  max-width:520px;
}
.f018-underline{width:62px;height:4px;border-radius:4px;background:#69aaf4;margin:26px 0 18px}
.f018-photo{
  flex:1;
  min-height:470px;
  background:url('/design/fogl018-hr-illustration-overlay.png') right bottom/contain no-repeat;
  opacity:.94;
}
.f018-ghost-note-two{
  position:absolute;
  left:8px;
  right:0;
  bottom:18px;
  color:rgba(91,125,186,.72);
  font-family:'Segoe Script','Segoe Print','Bradley Hand','Comic Sans MS',cursive;
  font-size:14px;
  line-height:1.45;
  transform:rotate(-4deg);
  text-align:left;
}

@media (max-width:1330px){
  .f018-page{grid-template-columns:minmax(200px,246px) minmax(500px,550px) minmax(280px,400px);gap:20px;padding:14px 18px}
  .f018-login-card{padding:22px 28px 18px}
  .f018-side-right{min-height:620px}
  .f018-side-right h2{font-size:clamp(30px,3vw,46px)}
}
@media (max-width:1100px){
  .f018-page{grid-template-columns:minmax(180px,220px) minmax(440px,500px) minmax(220px,310px);gap:14px;padding:10px 12px}
  .f018-login-card{padding:20px 20px 16px}
  .f018-logo b{font-size:24px}
  .f018-login-card h1{font-size:31px}
  .f018-side-copy{font-size:12.5px}
  .f018-features{gap:14px 14px}
  .f018-feature-icon{width:46px;height:46px;font-size:19px}
  .f018-feature b{font-size:11px}
  .f018-side-right{min-height:540px}
  .f018-underline{margin:18px 0 10px}
  .f018-photo{min-height:320px}
}
@media (max-width:900px){
  .f018-page{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    padding:14px 12px 20px;
    background:#eef5fd url('/design/fogl019-hr-background-mobile.png') center center/cover no-repeat;
  }
  .f018-form-area{order:1}
  .f018-side-left{order:2;padding-top:0}
  .f018-side-right{order:3;min-height:auto}
  .f018-login-card{max-width:560px;margin:0 auto;padding:24px 20px;border-radius:24px}
  .f018-card-note{margin:18px 0 14px}
  .f018-login-card h1{font-size:31px}
  .f018-side-copy{margin:20px auto 16px;max-width:560px;text-align:center;font-size:14px}
  .f018-features{max-width:560px;margin:0 auto;gap:16px 18px}
  .f018-side-right{max-width:560px;margin:0 auto;padding-top:12px}
  .f018-side-right h2{font-size:36px;max-width:none;text-align:left}
  .f018-photo{min-height:290px;background-position:center bottom}
  .f018-ghost-note-two{position:relative;left:auto;right:auto;bottom:auto;margin-top:-8px;font-size:13px;transform:rotate(-2deg)}
}
@media (max-width:520px){
  .f018-page{padding:10px}
  .f018-login-card{padding:22px 16px;border-radius:22px}
  .f018-logo{gap:10px}
  .f018-logo b{font-size:20px}
  .f018-logo small{font-size:12px}
  .f018-logo-people{width:52px;height:44px;flex-basis:52px}
  .f018-login-card h1{font-size:30px}
  .f018-muted,.f018-card-note{font-size:13px}
  .f018-roles{grid-template-columns:1fr;gap:10px}
  .f018-role{min-height:96px}
  .f018-options{font-size:11px;flex-wrap:wrap}
  .f018-submit{height:52px;font-size:17px}
  .f018-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .f018-feature{min-height:94px}
  .f018-feature-icon{width:48px;height:48px;font-size:20px;border-radius:14px}
  .f018-feature b{font-size:11px}
  .f018-side-right h2{font-size:30px}
  .f018-photo{min-height:220px}
  .f018-ghost-note-two{font-size:12px;line-height:1.35}
}


/* FOGL019 fix – jobb oldali blokk visszaállítása az eredeti grafikai terv arányaihoz */
.f018-side-right{
  align-self:stretch;
  justify-content:flex-start;
  padding-top:148px;
  min-height:760px;
}
.f018-side-right h2{
  max-width:472px;
  margin:0;
  color:#173f82;
  font-weight:800;
  font-size:31px;
  line-height:1.16;
  letter-spacing:-.6px;
}
.f018-underline{
  width:60px;
  height:4px;
  margin:28px 0 16px;
  border-radius:4px;
}
.f018-photo{
  min-height:505px;
  margin-top:6px;
  background-position:center 8px;
  background-size:112%;
  opacity:.96;
}
.f018-ghost-note-two{
  position:absolute;
  left:6px;
  right:6px;
  bottom:58px;
  max-width:505px;
  margin:0 auto;
  color:rgba(101,130,188,.78);
  font-size:13px;
  line-height:1.36;
  text-align:center;
  transform:rotate(-5deg);
}
@media (max-width:1330px){
  .f018-side-right{padding-top:134px;min-height:700px}
  .f018-side-right h2{max-width:430px;font-size:28px;line-height:1.14}
  .f018-underline{margin:24px 0 14px}
  .f018-photo{min-height:450px;background-size:108%;background-position:center 8px}
  .f018-ghost-note-two{max-width:430px;bottom:48px;font-size:12.2px}
}
@media (max-width:1100px){
  .f018-side-right{padding-top:108px;min-height:610px}
  .f018-side-right h2{max-width:340px;font-size:23px;line-height:1.12}
  .f018-underline{width:54px;margin:20px 0 12px}
  .f018-photo{min-height:338px;background-size:106%;background-position:center bottom}
  .f018-ghost-note-two{max-width:330px;bottom:28px;font-size:10.8px;line-height:1.32}
}
@media (max-width:900px){
  .f018-side-right{padding-top:12px;min-height:auto}
  .f018-side-right h2{max-width:none;font-size:36px;line-height:1.1}
  .f018-photo{min-height:290px;background-size:contain;background-position:center bottom}
  .f018-ghost-note-two{position:relative;left:auto;right:auto;bottom:auto;max-width:none;margin-top:-8px;font-size:13px;line-height:1.36;transform:rotate(-2deg)}
}
@media (max-width:520px){
  .f018-side-right h2{font-size:30px}
  .f018-photo{min-height:220px}
  .f018-ghost-note-two{font-size:12px}
}

/* FOGL018 fix – bal oldali blokk visszaállítása az eredeti tervhez */
.f018-side-left{
  width:100%;
  max-width:336px;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top:22px;
}
.f018-side-copy{
  max-width:330px;
  margin:0 0 24px;
  padding-left:4px;
  font-size:14px;
  line-height:1.26;
  letter-spacing:-.15px;
  color:#53719b;
  font-weight:600;
}
.f018-features{
  width:100%;
  max-width:330px;
  display:grid;
  grid-template-columns:repeat(2, minmax(112px, 1fr));
  column-gap:34px;
  row-gap:26px;
  justify-items:center;
}
.f018-feature{
  width:132px;
  min-height:92px;
  gap:10px;
}
.f018-feature-icon{
  width:54px;
  height:54px;
  border-radius:16px;
  font-size:23px;
}
.f018-feature b{
  font-size:13px;
  line-height:1.18;
  color:#4f6b95;
  letter-spacing:-.1px;
}
@media (max-width:1330px){
  .f018-side-left{max-width:318px;padding-top:18px}
  .f018-side-copy{max-width:312px;font-size:13.5px;margin-bottom:30px}
  .f018-features{max-width:312px;column-gap:28px;row-gap:22px;grid-template-columns:repeat(2,minmax(104px,1fr))}
  .f018-feature{width:124px;min-height:98px}
  .f018-feature-icon{width:54px;height:54px;font-size:23px}
  .f018-feature b{font-size:12.6px}
}
@media (max-width:1100px){
  .f018-side-left{max-width:280px;padding-top:10px}
  .f018-side-copy{max-width:274px;font-size:13px;margin-bottom:24px}
  .f018-features{max-width:274px;column-gap:20px;row-gap:18px;grid-template-columns:repeat(2,minmax(96px,1fr))}
  .f018-feature{width:116px;min-height:92px}
  .f018-feature-icon{width:50px;height:50px;font-size:21px}
  .f018-feature b{font-size:11px}
}
@media (max-width:900px){
  .f018-side-left{max-width:560px;padding-top:0}
  .f018-side-copy{max-width:560px;margin:20px auto 16px;padding-left:0;text-align:left;font-size:14px;line-height:1.35}
  .f018-features{max-width:560px;margin:0 auto;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:16px;justify-items:center}
  .f018-feature{width:auto;min-height:94px}
}
@media (max-width:520px){
  .f018-side-copy{font-size:13px;margin:18px auto 14px}
  .f018-features{gap:12px}
  .f018-feature{min-height:94px}
  .f018-feature-icon{width:48px;height:48px;font-size:20px}
  .f018-feature b{font-size:11px}
}


/* FOGL019 hero beépítés – a jobb oldali blokk egy kész grafikai panelként jelenik meg */
.f018-side-right{
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:8px 0;
  min-height:100%;
  overflow:visible;
}
/* A FOGL019 adminpanel gyermekelemei láthatók: a korábbi hero-képhez tartozó rejtő szabály megszűnt. */
.f018-right-hero{
  width:calc(100% + 12px);
  max-width:560px;
  min-height:708px;
  margin-left:-18px;
  margin-bottom:0;
  background:url('/design/fogl019-login-right-hero.png') center center/100% auto no-repeat;
}
@media (max-width:1330px){
  .f018-side-right{padding:6px 0;min-height:100%}
  .f018-right-hero{width:calc(100% + 10px);max-width:520px;min-height:654px;margin-left:-12px}
}
@media (max-width:1100px){
  .f018-side-right{padding:4px 0;min-height:100%}
  .f018-right-hero{width:100%;max-width:420px;min-height:540px;margin-left:0}
}
@media (max-width:900px){
  .f018-side-right{max-width:560px;margin:0 auto;padding:8px 0 0;min-height:auto;overflow:visible;align-items:center;justify-content:center}
  .f018-right-hero{width:100%;max-width:560px;min-height:0;aspect-ratio:580/795;margin-left:0;margin-bottom:0;background-position:center top;background-size:contain}
}
@media (max-width:520px){
  .f018-right-hero{aspect-ratio:580/795}
}


/* FOGL019 – tényleges, böngészőszélesség szerinti középre igazítás.
   A két szélső oszlop egyenlő: a bejelentkezőkártya középvonala mindig
   a viewport középvonalán áll, nem az eltérő oldalsávszélességek közepén. */
body:has(.f018-page){
  padding:0 !important;  /* a régi base.html.twig 10px-es body paddingje */
  margin:0 !important;
}
@media (min-width:1181px){
  .f018-page{
    width:100%;
    height:100vh;
    height:100dvh;
    min-height:0;
    grid-template-columns:minmax(0,1fr) minmax(0,594px) minmax(0,1fr);
    justify-content:stretch;
    align-items:center;
    column-gap:24px;
    padding:12px 26px;
    overflow:hidden;
  }
  .f018-form-area{grid-column:2;align-self:center;justify-self:stretch;width:100%}
  .f018-login-card{width:100%;max-height:calc(100dvh - 24px)}
  .f018-side-left{
    grid-column:1;
    justify-self:end;
    width:min(336px, calc(100% - 12px));
    margin-right:clamp(0px, 3vw, 54px);
    max-width:336px;
  }
  .f018-side-right{
    grid-column:3;
    justify-self:stretch;
    width:100%;
    min-height:0;
    height:100%;
    padding:0;
    align-items:center;
    justify-content:center;
  }
  .f018-right-hero{
    flex:0 0 auto;
    width:min(100%, 560px);
    max-width:560px;
    height:min(760px, calc(100dvh - 24px));
    min-height:0;
    margin:0;
    background-position:center center;
    background-size:contain;
  }
}
@media (min-width:1181px) and (max-width:1330px){
  .f018-page{grid-template-columns:minmax(0,1fr) minmax(0,550px) minmax(0,1fr);column-gap:18px;padding:12px 18px}
  .f018-side-left{max-width:318px;margin-right:8px}
}
/* 1180px alatt az űrlap kerül előre, a többi blokk alá kerül.
   A mobil tartalom teljes magasságban megmarad; nem vágjuk le. */
@media (max-width:1180px){
  .f018-page{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    width:100%;
    height:auto;
    min-height:100vh;
    min-height:100dvh;
    overflow:visible;
    gap:18px;
    padding:18px 14px 28px;
    background:#eef5fd url('/design/fogl019-hr-background-mobile.png') center top/cover no-repeat;
  }
  .f018-form-area{order:1;width:100%;align-self:center;justify-content:center;min-width:0}
  .f018-login-card{width:100%;max-width:560px;max-height:none;margin:0 auto}
  .f018-side-left{order:2;width:100%;max-width:560px;min-height:0;margin:0 auto;padding:0}
  .f018-side-copy{margin:8px 0 18px;text-align:left}
  .f018-features{width:100%;max-width:560px;margin:0 auto;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:center}
  .f018-side-right{order:3;width:100%;max-width:560px;min-height:0;height:auto;margin:0 auto;padding:0;overflow:visible}
  .f018-right-hero{
    width:100%;
    max-width:560px;
    height:auto;
    min-height:0;
    aspect-ratio:580 / 795;
    margin:0;
    background-position:center center;
    background-size:contain;
  }
}
/* A szerepkörök SEMMILYEN mobil szélességnél nem kerülnek egymás alá. */
@media (max-width:520px){
  .f018-page{padding:10px 10px 22px;gap:14px}
  .f018-login-card{padding:20px 14px 16px;max-height:none}
  .f018-roles{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
    margin-bottom:16px;
  }
  .f018-role{
    min-width:0;
    min-height:100px;
    padding:10px 5px;
    gap:6px;
  }
  .f018-role b{font-size:12px;line-height:1.22;overflow-wrap:break-word}
  .f018-role small{font-size:10px;line-height:1.22;overflow-wrap:break-word}
  .f018-role-check{width:18px;height:18px;right:4px;top:4px;font-size:11px}
}
@media (max-width:355px){
  .f018-login-card{padding:18px 10px 14px}
  .f018-logo b{font-size:18px}
  .f018-roles{gap:6px}
  .f018-role b{font-size:11px}
  .f018-role small{font-size:9px}
  .f018-role-icon{font-size:18px}
}
/* Keskeny mobilon a szöveg ne kapjon zavaró, széthúzott szóközöket. */
@media (max-width:520px){
  .f018-card-note{text-align:left;text-align-last:left}
}
/* Alacsony, de széles böngészőablakban se vágódjon le a belépési űrlap. */
@media (min-width:1181px) and (max-height:700px){
  .f018-login-card{max-height:none;transform:scale(.90);transform-origin:center center}
  .f018-side-left{transform:scale(.90);transform-origin:center center}
}
@media (min-width:1181px) and (max-height:600px){
  .f018-login-card{transform:scale(.80)}
  .f018-side-left{transform:scale(.80)}
}
@media (min-width:1181px) and (max-height:520px){
  .f018-login-card{transform:scale(.68)}
  .f018-side-left{transform:scale(.68)}
}


/* FOGL019 – jobb oldali admin funkciók a bal oldallal azonos arányrendszerben */
.f018-red{color:#ea4862;background:#ffe0e6}
.f018-blue-soft{color:#1672ef;background:#dcecff}
.f018-green-soft{color:#09a456;background:#dbf4e2}
.f018-purple-soft{color:#8d55e6;background:#efdfff}
.f018-orange-soft{color:#ee8a14;background:#ffe9d2}

.f018-side-right{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:0;
  min-height:0;
  overflow:visible;
}
.f018-side-right-box{
  width:100%;
  max-width:none;
  min-height:0;
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  box-shadow:none;
  backdrop-filter:none;
}
.f018-side-copy-right{
  margin:0 0 24px;
  font-size:14px;
  line-height:1.35;
  color:#55749f;
  font-weight:600;
  max-width:300px;
}
.f018-features-admin{
  max-width:100%;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px 24px;
}
.f018-feature-admin{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
  gap:10px;
  min-height:92px;
  width:auto;
}
.f018-feature-admin .f018-feature-icon{
  width:54px;
  height:54px;
  border-radius:16px;
  font-size:23px;
}
.f018-feature-admin b{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  margin:0;
  color:#516d96;
  font-size:13px;
  line-height:1.22;
  font-weight:700;
}
.f018-feature-admin b span{display:block}

@media (min-width:1181px){
  .f018-side-right{
    grid-column:3;
    justify-self:start;
    align-self:center;
    width:min(336px, calc(100% - 12px));
    max-width:336px;
    margin-left:clamp(0px, 3vw, 24px);
    height:auto;
  }
}
@media (min-width:1181px) and (max-width:1330px){
  .f018-side-right{max-width:318px;margin-left:8px}
  .f018-side-copy-right{font-size:13px;margin-bottom:22px}
  .f018-features-admin{gap:18px 18px}
  .f018-feature-admin .f018-feature-icon{width:52px;height:52px;font-size:22px}
  .f018-feature-admin b{font-size:12px}
}
@media (max-width:1180px){
  .f018-side-right{order:3;width:100%;max-width:560px;min-height:0;margin:0 auto;padding:0}
  .f018-side-copy-right{max-width:560px;margin:20px auto 16px;padding-left:0;text-align:left;font-size:14px;line-height:1.35}
  .f018-features-admin{max-width:560px;margin:0 auto;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:16px;justify-items:center}
  .f018-feature-admin{width:auto;min-height:94px}
}
@media (max-width:520px){
  .f018-side-copy-right{font-size:13px;margin:18px auto 14px}
  .f018-features-admin{gap:12px}
  .f018-feature-admin{min-height:94px}
  .f018-feature-admin .f018-feature-icon{width:48px;height:48px;font-size:20px}
  .f018-feature-admin b{font-size:11px}
}


/* FOGL019 – kézírásos szlogenek az ikonrácsok szélességéhez igazítva. */
.f018-handwritten{
  display:block;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0 0 16px;
  padding:0 5px;
  color:rgba(106,138,193,.72);
  font-family:'Segoe Script','Segoe Print','Bradley Hand','Comic Sans MS',cursive;
  font-size:22px;
  line-height:1.2;
  letter-spacing:.2px;
  text-align:left;
  transform:none;
  overflow-wrap:break-word;
  text-shadow:0 1px 0 rgba(255,255,255,.35);
}
.f018-handwritten-left,.f018-handwritten-right{
  width:100%;
  max-width:100%;
  margin-left:0;
}
@media (min-width:1181px) and (max-width:1330px){
  .f018-handwritten{font-size:19px;margin-bottom:16px}
}
@media (max-width:1180px){
  .f018-handwritten{font-size:20px;margin-bottom:14px}
}
@media (max-width:520px){
  .f018-handwritten{font-size:16px;line-height:1.2;margin-bottom:12px}
}
@media (max-width:355px){
  .f018-handwritten{font-size:14px}
}

/* FOGL019 – hitelesített szerepkör: csak a sikeres válasz után kék kijelölés. */
.f018-roles .f018-role .f018-role-check{display:none}
.f018-roles .f018-role.f018-role-selected .f018-role-check{display:flex}
.f018-roles .f018-role.f018-role-selected{border:2px solid #2d8dfc;background:#f4f9ff}


/* FOGL019 – Microsoft, Gmail (Google) és Apple egy sorban.
   A gombok OAuth integrációig kizárólag tájékoztató felületet adnak. */
.f018-social-logins{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:9px;
  width:100%;
}
.f018-social-login{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  height:42px;
  padding:4px 6px;
  background:rgba(255,255,255,.97);
  border:1px solid #d0e0f1;
  border-radius:10px;
  color:#183c76;
  font-size:12px;
  line-height:1.15;
  font-weight:700;
  white-space:nowrap;
  cursor:pointer;
}
.f018-social-login:hover{background:#f5f9ff;border-color:#90baf1}
.f018-social-login:focus-visible{outline:2px solid #2d8dfc;outline-offset:2px}
.f018-google-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:Arial,Helvetica,sans-serif;
  font-size:21px;
  line-height:1;
  font-weight:800;
  color:#4285f4;
  background:linear-gradient(135deg,#4285f4 0 27%,#ea4335 30% 52%,#fbbc05 54% 70%,#34a853 72% 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.f018-apple-logo{font-size:20px;color:#273d5c;line-height:1}
.f018-social-status{
  text-align:center;
  color:#5f7ca4;
  font-size:11px;
  line-height:1.35;
}
.f018-social-status:not(:empty){margin-top:6px}
@media (max-width:520px){
  .f018-social-logins{gap:6px}
  .f018-social-login{gap:4px;padding:4px 3px;height:40px;font-size:11px}
  .f018-google-logo,.f018-apple-logo{font-size:17px}
  .f018-social-login .f018-ms-logo{transform:scale(.82);transform-origin:center;flex-shrink:0}
}
@media (max-width:355px){
  .f018-social-login{font-size:10px;gap:3px}
}


/* FOGL019 – a jövőbeni WebAuthn/Passkey belépés előkészített gombja.
   Nem indít valós azonosítási folyamatot. */
.f018-passkey-login{
  display:flex;align-items:center;justify-content:center;gap:9px;
  width:100%;min-height:38px;margin-top:8px;padding:6px 10px;
  border:1px solid #c9dcef;border-radius:10px;
  background:#f7fbff;color:#224b83;font-size:12px;line-height:1.2;
  font-weight:700;cursor:pointer;
}
.f018-passkey-login:hover{background:#edf6ff;border-color:#90baf1}
.f018-passkey-login:focus-visible{outline:2px solid #2d8dfc;outline-offset:2px}
.f018-passkey-icon{width:20px;height:20px;flex:0 0 20px;color:#287bd1}
@media (max-width:520px){
  .f018-passkey-login{min-height:38px;font-size:11px;gap:7px}
  .f018-passkey-icon{width:18px;height:18px;flex-basis:18px}
}

/* FOGL019 – logó és kisebb, jobbra zárt Bejelentkezés cím ugyanabban a felső sorban. */
.f018-card-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  min-width:0;
}
.f018-card-header .f018-logo-login{flex:0 1 auto;min-width:0}
.f018-card-header h1,
.f018-login-card .f018-card-header h1{
  flex:0 0 auto;
  margin:0;
  font-size:24px;
  line-height:1.1;
  letter-spacing:-.45px;
  text-align:right;
  white-space:nowrap;
}
@media(max-width:1330px){
  .f018-card-header h1,.f018-login-card .f018-card-header h1{font-size:21px}
}
@media(max-width:520px){
  .f018-card-header{gap:6px}
  .f018-card-header h1,.f018-login-card .f018-card-header h1{font-size:16px;letter-spacing:-.3px}
  .f018-card-header .f018-logo-login{gap:7px}
  .f018-card-header .f018-logo-login b{font-size:17px}
  .f018-card-header .f018-logo-login small{font-size:11px}
  .f018-card-header .f018-logo-people{width:45px;flex-basis:45px;transform:scale(.86);transform-origin:left center}
}
@media(max-width:355px){
  .f018-card-header{gap:4px}
  .f018-card-header h1,.f018-login-card .f018-card-header h1{font-size:14px}
  .f018-card-header .f018-logo-login b{font-size:15px}
  .f018-card-header .f018-logo-login small{font-size:10px}
  .f018-card-header .f018-logo-people{width:39px;flex-basis:39px;transform:scale(.75)}
}

/* FOGL019 – egységes, sorkizárt ismertető a logó alatti két mondathoz. */
.f018-login-card .f018-card-note{
  text-align:justify;
  text-align-last:left;
  margin-bottom:18px;
}
@media (max-width:520px){
  .f018-login-card .f018-card-note{
    text-align:justify;
    text-align-last:left;
    margin-bottom:16px;
  }
}

/* FOGL 028 – három hitelesített belépési típus egy sorban. */
.f018-roles .f018-role{min-width:0;overflow-wrap:anywhere;}
.f018-roles .f018-role small{max-width:100%;}
@media(max-width:520px){
  .f018-roles .f018-role{padding:10px 4px;min-height:102px;}
  .f018-roles .f018-role b{font-size:11px;}
  .f018-roles .f018-role small{font-size:9px;}
}
