@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans", sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/img1/login-logo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 15px;
}

.form-container {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  color: #fff;
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-container .title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 1.5rem;
}

.input-group {
  margin-bottom: 1.2rem;
}

.input-group label {
  display: block;
  color: #f3f4f6;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.input-group input {
  border-radius: 0.375rem;
  border: 1px solid rgba(55, 65, 81, 0.5);
  outline: 0;
  background-color: #f3f4f6;
  padding: 0.75rem 1rem;
  color: #111827;
  width: 100%;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.input-group input:focus {
  border-color: rgba(167, 139, 250, 1);
  box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.3);
}

.forgot {
  text-align: right;
  margin: 0.5rem 0 1.2rem 0;
}

.forgot a,
.sign-up a {
  color: rgba(243, 244, 246, 1);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.forgot a:hover,
.sign-up a:hover {
  color: rgba(167, 139, 250, 1);
  text-decoration: underline;
}

.sign-in {
  display: block;
  width: 100%;
  background-color: #7c3aed;
  padding: 0.85rem;
  text-align: center;
  color: rgba(17, 24, 39, 1);
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sign-in:hover {
  background-color: rgba(147, 119, 230, 1);
}

.social-messages {
  display: flex;
  align-items: center;
  padding-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.line {
  height: 1px;
  flex: 1 1 0%;
  background-color: rgba(55, 65, 81, 1);
}

.social-messages .message {
  padding: 0 0.75rem;
  font-size: 0.9rem;
  color: rgba(156, 163, 175, 1);
  white-space: nowrap;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.icons a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.icons i {
  font-size: 1.5rem;
  color: #fff;
}

.sign-up {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(156, 163, 175, 1);
  margin-top: 1rem;
}

.error-message {
  display: none;
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.message {
  color: #ff6b6b;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  background-color: rgba(255, 107, 107, 0.1);
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
  .form-container {
    width: 100%;
    padding: 1.5rem;
  }
  
  .title {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
    background-position: 70%;
  }
  
  .form-container {
    padding: 1.25rem;
    margin: 0;
  }
  
  .title {
    font-size: 1.5rem !important;
    margin-bottom: 1rem;
  }
  
  .input-group input {
    padding: 0.7rem;
  }
  
  .social-messages .message {
    font-size: 0.8rem;
  }
  
  .icons a {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .icons i {
    font-size: 1.3rem;
  }
}