body {
  background: url('../images/images_login.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

.wrapper{
  max-width: 1920px;
  margin:0 auto;
}

.hero-wrapper{
  background: url('../images/images_login.jpg') no-repeat center center fixed;
  background-size: cover;
}

.header {
  max-width: 1200px;
  margin: 20px auto 0 auto;
  font-family: 'Poppins', sans-serif;
}

.company-logo {
  max-width: 150px;
  width:100%;
  display: flex;
  justify-content: flex-start;
}

.system-title-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
}

.system-title {
  display: inline-block;
  font-size: 35px;
  color: white;
  position: relative;
  text-align: center;
  padding-left: 100%;
  animation: scroll-title 20s linear infinite;

  text-shadow: rgb(14, 112, 154) 0px 0px 5px,
               rgb(14, 112, 154) 0px 0px 10px,
               rgba(24, 154, 211, 0.8) 0px 0px 15px,
               rgba(24, 154, 211, 0.8) 0px 0px 20px;
}

@keyframes scroll-title {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.login-card {
  width: 100%;
  max-width: 460px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 2px solid #0e709a;
  border-radius: 20px;
  padding: 30px 30px 40px 30px;
  box-shadow: 0 8px 24px rgba(14, 112, 154, 0.3);
  box-sizing: border-box;
  color: #333;
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  color: #0e709a;
  margin-bottom: 25px;
  font-family: 'Poppins', sans-serif;
}

.form-label {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
}

.form-control {
  width: 100%;
  border: 2px solid #0e709a;
  border-radius: 12px;
  padding: 12px 15px;
  background-color: transparent;
  box-shadow: inset 0 1px 6px rgba(14, 112, 154, 0.15);
  color: #333;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-control:focus {
  border-color: #189ad3;
  box-shadow: 0 0 8px rgba(24, 154, 211, 0.7);
}

.btn-primary {
  background: linear-gradient(90deg, #0e709a, #189ad3);
  color: white;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 18px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(24, 154, 211, 0.6);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #0a5e82, #127db8);
  box-shadow: 0 8px 24px rgba(18, 125, 184, 0.8);
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
  border-radius: 14px;
  font-weight: 700;
  font-size: 18px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.6);
  border: none;
}

.btn-secondary:hover {
  background-color: #565e64;
}

@media (min-width: 768px) and (max-width: 1024px){
  .system-title{
    font-size: 4.557vw;
  }
  .login-card {
    max-width: 90%;
    max-width: 52.083vw;
    padding: 1.953vw;
    border-radius: 1.953vw;
    margin: 2.604vw auto;
  }

  .login-title {
    font-size: 3.646vw;
    margin-bottom: 2.604vw;
  }

  .form-label {
    font-weight: bold;
    color: #333;
  }

  .form-control {
    border-radius: 1.302vw;
    padding: 1.302vw;
    margin-bottom: 1.953vw;
  }

  .btn-primary {
    border-radius: 1.302vw;
    padding: 1.302vw;
    margin-top: 1.302vw;
  }

  .btn-primary:hover {
    background: linear-gradient(to right, #0a5e82, #127db8);
  }

  .btn-secondary {
    border-radius: 1.302vw;
    padding: 1.302vw;
  }

}

@media (max-width: 640px) {
  .system-title {
    font-size: 5.469vw;
  }

  h2{
    font-size: 4.375vw;
  }
  
  .login-card {
    width: 100%;
    max-width: 62.5vw;
    border-radius: 2.344vw;
    padding: 3.125vw;
    margin: 3.125vw auto;
  }

  .login-title {
    font-size: 4.375vw;
    margin-bottom: 3.125vw;
  }

  .form-control {
    border-radius: 1.563vw;
    padding: 1.563vw;
    margin-bottom: 2.344vw;
  }

  .btn-primary {
    border-radius: 10.003px;
    padding: 1.563vw;
    margin-top: 1.563vw;
  }

  .btn-secondary {
    border-radius: 1.563vw;
    padding: 0;
  }
}
