html,
body {
  height: 100%;
  margin: 0;
}

/* Kontainer utama pakai flex untuk mudah switch layout */
.login-container {
  display: flex;
  min-height: 100vh;
  /* full viewport height */
  align-items: stretch;
}

/* Sisi kiri: gambar background */
.left-image {
  flex: 1 1 50%; 
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-image .logo-container {
  text-align: center;
}

.left-image .logo-container img {
  width: 150px;
  height: auto;
}

/* Sisi kanan: form */
.right-form {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: #f7f7f7;
  position: relative;
}

/* Kotak form */
.login-box {
  width: 100%;
  max-width: 420px;
}

/* Agar layout desktop terlihat rapi saat tinggi layar kecil */
@media (min-width: 992px) {
  .left-image {
    min-height: 100vh;
  }

  .right-form {
    min-height: 100vh;
  }
}

/* Mobile: kolom (flex-direction: column) dan image tetap tampil */
@media (max-width: 767px) {
  .login-container {
    flex-direction: column;
  }

  .left-image {
    flex: none;
    height: 25dvh;
    /* sedikit ruang untuk gambar di atas */
  }

  .right-form {
    padding: 20px;
  }

  .login-box {
    max-width: 100%;
  }
}

/* Sentuhan kecil UI */
.login-header {
  margin-bottom: 20px;
  background: linear-gradient(90deg,rgba(15, 88, 146, 1) 0%, rgba(7, 130, 191, 1) 100%);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 25px 25px 0 0;
  font-size: 32px;
  text-align: center;
}
.bg-gradient-1{
  color:#fff;
  background: linear-gradient(90deg,rgba(15, 88, 146, 1) 0%, rgba(7, 130, 191, 1) 100%);
}
.bg-gradient-blue{
  background: linear-gradient(90deg,
  rgba(116, 187, 238, 1) 0%,
  rgba(44, 183, 186, 1) 100%) !important;
  color:#fff !important;
}
.login-footer {
  margin-top: 12px;
  font-size: 13px;
}

.input-gradient,
.btn-gradient {
  background: linear-gradient(90deg,
      rgba(24, 82, 140, 1) 0%,
      rgba(7, 139, 198, 1) 100%) !important;
  color: #fff !important;
}

input.input-gradient::-webkit-input-placeholder {
  color: white;
}

div.checkbox {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .right-form {
    border-radius: 25px 25px 0 0;
    overflow: hidden;
    margin-top: -2rem;
    align-items: baseline;
    padding-bottom: 5rem;
  }
}

@media (min-width: 768px) {
  .left-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
  }

  .right-form {
    margin-left: 50%;
    /* agar form tidak tertutup gambar kiri */
    width: 50%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background-color: #f7f7f7;
  }
}

footer{
  position: absolute !important;
  bottom: 0;
  width: 100%;
  background-color: #efefef !important;
}
.footer {
	font-size: 12px;
	padding: 8px 20px 5px;
	position: relative;
}