:root {
  --sss-font: "Montserrat", sans-serif;
  --sss-blue: #1f4fa3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--sss-font);
  background: #f4f8fc;
  color: #212529;
}
.container {
  display: flex;
  min-height: 100vh;
}
.left {
  flex: 2;
  background: url("/asset/login.jpg") no-repeat center/cover;
}
.right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 25px;
}
.logo-img {
  width: 90px;
}
.brand-text {
  font-weight: 800;
  color: var(--sss-blue);
  font-size: 2rem;
  margin: 0;
}
.subtitle {
  width: 100%;
  max-width: 360px;
  font-size: 1rem;
  margin-bottom: 15px;
}
input {
  width: 100%;
  max-width: 360px;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #d0d7e2;
  font-size: 15px;
}
input:focus {
  outline: none;
  border-color: var(--sss-blue);
}
.forgot-wrapper {
  width: 100%;
  max-width: 360px;
  text-align: right;
  margin-bottom: 10px;
}
.forgot-link {
  color: var(--sss-blue);
  text-decoration: none;
  font-size: 0.9rem;
}
button {
  width: 100%;
  max-width: 360px;
  padding: 14px;
  border: none;
  border-radius: 6px;
  background: var(--sss-blue);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
button:hover {
  background: #163f85;
}
.links {
  margin-top: 30px;
  font-size: 0.875rem;
  text-align: center;
}
.links a {
  color: #2b5cff;
  text-decoration: none;
}
.icon-home {
  width: 20px;
  height: 20px;
}
.error-text {
  width: 100%;
  max-width: 360px;
  margin-bottom: 15px;
  color: #d93025;
  font-size: 0.9rem;
  display: none;
}
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.popup {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  text-align: center;
  max-width: 300px;
  width: 90%;
}
.popup-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background: var(--sss-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.popup-btn:hover {
  background: #163f85;
}
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .left {
    display: none;
  }
  .right {
    padding: 50px 25px;
  }
}
#loginBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#loginBtn .btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

#loginBtn.loading .btn-loader {
  display: inline-block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
