:root {
  --fs-login-bg: #070d08;
  --fs-login-bg-soft: #0d150d;
  --fs-login-card: #f5f6f1;
  --fs-login-head: #1b3f4a;
  --fs-login-olive: #344126;
  --fs-login-ink: #142015;
  --fs-login-muted: #68738a;
  --fs-login-line: #d7deea;
  --fs-login-link: #b6570a;
  --fs-login-blue: #1d67c4;
}

html,
body,
#app {
  min-height: 100%;
}

body.fs-carbonio-login-theme {
  margin: 0;
  background:
    radial-gradient(circle at 50% 41%, rgba(35, 75, 92, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(135deg, #060b07 0%, #0b130b 46%, #061216 100%);
  background-size: auto, 72px 72px, 72px 72px, auto;
  color: var(--fs-login-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.fs-carbonio-login-theme::before {
  content: "";
  position: fixed;
  inset: 90px 96px;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 18px;
}

body.fs-carbonio-login-theme::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 22.5%, rgba(255, 255, 255, 0.035) 22.55% 22.62%, transparent 22.7%),
    linear-gradient(0deg, transparent 0 63.8%, rgba(255, 255, 255, 0.035) 63.86% 63.94%, transparent 64%);
  opacity: 0.9;
}

body.fs-carbonio-login-theme .fs-carbonio-shell {
  position: fixed;
  left: clamp(36px, 10.4vw, 150px);
  right: clamp(36px, 10.4vw, 150px);
  top: 150px;
  bottom: 124px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(245, 246, 241, 0.04);
  opacity: 0.56;
}

body.fs-carbonio-login-theme .fs-carbonio-shell__top {
  height: 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(245, 246, 241, 0.06);
}

body.fs-carbonio-login-theme .fs-carbonio-shell__side {
  position: absolute;
  left: 0;
  top: 62px;
  bottom: 0;
  width: 210px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(245, 246, 241, 0.025);
}

body.fs-carbonio-login-theme .fs-carbonio-shell__list {
  position: absolute;
  left: 230px;
  right: 34px;
  top: 88px;
  display: grid;
  gap: 12px;
}

body.fs-carbonio-login-theme .fs-carbonio-shell__row {
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 7px;
  background: rgba(245, 246, 241, 0.04);
}

body.fs-carbonio-login-theme [class*="page-layout__LoginContainer"] {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  background: transparent !important;
}

body.fs-carbonio-login-theme [class*="page-layout__FormContainer"] {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  min-height: 100vh !important;
  padding: 24px !important;
  background: transparent !important;
}

body.fs-carbonio-login-theme [class*="page-layout__FormWrapper"] {
  position: relative !important;
  width: 408px !important;
  min-height: 455px !important;
  margin: 42px 0 0 !important;
  padding: 190px 26px 31px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: rgba(245, 246, 241, 0.985) !important;
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.34) !important;
}

body.fs-carbonio-login-theme .fs-login-head {
  position: absolute;
  left: 18px;
  right: 18px;
  top: -22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 132px;
  padding: 26px 22px 26px 30px;
  border-radius: 6px;
  background: var(--fs-login-head);
  color: #fff;
  box-shadow: 0 16px 30px rgba(13, 21, 13, 0.32);
}

body.fs-carbonio-login-theme .fs-login-head__copy {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

body.fs-carbonio-login-theme .fs-login-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

body.fs-carbonio-login-theme .fs-login-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.fs-carbonio-login-theme .fs-login-head__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.fs-carbonio-login-theme .fs-login-kicker {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.fs-carbonio-login-theme .fs-login-title {
  color: #fff;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.08;
  white-space: nowrap;
}

body.fs-carbonio-login-theme .fs-login-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

body.fs-carbonio-login-theme [class*="page-layout__FormWrapper"] > div:first-child:not(.fs-login-head) {
  display: none !important;
}

body.fs-carbonio-login-theme .fs-login-original-logo {
  display: none !important;
}

body.fs-carbonio-login-theme form {
  width: 100% !important;
}

body.fs-carbonio-login-theme form [class*="Row__ContainerEl"] {
  width: 100% !important;
}

body.fs-carbonio-login-theme input {
  width: 100% !important;
  height: 46px !important;
  padding: 0 18px !important;
  border: 1px solid var(--fs-login-line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #17243a !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  outline: none !important;
  box-shadow: none !important;
}

body.fs-carbonio-login-theme input:focus {
  border-color: rgba(29, 103, 196, 0.54) !important;
  box-shadow: 0 0 0 4px rgba(29, 103, 196, 0.12) !important;
}

body.fs-carbonio-login-theme form svg,
body.fs-carbonio-login-theme [class*="Input__RelativeContainer"] > div:has(svg) {
  display: none !important;
}

body.fs-carbonio-login-theme label {
  color: #737b88 !important;
}

body.fs-carbonio-login-theme form > div {
  margin-bottom: 16px !important;
}

body.fs-carbonio-login-theme button {
  width: 100% !important;
  min-height: 40px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--fs-login-blue) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 4px 10px rgba(29, 103, 196, 0.18) !important;
}

body.fs-carbonio-login-theme button * {
  color: #fff !important;
  font-weight: 950 !important;
}

body.fs-carbonio-login-theme .fs-login-remember {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #64708a;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

body.fs-carbonio-login-theme .fs-login-switch {
  position: relative;
  display: inline-block;
  width: 37px;
  height: 17px;
  border-radius: 999px;
  background: var(--fs-login-olive);
}

body.fs-carbonio-login-theme .fs-login-switch::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
}

body.fs-carbonio-login-theme .fs-login-options {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 18px 0 16px !important;
}

body.fs-carbonio-login-theme .fs-login-options + div {
  margin-top: 0 !important;
}

body.fs-carbonio-login-theme .fs-login-forgot,
body.fs-carbonio-login-theme [class*="Text__Comp"]:has(.fs-login-forgot) {
  color: var(--fs-login-link) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

body.fs-carbonio-login-theme .fs-login-footer {
  display: none !important;
}

body.fs-carbonio-login-theme [class*="page-layout__FormWrapper"] [class*="gJPVVn"],
body.fs-carbonio-login-theme [class*="page-layout__FormWrapper"] [class*="eLTpTg"],
body.fs-carbonio-login-theme [class*="page-layout__FormWrapper"] [class*="gHVnNj"] {
  display: none !important;
}

body.fs-carbonio-login-theme .fs-login-forgot-row {
  display: none !important;
}

@media (max-width: 720px) {
  body.fs-carbonio-login-theme::before {
    inset: 18px;
  }

  body.fs-carbonio-login-theme .fs-carbonio-shell {
    left: 18px;
    right: 18px;
    top: 72px;
    bottom: 72px;
  }

  body.fs-carbonio-login-theme [class*="page-layout__FormContainer"] {
    padding: 18px !important;
  }

  body.fs-carbonio-login-theme [class*="page-layout__FormWrapper"] {
    width: min(408px, 100%) !important;
  }
}
