.login-container {
  position: relative;
  width: 100%;
}
.login-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  z-index: 1;
}
.login-container .img_back_login {
  width: 100%;
  height: auto;
  filter: blur(4px);
}
.login-container .login-modal {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  background: rgba(229, 229, 229, 0.7);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 40px 30px;
  z-index: 2;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.login-modal__header {
  text-align: center;
  margin-bottom: 30px;
}

.login-modal__title {
  color: #007bff;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.login-modal__form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #b7b7b7;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
}

.form-group__input:focus {
  outline: none;
  border-color: #007bff;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group__input::-moz-placeholder {
  color: #999;
}

.form-group__input::placeholder {
  color: #999;
}

.login-modal__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.login-modal__remember input[type=checkbox] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #007bff;
}

.login-modal__remember label {
  cursor: pointer;
  color: #666;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.login-modal__forgot {
  text-align: right;
  font-size: 13px;
}

.login-modal__forgot a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s;
}

.login-modal__forgot a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.login-modal__submit {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.login-modal__submit:hover {
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  transform: translateY(-1px);
}

.login-modal__submit:active {
  transform: translateY(0);
}

.login-modal__divider {
  text-align: center;
  margin: 25px 0;
  font-size: 13px;
  color: #999;
  position: relative;
}
.login-modal__divider span {
  padding: 0 10px;
  position: relative;
  z-index: 1;
  color: #000;
}

.login-modal__divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
  z-index: 0;
}

.login-modal__socials {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.social-button {
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 24px;
  padding: 0;
}
.social-button span {
  width: 100%;
}
.social-button span img {
  width: 100%;
}

.social-button:hover {
  border-color: #007bff;
  background: #f8f9fa;
  transform: translateY(-2px);
}

.login-modal__signup {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #666;
}

.login-modal__signup a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.login-modal__signup a:hover {
  color: #0056b3;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .login-container .img_back_login {
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .login-container .login-modal {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 90%;
    max-width: 400px;
    padding: 30px 20px;
    margin: 20px;
    background: rgba(229, 229, 229, 0.85);
  }
  .login-modal__header {
    margin-bottom: 24px;
  }
  .login-modal__title {
    font-size: 20px;
  }
  .login-modal__form {
    gap: 12px;
  }
  .form-group__input {
    padding: 10px 12px;
    font-size: 13px;
  }
  .login-modal__remember {
    flex-wrap: wrap;
    font-size: 12px;
    gap: 6px;
  }
  .login-modal__remember input[type=checkbox] {
    width: 14px;
    height: 14px;
  }
  .login-modal__remember label {
    font-size: 12px;
  }
  .login-modal__remember div {
    width: 100%;
    margin-left: 0 !important;
    margin-top: 8px;
  }
  .login-modal__remember div a {
    font-size: 12px !important;
  }
  .login-modal__submit {
    padding: 11px 18px;
    font-size: 13px;
    margin-top: 8px;
  }
  .login-modal__divider {
    margin: 20px 0;
    font-size: 12px;
  }
  .login-modal__divider span {
    padding: 0 8px;
    background: rgba(229, 229, 229, 0.85);
    font-size: 12px;
  }
  .login-modal__socials {
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
  }
  .social-button {
    padding: 8px;
    font-size: 20px;
  }
  .social-button span img {
    width: 100%;
    height: auto;
  }
  .login-modal__signup {
    margin-top: 16px;
    font-size: 12px;
  }
  .login-modal__signup a {
    font-size: 12px;
  }
}
