body {
  color: #333;
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f0f0f0;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #666;
  font-size: 18px;
}

.login-container {
  width: 100%;
  max-width: 1000px;
  display: flex;
  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.login-bg {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 500px;
}

.login-welcome {
  position: absolute;
  top: 25%;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
}

.login-welcome h1 {
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 0.85);
  font-size: 35px;
  letter-spacing: 0.94px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  line-height: 50px;
  margin-left: 53px;
}

.login-welcome div {
  color: rgba(255, 255, 255, 0.85);
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  line-height: 50px;
  margin-top: 17px;
}

.company-logo {
  font-size: 18px;
  background-color: #ee3231;
  color: white;
  display: inline-block;
  padding: 5px 10px;
  margin-right: 5px;
}

.login-form-container {
  flex: 0 0 460px;
  padding: 30px;
  background-color: #fff;
}

.login-form {
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: #2e86de;
  outline: none;
}

.captcha-group {
  display: flex;
  align-items: center;
}

.captcha-group input {
  flex: 1;
  margin-right: 10px;
}

.captcha-group img {
  height: 42px;
  border-radius: 4px;
  cursor: pointer;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.remember-me {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 14px;
}

.remember-me input {
  margin-right: 5px;
}

.forgot-password {
  color: #666;
  font-size: 14px;
  text-decoration: none;
}

.forgot-password:hover {
  color: #2e86de;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #2980b9;
}

.company-footer {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  letter-spacing: 0.94px;
  font-weight: 600;
}

.icon {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #999;
}

@media (max-width: 992px) {
  .login-container {
    flex-direction: column;
    margin: 20px;
  }
  
  .login-form-container {
    flex: none;
    width: 100%;
  }
  
  .login-bg {
    min-height: 200px;
  }
}

@media (max-width: 992px) {
  .login-container {
    flex-direction: column;
    margin: 20px;
    max-width: 90%;
  }
  
  .login-form-container {
    flex: none;
    width: 100%;
    padding: 20px;
  }
  
  .login-bg {
    min-height: 200px;
  }

  .login-welcome h1 {
    font-size: 24px;
    margin-left: 0;
    white-space: normal;
    line-height: 1.4;
  }

  .login-welcome div {
    font-size: 20px;
    white-space: normal;
    line-height: 1.4;
    padding: 0 15px;
  }

  .login-welcome div img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
  }

  .company-footer {
    font-size: 14px;
    padding: 0 15px;
    white-space: normal;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .login-container {
    margin: 10px;
  }

  .login-welcome h1 {
    font-size: 20px;
  }

  .login-welcome div {
    font-size: 16px;
  }

  .company-footer {
    font-size: 12px;
  }
} 