@font-face {
  font-family: poppin;
  src: local("Poppins-Medium"), url(../font/poppins.ttf) format("woff");
}

@font-face {
  font-family: Pyidaungsu;
  src: local("Pyidaungsu"), url(../font/Pyidaungsu.ttf);
}

@font-face {
  font-family: argon;
  src: local("argon"), url(../font/argon.ttf);
}

@font-face {
  font-family: hopong;
  src: local("hopong"), url(../font/hopongv1.ttf);
}

:root {
    font-size: 10px;
  --primarycolor: #f4a261;
  --secondarycolor: #0f3460;
  --bg-color: #1A1A2E;
  --smanga-bg: rgba(183,195,234,0.63);
  --text-white: #fff;
  --text-black: #000;
  --logo: url("../img/logo2.png");
  --body-font-size: 10px;
  --gradient: linear-gradient(to right, #f4a261, #b0c9d7);
}

.authbox{
    width: 100%;
    max-width: 860px;
    background-color: var(--primarycolor);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-radius: 25px;
    margin: 0 auto;
}

.authbox.loginbox{
  display: flex;
  flex-direction: row;
}

.authbox .imgcontainer{
    width: 100%;
    max-width: 390px;
    border-radius: 25px;
    overflow: hidden;
}

.authbox .imgcontainer img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.formcontainer{
    width: 100%;
    max-width: 445px;
}

.google-icon{
    width: 30px;
    height: 30px;
}

.loginbox .inputbox{
    background-color: var(--secondarycolor);
    border: none;
    color: var(--text-white);
    padding: 5px 10px;
    font-size: 1.6rem;
    border-radius: 6px;
}

.loginbox .inputbox:focus{
    outline: none;
    box-shadow: none;
    border: none;
    background-color: var(--secondarycolor);
    color: var(--text-white);
}

.loginbox .inputbox::placeholder{
    color: var(--text-white);
}

.auth-ttl{
  font-size: 2.4rem;
}

.inputlabel{
  font-size: 1.8rem;
  font-weight: 600;
}

.login-check-label{
  font-size: 1.6rem;
  color: var(--text-white);
}

.login-checkbox{
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 0;
  background-color: var(--primarycolor);
}



/* Hide default checkbox */
.login-checkbox {
  position: absolute;
  opacity: 0;
}

/* Style the custom checkbox */
.login-check-label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
  color: #000;
  line-height: 1.4;
}

/* Create the custom checkbox box */
.login-check-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background-color: #0f3460; /* Default background */
  border-radius: 4px;
  transition: background-color 0.3s;
}

/* Create the checkmark */
.login-check-label::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  width: 10px;
  height: 5px;
  border: solid white;
  border-width: 0 0 3px 3px;
  transform: translateY(-50%) rotate(-45deg);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Checked state */
.login-checkbox:checked + .login-check-label::before {
  background-color: #0f3460;
}

.login-checkbox:checked + .login-check-label::after {
  opacity: 1;
}

.loginFormLink{
  font-size: 1.6rem;
  color: var(--text-black);
  text-decoration: underline;
}

.loginBtn{
  width: 100%;
  height: 35px;
  border-radius: 25px;
  font-size: 1.6rem;
  color: var(--text-white);
  background-color: var(--secondarycolor);
  border: none;
  outline: none;
  cursor: pointer;
}

.google-btn{
  width: 100%;
  height: 35px;
  border-radius: 25px;
  font-size: 1.6rem;
  color: var(--text-white);
  background-color: var(--secondarycolor);
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.google-icon{
  width: 20px;
  height: 20px;
}

@media screen and (max-width: 768px) {
  .authbox.loginbox{
    flex-direction: column-reverse;
  }

  .auth-ttl{
    font-size: 2rem;
  }

  .inputlabel{
    font-size: 1.6rem;
  }
  
}

/* Start Register CSS  */
.authbox.registerbox{
  width: 100%;
  max-width: 600px;
}

.register-text{
  font-size: 1.6rem;
  color: var(--text-black);
  text-decoration: none;
}
/* End Register CSS  */