* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
  }
  
  body, html {
    height: 100%;
    overflow: hidden; /* Prevents scrolling */
  }
  
  .animated-bg {
    background: linear-gradient(120deg, #484747, #c79a11, #aaaaaa);
    background-size: 600% 600%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: gradient 15s ease infinite;
    z-index: -1;
  }
  
  @keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  /* Close Icon Styling */
.close-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #ca0f0f;
    font-size: 50px;
    text-decoration: none;
    background-color: rgba(182, 84, 84, 0.2);
    padding: 5px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1001;
  }
  
  .close-icon:hover {
    background-color: rgba(255, 255, 255, 0.4);
    color: #bf0d0d;
  }
  
  
  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .logo {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .logo img {
    width: 200px;
  }
  
  .logo h1 {
    font-size: 24px;
    color: #fff;
  }
  
  form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    outline: none;
  }
  
  form button {
    width: 100%;
    padding: 10px;
    background-color: #096303;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  form button:hover {
    background-color: #2adf24;
  }
  
  .success-message {
    display: none;
    color: #1cc042;
    text-align: center;
    margin-top: 15px;
  }

  @media (max-width: 600px) {
  .container {
    width: 100%;  /* Full width of the device */
    padding: 15px;
    margin-top: 50px; /* Adjusts for the fixed navbar, if present */
    top: 45%; /* Slight adjustment for visual alignment */
    border-radius: 0; /* Optional: Remove border-radius for edge-to-edge look */
  }

  .logo img {
    width: 150px; /* Smaller logo for mobile */
  }

  .logo h1 {
    font-size: 20px;
  }

  form input, form textarea {
    width: 100%; /* Full width of container */
    padding: 8px;
    font-size: 14px;
  }

  form button {
    width: 100%; /* Full width of container */
    padding: 8px;
    font-size: 14px;
  }

  .success-message {
    font-size: 14px;
  }
}
