:root {
  --p: #32aaab;
  --p2: #35adac;
  --dark: #3c5862;
  --bg: #f4f7f8;
  --white: #fbfcfb;
  --muted: #74858b;
  --border: #dce7e9;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    Inter,
    Segoe UI,
    sans-serif;
  background: var(--bg);
  color: #263e47;
}
.pos-login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 56% 44%;
  overflow: hidden;
}
.login-brand {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 46px 52px;
  background:
    radial-gradient(
      circle at 12% 5%,
      rgba(255, 255, 255, 0.15),
      transparent 28%
    ),
    linear-gradient(145deg, #176f75 0%, var(--p) 55%, var(--p2) 100%);
  color: #fff;
}
.login-brand:after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  right: -260px;
  top: -220px;
}
.brand-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-icon {
  width: 55px;
  height: 55px;
  border-radius: 16px;
  background: #fff;
  color: var(--p);
  display: grid;
  place-items: center;
  font-size: 23px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}
.brand-top strong {
  display: block;
  font-size: 22px;
}
.brand-top span {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
}
.brand-copy {
  position: relative;
  z-index: 3;
  width: 58%;
  margin-top: 65px;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
}
.brand-copy h1 {
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -3px;
  margin: 24px 0 18px;
}
.brand-copy h1 span {
  color: #caffff;
}
.brand-copy > p {
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.86;
}
.features {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.features > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.features i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  display: grid;
  place-items: center;
}
.features p {
  margin: 0;
}
.features b,
.features small {
  display: block;
}
.features b {
  font-size: 13px;
}
.features small {
  font-size: 11px;
  opacity: 0.72;
  margin-top: 3px;
}
.brand-image {
  position: absolute;
  z-index: 2;
  width: 61%;
  right: -2%;
  bottom: -3%;
  filter: drop-shadow(0 35px 35px rgba(15, 60, 64, 0.32));
}
.brand-footer {
  position: absolute;
  z-index: 4;
  left: 52px;
  bottom: 25px;
  display: flex;
  gap: 24px;
  font-size: 11px;
  font-weight: 700;
}
.brand-footer span {
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0.85;
}
.login-access {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(50, 170, 171, 0.12),
      transparent 30%
    ),
    var(--bg);
}
.login-wrap {
  width: 100%;
  max-width: 480px;
}
.login-card {
  background: #fff;
  padding: 46px 44px;
  border-radius: 28px;
  box-shadow:
    0 30px 80px rgba(34, 65, 74, 0.14),
    0 10px 30px rgba(34, 65, 74, 0.08);
}
.login-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--p2), #258b8c);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 15px 30px rgba(50, 170, 171, 0.27);
  margin-bottom: 18px;
}
.access-label {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(50, 170, 171, 0.1);
  color: #258b8c;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
}
.login-card h2 {
  font-size: 31px;
  margin: 12px 0 7px;
}
.sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 30px;
}
.login-card label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 8px;
}
.field {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f7f9fa;
  margin-bottom: 20px;
  transition: 0.2s;
}
.field:focus-within {
  background: #fff;
  border-color: var(--p);
  box-shadow: 0 0 0 4px rgba(50, 170, 171, 0.12);
  transform: translateY(-1px);
}
.field > i {
  width: 20px;
  text-align: center;
  color: #258b8c;
}
.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
}
.field input::placeholder {
  color: #a5b2b6;
}
.toggle {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.toggle:hover {
  background: rgba(50, 170, 171, 0.1);
  color: #258b8c;
}
.btn-login {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--p2), #258b8c);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(50, 170, 171, 0.28);
  transition: 0.2s;
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(50, 170, 171, 0.34);
}
.btn-login:disabled {
  opacity: 0.85;
  cursor: wait;
}
.loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-login.loading > i {
  display: none;
}
.btn-login.loading .loader {
  display: block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.security {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.security i {
  color: #258b8c;
  margin-top: 2px;
}
.copyright {
  text-align: center;
  color: #8b999e;
  font-size: 11px;
  margin-top: 24px;
}
.toast-eleventa {
  position: fixed;
  z-index: 9999;
  top: 22px;
  left: 50%;
  transform: translate(-50%, -24px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 340px;
  padding: 15px 18px;
  border-radius: 15px;
  background: linear-gradient(135deg, #e5484d, #c9343a);
  color: #fff;
  box-shadow: 0 18px 45px rgba(24, 37, 42, 0.25);
  transition: 0.25s;
}
.toast-eleventa.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.toast-eleventa > i {
  font-size: 25px;
}
.toast-eleventa b,
.toast-eleventa span {
  display: block;
}
.toast-eleventa b {
  font-size: 12px;
}
.toast-eleventa span {
  font-size: 11px;
  margin-top: 2px;
  opacity: 0.9;
}
@media (max-width: 1100px) {
  .pos-login {
    grid-template-columns: 48% 52%;
  }
  .brand-copy {
    width: 80%;
  }
  .brand-image {
    width: 75%;
    right: -15%;
  }
  .brand-copy h1 {
    font-size: 52px;
  }
}
@media (max-width: 850px) {
  .pos-login {
    display: block;
  }
  .login-brand {
    display: none;
  }
  .login-access {
    padding: 28px 18px;
  }
  .login-card {
    padding: 38px 30px;
  }
}
@media (max-width: 520px) {
  .login-access {
    align-items: flex-start;
    padding: 22px 14px;
  }
  .login-card {
    padding: 32px 22px;
    border-radius: 22px;
  }
  .login-card h2 {
    font-size: 27px;
  }
  .toast-eleventa {
    width: calc(100% - 28px);
    min-width: 0;
  }
}
