.pos-login-body {
  font-family: "Public Sans", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(105, 108, 255, 0.22), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(0, 184, 217, 0.16), transparent 40%),
    #f5f7fb;
}

.pos-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.3rem;
}

.pos-login-shell {
  width: 100%;
  max-width: 1080px;
  border-radius: 1.15rem;
  border: 1px solid rgba(67, 89, 113, 0.14);
  background: #fff;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.1);
  overflow: hidden;
  display: grid;
  grid-template-columns: 43% 57%;
  min-height: 620px;
}

.pos-login-side {
  position: relative;
  padding: 2rem 1.7rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.22), transparent 52%),
    linear-gradient(160deg, #5f68ff 0%, #00bedf 100%);
  color: #f7fbff;
}

.pos-login-side::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.pos-login-side h2 {
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 0 0 0.7rem;
  color: #fff;
}

.pos-login-side p {
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.95;
  margin-bottom: 1.2rem;
}

.pos-login-features {
  display: grid;
  gap: 0.78rem;
}

.pos-login-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  padding: 0.72rem 0.75rem;
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pos-login-feature i {
  font-size: 1.1rem;
  margin-top: 0.04rem;
}

.pos-login-feature .title {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  color: #fff;
}

.pos-login-feature .desc {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  opacity: 0.93;
}

.pos-login-panel {
  padding: 2rem 2.2rem;
  display: flex;
  align-items: center;
}

.pos-login-card {
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
}

.pos-auth-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(67, 89, 113, 0.18);
  border-radius: 999px;
  padding: 0.18rem;
  background: rgba(245, 248, 255, 0.9);
}

.pos-auth-lang-switch a {
  min-width: 42px;
  text-align: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  color: #5d6d80;
  padding: 0.36rem 0.44rem;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.pos-auth-lang-switch a.active {
  color: #fff;
  background: linear-gradient(135deg, #696cff, #5f63f2);
  box-shadow: 0 0.35rem 0.8rem rgba(79, 91, 255, 0.28);
}

.pos-login-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(105, 108, 255, 0.2);
  color: #4b54d8;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.26rem 0.58rem;
  background: rgba(105, 108, 255, 0.09);
}

.pos-login-card h4 {
  margin: 0.72rem 0 0.32rem;
  color: #2b3b4f;
}

.pos-login-card .subtitle {
  color: #637487;
  margin-bottom: 1.1rem;
}

.pos-login-form .form-label {
  color: #4b5c70;
  font-size: 0.79rem;
  font-weight: 600;
}

.pos-login-form .input-group-merge {
  border: 1px solid rgba(67, 89, 113, 0.18);
  border-radius: 0.78rem;
  overflow: hidden;
}

.pos-login-form .input-group-merge:focus-within {
  border-color: rgba(79, 91, 255, 0.58);
  box-shadow: 0 0 0 0.16rem rgba(79, 91, 255, 0.12);
}

.pos-login-form .input-group-text,
.pos-login-form .form-control {
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 44px;
  box-shadow: none !important;
}

.pos-login-form .input-group-text {
  background: rgba(105, 108, 255, 0.08);
  color: #4c57dd;
  min-width: 42px;
  justify-content: center;
}

.pos-login-form .password-toggle {
  cursor: pointer;
  background: #fff;
}

.pos-login-form .btn-primary {
  min-height: 45px;
  border-radius: 0.78rem;
  background: linear-gradient(135deg, #696cff 0%, #5f63f2 100%);
  border: 1px solid rgba(79, 91, 255, 0.42);
  font-weight: 700;
}

.pos-login-form .btn-primary:hover {
  transform: translateY(-1px);
}

.pos-login-links {
  font-size: 0.86rem;
}

@media (max-width: 991.98px) {
  .pos-login-page {
    padding: 0.95rem;
  }

  .pos-login-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    max-width: 460px;
  }

  .pos-login-side {
    display: none;
  }

  .pos-login-panel {
    padding: 1.25rem 1rem;
  }

  .pos-login-card h4 {
    font-size: 1.32rem;
  }
}
