.login-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

.login-wrapper {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  max-width: 1100px;
  margin: 0 auto;
}

.login-form-container {
  padding: 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  .login-form-container {
    padding: 30px 20px;
  }
}

.login-header {
  margin-bottom: 30px;
}

.login-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--header);
  margin-bottom: 10px;
}

.login-subtitle {
  font-size: 16px;
  color: var(--text);
}

.login-tabs {
  margin-bottom: 30px;
}

.tab-buttons {
  display: flex;
  gap: 10px;
}

.tab-btn {
  padding: 10px 20px;
  background-color: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background-color: var(--theme);
  color: var(--white);
  border-color: var(--theme);
}

.tab-btn:hover:not(.active) {
  background-color: var(--bg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--header);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 16px;
  color: var(--text);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--theme);
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 122, 246, 0.1);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-check-input {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.forgot-password {
  font-size: 14px;
  color: var(--text);
}

.forgot-password:hover {
  color: var(--theme);
}

.form-button {
  margin-bottom: 25px;
}

.theme-btn {
  display: inline-block;
  width: 100%;
  padding: 12px 15px;
  background-color: var(--theme);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-btn:hover {
  background-color: #1a68e0; /* Slightly darker blue */
}

.divider {
  position: relative;
  text-align: center;
  margin: 25px 0;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 45%;
  height: 1px;
  background-color: var(--border);
}

.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 45%;
  height: 1px;
  background-color: var(--border);
}

.divider span {
  display: inline-block;
  padding: 0 10px;
  background-color: var(--white);
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 14px;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background-color: var(--white);
  font-size: 16px;
  font-weight: 500;
  color: var(--header);
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background-color: var(--bg);
}

.social-btn img {
  width: 20px;
  height: 20px;
}

.register-link {
  text-align: center;
  font-size: 14px;
}

.register-link a {
  font-weight: 600;
  margin-left: 5px;
}

.login-image {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.login-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(120deg, rgba(106, 71, 237, 0.7), rgba(45, 122, 246, 0.5));
}

.login-illustration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  z-index: 2;
}

.illustration-img {
  width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .login-image {
    display: none;
  }
}