.masuk {
  background-color: #ffffff;
  width: 100%;
  min-height: 100vh;
  height: 800px;
  position: relative;
  overflow-x: hidden;
}

.masuk .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 348px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #15406a;
}

.masuk .image {
  width: 80px;
  height: 80px;
  margin-top: 39px;
  aspect-ratio: 1;
  object-fit: cover;
}

.masuk .text-wrapper {
  width: auto;
  height: auto;
  margin-top: 11px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 22px;
  text-align: center;
}

.masuk .div {
  width: auto;
  height: auto;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 14px;
  text-align: center;
}

.masuk .div-2 {
  position: absolute;
  top: 220px;
  left: 50%;
  transform: translateX(-50%);
  width: min(767px, calc(100% - 32px));
  max-width: 767px;
  min-height: 543px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.05),
    0 20px 40px rgba(0, 0, 0, 0.15);
  animation: fadeUp 0.6s ease;
}

.masuk .div-2::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -12px;
  height: 24px;
  background: rgba(0, 0, 0, 0.2);
  filter: blur(20px);
  border-radius: 50%;
  z-index: -1;
}

.masuk .auth-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 20;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 12px;
  width: min(420px, calc(100% - 32px));
  padding: 14px 14px 16px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #ffffff;
  border: 1px solid #bbf7d0;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  color: #14532d;
  font-family: "Poppins", sans-serif;
  animation: toastIn 0.28s ease;
}

.masuk .auth-toast-error {
  border-color: #fecaca;
  color: #7f1d1d;
}

.masuk .auth-toast-success {
  border-color: #bbf7d0;
  color: #14532d;
}

.masuk .auth-toast.is-hidden {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.masuk .auth-toast p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.masuk .auth-toast-content {
  min-width: 0;
}

.masuk .auth-toast-content strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.masuk .auth-toast-content ul {
  margin: 0;
  padding-left: 18px;
}

.masuk .auth-toast-content li {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.masuk .auth-toast-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #16a34a;
}

.masuk .auth-toast-error .auth-toast-icon {
  background-color: #dc2626;
}

.masuk .auth-toast-success .auth-toast-icon::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.masuk .auth-toast-error .auth-toast-icon::before,
.masuk .auth-toast-error .auth-toast-icon::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 6px;
  width: 12px;
  height: 2px;
  border: none;
  border-radius: 999px;
  background-color: #ffffff;
}

.masuk .auth-toast-error .auth-toast-icon::before {
  transform: rotate(45deg);
}

.masuk .auth-toast-error .auth-toast-icon::after {
  transform: rotate(-45deg);
}

.masuk .auth-toast-close {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 8px;
  background-color: transparent;
  color: #14532d;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  line-height: 1;
}

.masuk .auth-toast-error .auth-toast-close {
  color: #7f1d1d;
}

.masuk .auth-toast-close:hover {
  background-color: #dcfce7;
}

.masuk .auth-toast-error .auth-toast-close:hover {
  background-color: #fee2e2;
}

.masuk .auth-toast-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: #16a34a;
  transform-origin: left;
  animation: toastTimer 7s linear forwards;
}

.masuk .auth-toast-error .auth-toast-progress {
  background-color: #dc2626;
}

.masuk .login-form {
  position: absolute;
  inset: 0;
}

.masuk .text-wrapper-2 {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #15406a;
  font-size: 22px;
  margin: 0;
  white-space: nowrap;
}

.masuk .p {
  position: absolute;
  top: 83px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #15406acc;
  font-size: 14px;
  margin: 0;
  white-space: nowrap;
}

.masuk .email {
  position: absolute;
  top: 129px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 568px;
  height: 85px;
}

.masuk .kata-sandi {
  position: absolute;
  top: 238px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 568px;
  height: 82px;
}

.masuk .text-wrapper-7 {
  position: absolute;
  top: 0;
  left: 19px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #15406a;
  font-size: 14px;
}

.masuk .rectangle-5,
.masuk .rectangle-6 {
  position: absolute;
  left: 0;
  width: 100%;
  height: 52px;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #15406a26;
  box-shadow: 0px 2px 6px #15406a1a, 0px 6px 16px #00000014;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.masuk .rectangle-5:focus-within,
.masuk .rectangle-6:focus-within {
  transform: translateY(-1px);
  border-color: #15406a66;
  box-shadow: 0 8px 20px rgba(21, 64, 106, 0.14);
}

.masuk .rectangle-5 {
  top: 33px;
}

.masuk .rectangle-6 {
  top: 30px;
}

.masuk .text-wrapper-8,
.masuk .text-wrapper-9 {
  position: absolute;
  top: 0;
  left: 66px;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #15406a;
  font-size: 14px;
  padding: 0;
}

.masuk .text-wrapper-8:-webkit-autofill,
.masuk .text-wrapper-8:-webkit-autofill:hover,
.masuk .text-wrapper-8:-webkit-autofill:focus,
.masuk .text-wrapper-9:-webkit-autofill,
.masuk .text-wrapper-9:-webkit-autofill:hover,
.masuk .text-wrapper-9:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
  box-shadow: 0 0 0 1000px #ffffff inset;
  transition: background-color 9999s ease-in-out 0s;
}

