/* Basic styling for the page */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
  }
  
  /* Style for the button that will open the modal */
  #downloadBtn {
    margin: 20px;
    padding: 12px 24px;
    cursor: pointer;
    background-color: #003e29;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s ease;
  }
  
  #downloadBtn:hover {
    background-color: #016844;
  }
  
  /* The modal container with dark overlay */
  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Darker overlay */
    backdrop-filter: blur(8px); /* Blur effect for background */
  }
  
  /* The modal content box with glass effect */
  .modal-content {
    background-color: rgba(24, 24, 24, 0.226); /* Semi-transparent white */
    margin: 15% auto;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 
      0 8px 32px 0 rgba(31, 135, 36, 0.37),
      0 0 0 1px rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
  }
  
  /* Glass effect for inputs */
  input[type="text"] {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
    color: #3b3b3b;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  input[type="text"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
  }
  
  /* Close button */
  .close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
  }
  
  .close:hover {
    color: #333;
  }
  
  /* Form styling */
  .form-group {
    margin-bottom: 20px;
  }
  
  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
  }
  
  /* Submit button styling */
  #submitAccessBtn {
    padding: 12px 24px;
    cursor: pointer;
    background-color: rgba(40, 167, 69, 0.9);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
  }
  
  #submitAccessBtn:hover {
    background-color: rgba(34, 139, 34, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  /* Activate link styling to look like a button */
  a.activate-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: rgba(0, 123, 255, 0.9);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
  }
  
  a.activate-link:hover {
    background-color: rgb(0, 179, 90);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }