#auth{min-height:100svh;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 12% 0,#ffe4cf 0,transparent 55%),radial-gradient(ellipse at 100% 100%,#ffe8d6 0,transparent 50%),#fff8f3;color:#34291f;padding:64px 24px 24px}
#auth[hidden]{display:none}
#auth .auth-form-side{width:100%;min-height:0;max-width:660px;padding:0;display:flex;gap:24px;background:transparent;position:static}
#auth .auth-tools{position:absolute;top:20px;right:24px}
#auth .auth-card{width:100%;max-width:600px;padding:44px 48px 32px;margin:0;border:1px solid #ffd4b5;border-radius:28px;background:#fff;box-shadow:0 20px 70px #9a4b1010}
#auth .auth-home-brand{
  display:flex;align-items:center;justify-content:center;gap:14px;margin:0 auto 30px;color:#211329;
}
#auth .auth-home-brand img{
  display:block;flex:none;width:62px;height:62px;border-radius:15px;box-shadow:0 12px 28px #360f4529;
}
#auth .auth-home-brand span{display:grid;line-height:1}
#auth .auth-home-brand strong{font-size:29px;font-weight:850;letter-spacing:-1.3px}
#auth .auth-home-brand i{font-style:normal;color:#ff765b}
#auth .auth-home-brand small{margin-top:7px;color:#8b579e;font-size:8px;font-weight:850;letter-spacing:2.2px}
#auth .auth-card:has(#registerPanel.active) .auth-home-brand img{width:48px;height:48px;border-radius:12px}
#auth .auth-card:has(#registerPanel.active) .auth-home-brand strong{font-size:25px}
#auth .portal-language{margin-bottom:28px}
#auth .auth-language-label{color:#574a3e;font-size:14px;font-weight:650}
#auth .auth-language{position:relative;min-width:0;overflow:visible}
#auth .auth-language-trigger,
#auth .auth-language-option{
  display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:12px;width:100%;
  font:inherit;color:inherit;text-align:left;cursor:pointer;
}
#auth .auth-language-trigger{
  grid-template-columns:24px minmax(0,1fr) 12px;min-height:52px;padding:12px 16px;
  border:1px solid #e5ddd6;border-radius:12px;background:#fff;
}
#auth .auth-language-trigger:hover,
#auth .auth-language-trigger[aria-expanded="true"]{border-color:#cba78c}
#auth .auth-language-chevron{
  width:7px;height:7px;border:solid #99897c;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);
  justify-self:center;margin-top:-4px;
}
#auth .auth-language-trigger[aria-expanded="true"] .auth-language-chevron{transform:rotate(225deg);margin-top:4px}
#auth .auth-language-menu{
  position:absolute;z-index:20;top:calc(100% + 7px);left:0;right:0;max-height:min(310px,45svh);overflow:auto;
  padding:6px;border:1px solid #e5ddd6;border-radius:12px;background:#fff;box-shadow:0 14px 34px #47301b20;
}
#auth .auth-language-menu[hidden]{display:none}
#auth .auth-language-option{
  min-height:43px;padding:7px 10px;border:0;border-radius:8px;background:transparent;
}
#auth .auth-language-option[aria-selected="true"]{background:#fff0e5;font-weight:650}
#auth .auth-language-option:hover,
#auth .auth-language-option:focus-visible{background:#faeee4;outline-offset:-3px}
#auth .auth-flag{
  display:block;width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 1px #241e191a;
  background-position:center;background-size:cover;
}
#auth .auth-flag--gb,
#auth .auth-flag--fr,
#auth .auth-flag--br{background-image:url("assets/language-flags-v2.png");background-size:500% auto}
#auth .auth-flag--gb{background-position:25% center}
#auth .auth-flag--fr{background-position:50% center}
#auth .auth-flag--br{background-position:75% center}
#auth .auth-flag--pl{background-image:linear-gradient(#fff 50%,#dc143c 50%)}
#auth .auth-flag--de{background-image:linear-gradient(#000 33.333%,#d00 33.333% 66.667%,#ffce00 66.667%)}
#auth .auth-flag--it{background-image:linear-gradient(90deg,#009246 33.333%,#fff 33.333% 66.667%,#ce2b37 66.667%)}
#auth .auth-grid{gap:20px}
#auth .auth-field{gap:9px;min-width:0}
#auth .auth-field label{font-size:14px;font-weight:650;color:#574a3e}
#auth .auth-field input,#auth .auth-field select{min-height:52px;font-size:16px;padding:13px 16px;border:1px solid #e5ddd6;background:#fff;border-radius:12px;color:#34291f}
#auth .auth-field input:focus,#auth .auth-field select:focus{border-color:#ff7824;box-shadow:0 0 0 3px #ff782421}
#auth .auth-field select{appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2399897c' stroke-width='2'%3E%3Cpath d='m4 6 5 5 5-5'/%3E%3C/svg%3E");background-position:right 16px center;background-repeat:no-repeat}
#auth .auth-card h2{font-size:28px;line-height:1.25;letter-spacing:-.6px;margin:0 0 8px}
#auth .auth-panel>p{font-size:16px;line-height:1.6;color:#77695e;margin:0 0 26px}
#auth .auth-submit{min-height:52px;border-radius:999px;background:linear-gradient(115deg,#ff7824,#ff984d);font-size:16px;margin-top:28px;box-shadow:0 8px 24px #ff782425}
#auth .auth-remember{
  display:flex;align-items:center;gap:9px;width:fit-content;max-width:100%;
  min-height:40px;margin-top:8px;font-size:14px;cursor:pointer;
}
#auth .auth-remember input{
  flex:none;width:16px;height:16px;margin:0;accent-color:#b95015;cursor:pointer;
}
#auth .auth-remember input:focus-visible{outline:2px solid #b95015;outline-offset:3px}
#auth .auth-remember + .auth-submit{margin-top:14px}
#auth .auth-submit:disabled{opacity:.6;cursor:wait}
#auth .auth-note{font-size:14px;line-height:1.6;color:#77695e}
#auth .auth-tabs{margin:24px 0 0;padding:0;background:transparent;gap:24px;justify-content:center}
#auth .auth-tab{flex:0 1 auto;background:transparent;box-shadow:none;color:#b94d09;padding:8px 12px;font-size:14px;text-decoration:underline;text-underline-offset:4px}
#auth .auth-tab.active{display:none}
#auth .portal-return{display:none;text-align:center;margin-top:18px}
#auth .auth-card:has(#registerPanel.active) .portal-return{display:block}
#auth .mobile-auth-footer{display:block;font-size:13px;color:#77695e;text-align:center}
#auth .auth-error{font-size:14px;line-height:1.5}
#auth button:focus-visible{outline:3px solid #ff782480;outline-offset:4px}
html[data-theme="dark"] #auth{background:radial-gradient(ellipse at 15% 0,#3b281e,transparent 60%),#15110e;color:#fff4ea}
html[data-theme="dark"] #auth .auth-card{background:#231c17;border-color:#5c4030;box-shadow:0 20px 70px #0003}
html[data-theme="dark"] #auth .auth-home-brand{color:#fff4ea}
html[data-theme="dark"] #auth .auth-home-brand small{color:#d5aee1}
html[data-theme="dark"] #auth .auth-field label{color:#e3d3c6}
html[data-theme="dark"] #auth .auth-language-label{color:#e3d3c6}
html[data-theme="dark"] #auth .auth-language-trigger,
html[data-theme="dark"] #auth .auth-language-menu{background:#2e251f;border-color:#5c493c}
html[data-theme="dark"] #auth .auth-language-option[aria-selected="true"],
html[data-theme="dark"] #auth .auth-language-option:hover,
html[data-theme="dark"] #auth .auth-language-option:focus-visible{background:#4c3527}
html[data-theme="dark"] #auth .auth-field input,html[data-theme="dark"] #auth .auth-field select{background:#2e251f;border-color:#5c493c;color:#fff4ea}
html[data-theme="dark"] #auth .auth-panel>p,html[data-theme="dark"] #auth .auth-note,html[data-theme="dark"] #auth .mobile-auth-footer{color:#c8b6a8}
html[data-theme="dark"] #auth .auth-tab{color:#ff984d}
@media(max-width:600px){
  #auth{padding:76px 16px 24px;align-items:flex-start}
  #auth .auth-card{padding:32px 24px 24px;border-radius:24px}
  #auth .auth-home-brand{gap:11px;margin-bottom:25px}
  #auth .auth-home-brand img{width:54px;height:54px;border-radius:13px}
  #auth .auth-home-brand strong{font-size:26px}
  #auth .auth-home-brand small{letter-spacing:1.8px}
  #auth .auth-grid{grid-template-columns:1fr}
  #auth .auth-field.full{grid-column:1}
  #auth .auth-card h2{font-size:26px}
}
