@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root{
  --body-font: "Kanit", sans-serif;
}

:root{
  --card-radius: 8px;
}

body{
  background-color:black ;
}

/*================ Login Card =================*/

.login-card{
  max-width: 400px;
  width: 100%;
  max-height: 500px !important;
  height: 100%;
  border-radius: var(--card-radius);
  font-family: var(--body-font);
  position: relative;
}

/*================ Login Logo =================*/

.login-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.login-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-inside {
  position: absolute;
  top: 20px; 
  right: 20px;
}

.logo-inside img {
  height: 64px;
  width: auto;
  opacity: 0.9;
}

/*================ Body & HTML =================*/

html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  justify-content: center;
}

/*================ Site Logo =================*/

.site-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
  display: inline-block;
}

.site-logo img {
  height: 100px !important;
  width: auto;
  display: block;
}

/*================ Main =================*/

main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/*================ Card =================*/

.card{
  background: #fff;
  border-radius: var(--card-radius);
}

/*================ Headings =================*/

h1{
  font-size: clamp(26px, 2.2vw, 32px);
}

/*================ Form Labels =================*/

.form-label{
  color:#6c757d !important;
}

/*================ Form Controls =================*/

.form-control{
  background-color:#e9ecef;
  border: 1px solid #dee2e6;
  border-radius: 14px;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  font-family: var(--body-font);
}

.form-control:focus{
  background-color:#f1f3f5;
  border-color:#000;
  box-shadow: 0 0 0 .25rem rgba(0,0,0,0.12);
  color:#000;
}

/*================ Buttons =================*/

.btn-dark{
  border-radius: 16px;
  padding-top: .95rem;
  padding-bottom: .95rem;
  letter-spacing: .2px;
  margin-top: 30px;
  margin-bottom: -25px;
}
.btn-dark:hover,
.login-btn:hover {
  background-color: #74aa9c;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.hover-underline:hover{
  text-decoration: underline !important;
}

.card.shadow-lg{
  box-shadow: none !important;
}



/*================ Responsive =================*/

@media (max-width: 480px){
  .card-body{ 
    padding: 1.5rem !important;
  }
}