.login {
  height: 100vh;
  display: flex;
  width: 100%;
}

.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40%;
  padding: 80px;
  gap: 20px;
}

.login-banner {
  width: 60%;
  background-image: url("../img/login.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 20px;
  font-weight: 300;
  text-align: center;
}

.login-banner h1 {
  font-size: 30px;
}

.welcome {
  display: flex;
  flex-direction: column;
}

.welcome b {
  font-size: 25px;
}

.input-group {
  position: relative;
  margin-bottom: 15px;
}

.input-group .icon {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
}

.input-group .timer {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #555;
  user-select: none;
}

.input-group input {
  width: 100%;
  padding: 15px 45px 15px 85px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
  background-color: #f4f7fe;
}

.input-group input:focus {
  outline: none;
}

button {
  width: 100%;
  padding: 15px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 10px !important;
  cursor: pointer;
}

button:hover {
  background: #0056b3;
}

.authentication {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.authentication a {
  text-decoration: none;
  color: #7a7a7a;
  font-size: 15px;
}

.authentication a:hover {
  color: #2c2c2c;
}

@media (max-width: 1024px) {
  .login-form {
    width: 50%;
    padding: 50px;
  }

  .login-banner {
    width: 50%;
    height: 100%;
  }

  .login-banner h1 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .login {
    flex-direction: column;
    justify-content: center;
  }

  .login-form {
    width: 100%;
    padding: 50px;
  }

  .login-banner {
    display: none;
  }
}

body.dark-mode .timer {
  color: #cfcfcf;
}

body.dark-mode input {
  color: #cfcfcf;
  background-color: #3b3b3b;
  border: none;
}

body.dark-mode input::placeholder {
  color: #cfcfcf;
}

body.dark-mode .login-banner {
  filter: grayscale(100%);
}
