/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Mobile-first styles */
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #1f1c2c, #928dab);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
  }
  
  /* Container with glassmorphism effect */
  .container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.8s ease-out;
  }
  
  /* Heading */
  h2 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    animation: slideIn 0.6s ease-in-out;
  }
  
  /* Labels */
  form label {
    display: block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
  }
  
  /* Inputs */
  input {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: none;
    border-radius: 8px;
    background-color: #2a2a3e;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
  }
  
  input:focus {
    background-color: #3b3b56;
    box-shadow: 0 0 6px #6a89cc;
    transform: scale(1.02);
  }
  
  /* Button */
  button[type="submit"] {
    width: 100%;
    margin-top: 28px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(to right, #6a89cc, #4e6bb8);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 137, 204, 0.4);
  }
  
  button[type="submit"]:active {
    transform: scale(0.98);
  }
  
  /* Message */
  #message {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    color: #f08a5d;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Responsive Tweaks for Small Screens */
  @media (max-width: 480px) {
    h2 {
      font-size: 20px;
    }
  
    input,
    button[type="submit"] {
      font-size: 14px;
      padding: 10px;
    }
  
    .container {
      padding: 24px 16px;
    }
  }
  .info-box {
    background: #fff;
    border-left: 5px solid #007BFF;
    padding: 20px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
  }

  .info-box h2 {
    margin-top: 0;
    color: #333;
  }

  .info-box p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
  }

  .info-box a {
    display: inline-block;
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    transition: color 0.3s;
  }

  .info-box a:hover {
    color: #0056b3;
  }


  .back-link {
    display: inline-block;
    margin-top: 40px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.2s ease;
    padding-left: 1.5rem;
    position: relative;
  }
  
  .back-link::before {
    content: '←';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .back-link:hover {
    color: #ff0000;
    transform: translateX(-2px);
  }
  
  .back-link:hover::before {
    transform: translateY(-50%) translateX(-3px);
  }