/* form_login */
body {
    margin: 0;
    padding: 0;
    height: 100vh; /* Tinggi sesuai viewport */
    width: 100vw;  /* Lebar sesuai viewport */
    background: url(../img/img-local/sample.jpg) no-repeat center center;
    background-size: cover; /* Menyesuaikan ukuran gambar */
    font-family: sans-serif;
    display: flex;
    align-items: center; /* Pusatkan vertikal */
    justify-content: center; /* Pusatkan horizontal */
    position: relative; /* Diperlukan untuk pseudo-element */
}

body::before {
    content: ""; /* Diperlukan untuk pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay hitam dengan transparansi 50% */
    z-index: -1; /* Agar tidak menutupi konten */
}

  .loginBox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.6); /* Warna putih dengan transparansi */
    border-radius: 10px;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0.5, 0.2); /* Tambahkan bayangan agar terlihat elegan */
  }

.user {
  margin: 0 auto;
  display: block;
  margin-bottom: 20px;
}

h1 {
  font-family: Montserrat;
  margin: 0;
  padding: 0 0 20px;
  color: #262626;
  text-align: center;
}

.loginBox input {
  width: 100%;
  margin-bottom: 20px;
}

.loginBox input[type="text"],
.loginBox input[type="password"],
.loginBox input[type="tel"],
.loginBox input[type="email"] {
  border: none;
  border-bottom: 2px solid #262626;
  outline: none;
  height: 40px;
  color: #262626;
  background: transparent;
  font-size: 16px;
  padding-left: 20px;
  box-sizing: border-box;
}

.loginBox input[type="text"]:focus,
.loginBox input[type="password"]:focus {
  border-bottom: 2px solid #1975c0;
}

.inputBox {
  position: relative;
}

.inputBox span {
  position: absolute;
  top: 10px;
  color: #262626;
}

.loginBox input[type="submit"] {
  border: none;
  outline: none;
  height: 40px;
  font-size: 16px;
  background: #155d98;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  font-family: raleway;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.loginBox input[type="submit"]:hover {
  background: #1975c0;
}

.loginBox a {
  color: #262626;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  font-family: raleway;
  padding-left: 80px;
}
