/*//////////////////////////////////////////////////////////////////
[ FONT ]*/

@font-face {
  font-family: sarabun;
  src: url( '../../fonts/th-sarabun/Sarabun-Light.ttf');
}

@font-face {
  font-family: sarabun;
  src: url('../../fonts/th-sarabun/Sarabun-Medium.ttf');
  font-weight: bold;
}

@font-face {
  font-family: prompt;
  src: url('../../fonts/prompt/Prompt-Regular.ttf');
}

@font-face {
  font-family: prompt;
  src: url('../../fonts/prompt/Prompt-Bold.ttf');
  font-weight: bold;
}
@font-face {
  font-family: notosans;
  src: url('../../fonts/noto-sans/NotoSansJP-Bold.ttf');
  font-weight: bold;
}


body {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  background: #f3f3f3;
  flex-direction: column;
  margin-top: -8%;
}
.app-name{font-family: notosans; margin-top: 22px; font-size: 24px; color:rgb(40 76 120);}
.title-detail{font-family: notosans; color:#777;}
.login100-form { font-family: sarabun; margin-top: 50px;}
.main {
  background-color: #fff;
  border-radius: 9px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 10px 50px;
  transition: transform 0.2s;
  width: 500px;
  text-align: center;
}
.btn-show-password{
  position: absolute;
  margin-left: 365px;
  margin-top: 6px;
  font-size: 20px;
  color: rgb(189 195 199 / 76%);
}

.fa-eye:hover, .fa-eye-slash:hover{ cursor: pointer; color:rgb(40 76 120);}

.input100{ 
  border-top:none;
  border-left:none;
  border-right:none;
  border-radius: 0px;
 }

 .input100:focus{
  outline: none;
  border-bottom:1px solid rgb(40 76 120);
  
 }
 .is-invalid{
  border-bottom:1px solid #dc3545;
 }


label {
  display: block;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: left;
  color: #595959;
  font-size: 14px;
}

.invalid-feedback{
  text-align: left;
  display: block;
}
input {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  
}

button {
  padding: 12px 15px;
  border-radius: 5px;
  margin-top: 35px;
  margin-bottom: 35px;
  border: none;
  color: white;
  cursor: pointer;
  background-color: rgb(40 76 120);
  width: 100%;
  font-size: 20px;
  font-family: prompt;
}


@media (max-width: 576px) { 
  .main {
    width: auto;
    padding: 10px 25px;
  }
  body {
    margin: 0;
  }
  .btn-show-password{
    margin-left: 292px;
  }
}