/* ERP Professional Login Styles */

.login-wrapper {
  display: flex;
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

svg:not(.gantt) {
  margin-top: 0px !important;
  pointer-events: none;
}

.login-sidebar {
  flex: 1;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  border-right: 1px solid #e9ecef;
}

.login-logo {
  max-width: 250px;
  margin-bottom: 2rem;
}

.login-welcome {
  color: #495057;
  text-align: center;
}

.login-welcome h1 {
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.login-welcome p {
  font-weight: 300;
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 350px;
  line-height: 1.6;
}

.login-main {
  flex: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  padding: 2rem;
}

.login-container {
  width: 100%;
  max-width: 450px;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h2 {
  color: #212529;
  font-weight: 300;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: #6c757d;
  font-weight: 300;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #495057;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Input group with icons */
.input-group {
  position: relative;
}

.input-group .login-input {
  padding-left: 2.25rem;
}

.input-group-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 2;
  width: 16px;
  height: 16px;
}

span#togglePassword svg {
  width: 17px;
  position: relative;
  margin-top: -7px !important;
  margin-left: -5px;
}

.input-group-append {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 2;
  cursor: pointer;
  width: 12px;
  height: 12px;
}

.login-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: #fff;
  box-sizing: border-box;
}

.login-input:focus {
  outline: none;
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.login-btn {
  width: 100%;
  padding: 0.8rem;
  background-color: #6690f4;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.login-btn:hover {
  background-color: #5a84f0;
}

.login-links {
  text-align: center;
  margin-top: 1.5rem;
}

.login-link {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.login-link:hover {
  color: #212529;
  text-decoration: underline;
}

.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.icon-16 {
  margin-right: 0.5rem;
  vertical-align: middle;
}

.signup-section {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.signup-text {
  color: #6c757d;
  margin-right: 0.5rem;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.remember-me {
  display: flex;
  align-items: center;
}

.remember-me input {
  margin-right: 0.5rem;
}

.remember-me label {
  color: #495057;
  font-size: 0.9rem;
  font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .login-wrapper {
    flex-direction: column;
  }

  .login-sidebar {
    border-right: none;
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
  }

  .login-main {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .login-wrapper {
    padding: 0px;
  }

  .login-sidebar,
  .login-main {
    padding: 1.5rem;
  }

  .remember-forgot {
    flex-direction: column;
    align-items: flex-start;
  }

  .remember-forgot a {
    margin-top: 0.5rem;
  }
}