/* Login Page Styles */
.login-page {
  background-color: var(--light-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-container {
  display: flex;
  width: 100%;
  max-width: 1000px;
  min-height: 600px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.login-left {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-content {
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header .logo-icon {
  margin: 0 auto 20px;
}

.login-header h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.login-header p {
  color: var(--gray-color);
  font-size: 0.9rem;
}

.login-form {
  margin-bottom: 30px;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-color);
  cursor: pointer;
}

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

.remember-me {
  display: flex;
  align-items: center;
}

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

.forgot-password {
  font-size: 0.9rem;
}

.form-error {
  background-color: rgba(244, 67, 54, 0.1);
  color: var(--danger-color);
  padding: 10px 15px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.form-error i {
  margin-right: 10px;
}

.form-error.hidden {
  display: none;
}

.hidden {
  display: none;
}

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

.login-footer p {
  font-size: 0.9rem;
}

.login-right {
  flex: 1;
  position: relative;
  display: none;
}

.login-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/login-bg.png");
  background-size: cover;
  background-position: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(67, 97, 238, 0.8),
    rgba(76, 201, 240, 0.8)
  );
}

.login-image-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-image-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.login-image-content p {
  font-size: 1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
}

.feature-item i {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

@media (min-width: 992px) {
  .login-right {
    display: block;
  }
}

@media (max-width: 576px) {
  .login-left {
    padding: 30px 20px;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .login-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
