/*==================================================
  LOGIN PAGE STYLES
  Classic SMS Panel - Login
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&family=Montserrat:wght@700&display=swap');

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
  height: 100%;
  font-family: 'Poppins', sans-serif;
}

a {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0;
  transition: all 0.4s;
}
a:focus { outline: none !important; }
a:hover { text-decoration: none; color: #57b846; }

h1,h2,h3,h4,h5,h6 { margin: 0; }

p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

ul, li { margin: 0; list-style-type: none; }

input { outline: none; border: none; }
textarea { outline: none; border: none; }
textarea:focus, input:focus { border-color: transparent !important; }

input:focus::placeholder { color: transparent; }
textarea:focus::placeholder { color: transparent; }
input::placeholder { color: #999; }
textarea::placeholder { color: #999; }

button {
  outline: none !important;
  border: none;
  background: transparent;
}
button:hover { cursor: pointer; }

iframe { border: none !important; }

/* Utility */
.txt1 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #999;
}
.txt2 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}

/* Login Layout */
.limiter {
  width: 100%;
  margin: 0 auto;
}

.container-login100 {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #b2b6af;
  background: linear-gradient(135deg, #ced3cb 0%, #b2b6af 50%, #90958d 100%);
}

.wrap-login100 {
  background: #0b0b0b;
  background: linear-gradient(165deg, #1c1c1c 0%, #0a0a0a 55%, #050505 100%);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 16px 36px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Login Form */
.login100-form {
  width: 100%;
  max-width: 320px;
}

.login100-form-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #333;
  line-height: 1.2;
  text-align: center;
  width: 100%;
  display: block;
  padding-bottom: 54px;
}

/* Input */
.wrap-input100 {
  position: relative;
  width: 100%;
  z-index: 1;
  margin-bottom: 10px;
}

.input100 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  color: #666;
  display: block;
  width: 100%;
  background: #e6e6e6;
  height: 50px;
  border-radius: 25px;
  padding: 0 30px 0 68px;
}

/* Focus effect */
.focus-input100 {
  display: block;
  position: absolute;
  border-radius: 25px;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 0px 0px;
  color: rgba(87,184,70, 0.8);
}

.input100:focus + .focus-input100 {
  animation: anim-shadow 0.5s ease-in-out forwards;
}

@keyframes anim-shadow {
  to {
    box-shadow: 0px 0px 70px 25px;
    opacity: 0;
  }
}

/* Input icon */
.symbol-input100 {
  font-size: 15px;
  display: flex;
  align-items: center;
  position: absolute;
  border-radius: 25px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-left: 35px;
  pointer-events: none;
  color: #666;
  transition: all 0.4s;
}

.input100:focus + .focus-input100 + .symbol-input100 {
  color: #57b846;
  padding-left: 28px;
}

/* Button */
.container-login100-form-btn {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.login100-form-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
  text-transform: uppercase;
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: linear-gradient(to right, #e8a317, #c77b00);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 25px;
  transition: all 0.4s;
  cursor: pointer;
}

.login100-form-btn:hover {
  background: linear-gradient(to right, #c77b00, #e8a317);
}

/* Captcha field */
.captcha-field {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.captcha-field input[type="number"] {
  border: 1px solid #000;
  border-radius: 7px;
  width: 120px;
  padding: 5px 10px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

/* Error message */
.login-error {
  color: red;
  font-size: 13px;
  margin-bottom: 10px;
  text-align: center;
}

/* Logo */
.login-logo {
  text-align: center;
  width: 100%;
  margin: 0 0 2px;
  padding: 2px 0 0;
}
.login-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 168px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.28));
}
.login-welcome-title {
  margin: 0 0 16px;
  font-weight: 700;
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 1.4px;
  text-align: center;
}

.login-welcome {
  text-align: center;
  margin-bottom: 15px;
}
.login-welcome h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 5px;
}
.login-welcome b {
  color: #ffffff;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
  .wrap-login100 {
    padding: 18px 24px 36px;
  }
  .login100-form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .wrap-login100 {
    padding: 16px 18px 32px;
  }
  .login100-form {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .wrap-login100 {
    padding: 12px 12px 28px;
  }
  .login-logo img {
    max-height: 132px;
  }
}

/* Alert validate */
.validate-input { position: relative; }

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: #fff;
  border: 1px solid #c80000;
  border-radius: 13px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  pointer-events: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f06a";
  font-family: FontAwesome;
  display: block;
  position: absolute;
  color: #c80000;
  font-size: 15px;
  top: 50%;
  transform: translateY(-50%);
  right: 13px;
}

.alert-validate:hover::before {
  visibility: visible;
  opacity: 1;
}