.masuk .text-wrapper-8 {
  right: 16px;
  width: calc(100% - 82px);
}

.masuk .text-wrapper-9 {
  right: 50px;
  width: calc(100% - 116px);
}

.masuk .text-wrapper-8::placeholder,
.masuk .text-wrapper-9::placeholder {
  color: #15406a8c;
}

.masuk .streamline-cyber,
.masuk .streamline-padlock {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  object-fit: contain;
  pointer-events: none;
}

.masuk .toggle-password {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.masuk .toggle-password:hover {
  transform: translateY(-50%) scale(1.08);
}

.masuk .toggle-password:active {
  transform: translateY(-50%) scale(0.95);
}

.masuk .mdi-eye {
  width: 24px;
  height: 24px;
  display: block;
}

.masuk .group {
  top: 344px;
  width: calc(100% - 80px);
  max-width: 567px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.masuk .remember-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.masuk .rectangle-3 {
  width: 18px;
  height: 18px;
  background-color: #ffffff;
  border-radius: 4px;
  border: 1.5px solid #15406a;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: background-color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.masuk .rectangle-3:hover {
  transform: scale(1.06);
}

.masuk .rectangle-3:checked {
  background-color: #15406a;
  position: relative;
}

.masuk .rectangle-3:checked::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
}

.masuk .text-wrapper-3 {
  margin-left: 13px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #000000;
  font-size: 14px;
  cursor: text;
}

.masuk .text-wrapper-4 {
  margin-left: auto;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #15406a;
  font-size: 14px;
  text-decoration: underline;
}

.masuk .frame-wrapper {
  top: 408px;
  width: calc(100% - 80px);
  max-width: 563px;
  height: 92px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.masuk .frame {
  width: 100%;
  height: 92px;
  position: relative;
}

.masuk .rectangle-4 {
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
  height: 52px;
  background-color: #15406a;
  border-radius: 12px;
  box-shadow: 0px 6px 16px #15406a29;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.masuk .rectangle-4:hover {
  background-color: #1a4f82;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 64, 106, 0.28);
}

.masuk .rectangle-4:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(21, 64, 106, 0.2);
}

.masuk .text-wrapper-6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
}

.masuk .belum-punya-akun {
  position: absolute;
  top: 69px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 100%;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  white-space: nowrap;
}

.masuk .span {
  color: #000000;
}

.masuk .text-wrapper-5 {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #15406a;
  font-size: 14px;
  text-decoration: underline;
}

.masuk .line {
  display: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastTimer {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@media (max-width: 768px) {
  .masuk {
    height: auto;
    min-height: 100vh;
    padding-bottom: 40px;
  }

  .masuk .header {
    height: 300px;
  }

  .masuk .div-2 {
    top: 200px;
  }

  .masuk .belum-punya-akun {
    width: min(100%, 420px);
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .masuk .auth-toast {
    top: 16px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .masuk .header {
    height: 270px;
  }

  .masuk .image {
    width: 72px;
    height: 72px;
  }

  .masuk .text-wrapper {
    font-size: 18px;
  }

  .masuk .div {
    font-size: 13px;
  }

  .masuk .text-wrapper-2 {
    font-size: 20px;
  }

  .masuk .p {
    font-size: 13px;
    width: 85%;
    text-align: center;
    white-space: normal;
  }

  .masuk .div-2 {
    top: 190px;
    min-height: 540px;
    width: calc(100% - 24px);
    border-radius: 18px;
  }

  .masuk .email,
  .masuk .kata-sandi,
  .masuk .group,
  .masuk .frame-wrapper {
    width: calc(100% - 40px);
  }

  .masuk .text-wrapper-7,
  .masuk .text-wrapper-3,
  .masuk .text-wrapper-4,
  .masuk .belum-punya-akun {
    font-size: 13px;
  }

  .masuk .belum-punya-akun {
    width: 100%;
    white-space: normal;
  }

  .masuk .rectangle-5,
  .masuk .rectangle-6 {
    width: 100%;
    height: 48px;
  }

  .masuk .text-wrapper-8,
  .masuk .text-wrapper-9 {
    font-size: 13px;
  }
}
