.login-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 546px;
  padding: 62px 48px 56px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(8, 123, 109, 0.1);
}

.card-brand {
  text-align: center;
}

.card-brand img {
  height: 48px;
  width: auto;
}

.card-brand .brand-sub {
  font-size: 11.5px;
}

.card-lockup {
  align-items: flex-start;
}

.card-brand h1 {
  margin: 38px 0 5px;
  font-family: "Segoe UI Brand", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #52625f;
}

.card-brand h2 {
  margin: 0;
  font-family: "Segoe UI Brand", "Segoe UI", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.3px;
}

.card-brand p {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.login-form {
  margin-top: 38px;
}

.field {
  position: relative;
  margin-bottom: 18px;
}

.field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #8b9a97;
  pointer-events: none;
}

.field-icon svg {
  width: 20px;
  height: 20px;
}

.field input {
  width: 100%;
  height: 58px;
  padding: 0 48px 0 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input::placeholder {
  color: #9aa8a5;
}

.field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 182, 170, 0.14);
}

.field input.is-invalid {
  border-color: var(--danger);
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #8b9a97;
  cursor: pointer;
  border-radius: 8px;
}

.toggle-password:hover {
  color: var(--teal-dark);
  background: var(--soft);
}

.toggle-password svg {
  width: 21px;
  height: 21px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 24px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5f6f6c;
  cursor: pointer;
}

.remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  cursor: pointer;
}

.form-row a {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
}

.form-row a:hover {
  text-decoration: underline;
}

.btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 12px;
  background: var(--teal);
  color: var(--white);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.btn-login:hover {
  background: var(--teal-hover);
}

.btn-login:active {
  transform: translateY(1px);
}

.btn-login svg {
  width: 20px;
  height: 20px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 22px;
  font-size: 13px;
  color: #8b9a97;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.btn-public {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 54px;
  border: 1.5px solid #9edbd5;
  border-radius: 12px;
  background: var(--white);
  color: var(--teal-dark);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.btn-public:hover {
  background: #f0fbf9;
  border-color: var(--teal);
}

.btn-public svg {
  width: 18px;
  height: 18px;
}

.form-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fdecec;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.45;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
