/* CSS FOR AUTH */

/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
} */

body {
  font-family: 'Poppins';
  background: #111;
  color: #333;
  margin: 0;
}


h1 {
    font-family: 'Poppins';
}

h2, .h2 {
    font-family: 'Poppins';
}

h3 {
    font-family: 'Poppins';
}

h4 {
  font-family: 'Poppins';
}
p, a, body .span {
  font-family: 'Poppins';
}

.container {
  display: flex;
  height: 100vh;
  width: 100vw;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.login-box {
  display: flex;
  /* width: 100vw;
  height: 100vh; */
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.form-section {
  flex: 1;
  padding: 0px 5em 0em 1em;
  overflow: visible; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-section .logo {
  width: auto;
  height: 100px;
  margin-bottom: 10px;
  margin-top: 5px; 
  object-fit: contain;
  align-self: flex-start; 
  /* DELETE BG LOGIN */
  margin: auto;
}

.form-section h2 {
  margin-bottom: 10px;
  font-family: Poppins;
  font-weight: 700;
  font-size: 36px;
  color: #232323;
    text-transform: unset;
}

.form-section p {
  margin-bottom: 30px;
  color: #777;
}

input
{
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 13px;
    font-family: Poppins;
    font-weight: 400;
    font-size: 16px;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  flex: 1;
  height: 44px; 
  padding: 12px;
  padding-right: 40px; 
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 20px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  cursor: pointer;
  color: #888;
  font-size: 16px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 2em;
}

.checkbox-container label {
  font-size: 14px;
  margin: 0;
  margin-left: 1em;
}

.signin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 8px;
  background-color: #2da66d;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 20px;
  text-transform: unset;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  color: #888;
  font-size: 16px;
}

.divider {
  text-align: center;
  margin: 5px 0;
  color: #999;
}

.social-login button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding: 0;
    border: 1.5px solid #465FF166;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 10px; /* jarak antar tombol */
  margin: 20px 0px;
}

.social-login img {
  width: 24px;
  height: 24px;
}

.footer-links {
  flex-wrap: wrap;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.footer-links a {
  font-size: 12px;
  color: #777;
  margin-right: 10px;
  text-decoration: none;
}

.image-section {
    flex: 1.7;
    background: url(../img/bg-login.jpg) no-repeat center center;
    background-size: cover;
    border-radius: 20px;
    border: none;
    /* DELETE BG LOGIN */
    display: none;
}

/* sign in with qr */
.qr-section {
  display: flex;
  justify-content: left;
  margin-bottom: 20px;
}

.qr-code {
  width: 150px;
  height: auto;
}

/* OTP Verification */
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.otp-inputs input {
  /* width: 40px;
  height: 50px; */
  text-align: center;
  font-size: 24px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}

.otp-inputs input:focus {
  border-color: #2da66d;
  box-shadow: 0 0 3px rgba(45, 166, 109, 0.5);
}

/* try again otp */
.otp-inputs.error input {
  border-color: #e74c3c;
  background-color: #fff; /* pastikan tetap putih */
  color: #333; /* pastikan teks terlihat */
}

.otp-timer {
  font-size: 1.2rem;
  font-weight: bold;
  color: #dc3545; /* teks merah */
  border: 2px solid #dc3545; /* border merah */
  padding: 10px 16px;
  border-radius: 8px;
  text-align: center;
  width: fit-content;
  margin: 0 auto 1rem auto; /* tengah dan beri margin bawah */
}

/* responsive */
@media (max-width: 768px) {
  .container {
    padding: 20px; /* tambahkan padding supaya gak mepet */
  }

  .login-box {
    flex-direction: column;
    height: auto;
    width: 100%;
    max-height: none;
  }

  .form-section {
    padding: 30px 20px;
  }

  .image-section {
    display: none;
  }
}
main {
    padding: 1em 1.5em;
    background: #fff;
}

.input-field {
    width: unset;
    padding: unset;
    font-family: unset;
    font-size: unset;
    color: unset;
    text-align: unset;
    border: unset;
}

.blue-border {
    border: 1px solid #2196f3 !important; /* Materialize blue */
    border-radius: 10px;
    padding: 10px;
  }
input:placeholder-shown {
    font-family: unset;
    font-size: 12px;
    color: unset;
}
.input-field input:focus {
  border-color: #2196f3 !important;
  box-shadow: 0 1px 0 0 #2196f3 !important;
}

.input-field label {
  color: #2196f3 !important;
}

.input-field input:focus + label {
  color: #2196f3 !important;
}
.floating-label-input {
  display: block;
  width: 100%;
  padding: 10px 8px;
  font-size: 12px;
  color: #111827;
  background-color: transparent;
  border: 2px solid #d1d5db;
  appearance: none;
  outline: none;
}

.floating-label-input:focus {
  border-color: #2563eb;
}

.floating-label {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  font-size: 0.875rem;
  color: #6b7280;
  background-color: white;
  padding: 0 0.25rem;
  transition: all 0.2s ease;
  pointer-events: none;
}

.floating-label-input::placeholder {
  color: transparent;
}

.floating-label-input:focus + .floating-label,
.floating-label-input:not(:placeholder-shown) + .floating-label {
  transform: translateY(-1.5rem);
  color: #2563eb;
  font-size: 0.75rem;
}


.hr-text {
    line-height: 1em;
    position: relative;
    outline: 0;
    border: 0;
    margin: 0;
    color: black;
    text-align: center;
    height: 1.5em;
    opacity: .5;

    &:before
    {
        content: '';
        /*  // use the linear-gradient for the fading effect
                // use a solid background color for a solid bar background: linear-gradient(to right, transparent, #818078, transparent);*/
        background: black;
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
    }

    &:after {
        content: attr(data-content);
        position: relative;
        display: inline-block;
        color: black;
        padding: 0 .5em;
        line-height: 1.5em;
        font-size: 10px;
        /*        // this is really the only tricky part, you need to specify the background color of the container element... color: #818078;*/
        background-color: #fcfcfa;
    }

}

/* DELETE BG LOGIN */
.div-all{
    width: 100%;
}
.div-all > div{
    width: 50%;
    margin: auto;
}
