body,
html {
  height: 100%;
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background-image: url("/assets/images/login.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(89, 151, 230, 0.7),
    rgba(110, 198, 217, 0.7)
  );
  z-index: 0;
  pointer-events: none;
}

.container-split {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.split-left,
.split-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-left {
  background: transparent;
}

.split-left img {
  max-width: 80%;
  height: auto;
}

.split-right {
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-card {
  width: 600px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #0002;
  padding: 32px;
  text-align: center;
}

@media (max-width: 600px) {
  .login-card {
    width: 95vw;
    max-width: 99vw;
    padding: 16px;
  }

  .split-left img {
    max-width: 80%;
    height: auto;
  }

  .login-title {
    font-size: 20px;
  }

  .container-split {
    flex-direction: column;
  }

  .split-left {
    display: none !important;
  }

  .bg-overlay {
    display: none !important;
  }

  .split-right {
    width: 100%;
    min-height: 100vh;
    background: #fff;
  }

  body,
  html {
    background-image: none !important;
    background-color: #fff;
  }
}

.logo-ekinerja {
  max-width: 250px;
  margin-bottom: 24px;
}

.login-title {
  color: #5997e6;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 12px;
}

.login-desc {
  color: #7895b2;
  font-size: 16px;
  margin-bottom: 24px;
}

.form-group {
  text-align: left;
  margin-bottom: 18px;
  position: relative;
}

.form-label {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 6px;
  display: block;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #cfd8dc;
  margin-bottom: 6px;
  box-sizing: border-box;
}

/* Eye button style */
.password-toggle {
  position: absolute;
  right: 12px;
  top: 38px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 19px;
  padding: 0;
}

.btn-login {
  background-color: #5997e6;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 0;
  font-size: 17px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-login:hover {
  background-color: #446bb0;
  transform: scale(1.03);
}

.btn-sso {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px 0;
  font-size: 17px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-sso:hover {
  background-color: #e0e0e0;
  transform: scale(1.03);
}

.sso-container {
  margin-top: 20px;
}

.sso-container a {
  display: block;
  margin-top: 10px;
  text-decoration: none;
}

.forgot-link {
  color: #5997e6;
  font-size: 14px;
  text-align: right;
  margin-top: 5px;
  text-decoration: none;
}

.copyright {
  color: #7895b2;
  font-size: 13px;
  margin-top: 32px;
}

.copyright a {
  color: #5997e6;
  text-decoration: none;
}

.alert {
  background: #ffebee;
  color: #c62828;
  border-radius: 6px;
  padding: 8px 14px;
  margin-bottom: 18px;
  font-size: 15px;
}
