body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

.login-container {
  text-align: center;
  background: #fff;
  padding: 40px 60px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.login-container h1 {
  font-size: 2.2rem;
  margin: 0 0 30px;
  color: #0d6efd;
  font-weight: 600;
}

.login-container form {
  text-align: left;
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.25s ease;
}

.form-group label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 1rem;
  color: #888;
  pointer-events: none;
  transition: all 0.25s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 0.8rem;
  color: #0d6efd;
  background: #fff;
  padding: 0 5px;
  font-weight: 600;
}

.form-group input:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.2);
}

.forgot-password {
  display: block;
  text-align: right;
  margin-top: -15px;
  margin-bottom: 25px;
  font-size: 0.85rem;
  color: #495057;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  width: fit-content;
  margin-left: auto;
}

.forgot-password:hover {
  color: #495057;
  border-bottom-color: #495057;
  text-decoration: none;
}

.login-container button {
  width: 100%;
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
  margin-top: 10px;
}

.login-container button:hover {
  background: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.3);
}

.contact-info {
  margin-top: 32px;
  text-align: center;
}

.contact-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #495057;
}

.contact-info a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.contact-info a:hover {
  border-bottom-color: #0d6efd;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 576px) {
  body {
    padding: 10px;
  }

  .login-container {
    padding: 30px 25px;
  }

  .login-container h1 {
    font-size: 1.8rem;
  }
}
