* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* font-family: 'Lexend', sans-serif; */
  font-family: 'Nunito', sans-serif;

}

body, html {
  height: 100%;
  background-color: #f9fafb;
}

.container {
  display: flex;
  height: 100vh;
}

/* Left image side for desktop */
.image-side {
  flex: 1;
  background: url("../images/muslimyoung.jpg") no-repeat center center;
  background-size: cover;
  display: block;
  position: relative;
}

.image-side::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.0); /* adjust opacity here */
  z-index: 1;
}



/* Right login form */
.form-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  padding: 2rem;
}

.login-form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

.logo {
  width: 250px;
  margin: 0 auto 2rem;
  display: block;
}

.title {
  font-weight: 700;
  font-size: 1.5rem;
  text-align: left;
  margin-bottom: 0.25rem;
}

.subtitle {
  text-align: left;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #6b7280;
}

.google-btn {
  background-color: white;
  border: 1px solid #d1d5db;
  padding: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 1rem;
}

/* "atau" separator */
.separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1rem 0;
}

.separator hr {
  flex: 1;
  height: 1px;
  background-color: #d1d5db;
  border: none;
}

.separator span {
  margin: 0 0.75rem;
  color: #6b7280;
  font-size: 0.875rem;
}

label {
  font-size: 0.875rem;
  margin: 0.5rem 0 0.25rem;
  color: #374151;
}

input {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

/* Blue login button */
.login-btn {
  background-color: #466DC9;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 9999px;
  font-weight: 500;
  margin-top: 0.5rem;
  cursor: pointer;
}

.login-btn:hover {
  background-color: #3357b1;
}

.register-text {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 1rem;
}

.register-text a {
  color: #466DC9;
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .image-side {
    display: none;
  }

  .form-side {
    flex: none;
    height: 100vh;
    padding: 1rem;
  }

  .login-form {
    justify-content: center;
  }
}

.google-login-button {
    background-color: #fff;
    height: 40px;
    border: 1px solid #ccc !important;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    padding: 5px;
    font-size: 16px;
    cursor: pointer;
}
.google-login-button:hover {
    background-color: #f1f1f1;
}
.google-login-button img {
    margin-top: 0px;
    width: 20px;
    margin-right: 10px;
}

.remember-row {
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  font-size: 14px;
  color: #4b5563;
}

select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  background-color: white;
  font-size: 0.95rem;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* agar teks tidak menabrak ikon */
}

.toggle-eye {
  position: absolute;
  right: 10px;
  cursor: pointer;
  font-size: 18px;
  color: #6b7280;
  user-select: none;
}

.error-message {
  color: red;
  font-size: 13px;
  margin-bottom: 8px;
}