
    body {
      font-family: Arial, sans-serif;
      background-color: #f5f5f5;
      margin: 0;
      padding: 0;
    }

    .form-wrapper {
      max-width: 600px;
      margin: 0px auto;
      padding: 40px;
    }

    h2 {
      font-size: 28px;
      color: #2b2b2b;
      margin-bottom: 30px;
      font-weight: 700;
    }

    label {
      display: block;
      margin-bottom: 6px;
      font-size: 15px;
      font-weight: bold;
      color: #333;
    }

    input[type="text"],
    input[type="email"],
    select {
      width: 100%;
      padding: 10px 12px;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      border-radius: 3px;
      font-size: 14px;
    }

    .required {
      color: red;
    }

    input[type="submit"] {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 3px;
      font-size: 14px;
      cursor: pointer;
    }

    input[type="submit"]:hover {
      background-color: #0056b3;
    }

    #responseMsg {
      margin-top: 20px;
      font-weight: bold;
    }

    /* Overlay */
    .overlay {
      position: fixed;
      display: none;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      z-index: 9999;
    }

    /* Center Spinner */
    .spinner-container {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 120px;
      height: 120px;
    }

    .spinner {
      width: 100%;
      height: 100%;
      border: 12px solid #eee;
      border-top: 12px solid #3498db;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    .percent-text {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 3px;
      left: 3px;
      text-align: center;
      line-height: 120px;
      font-size: 20px;
      font-weight: bold;
      color: white;
    }
    .download-message {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: white;
  position: absolute;
  top: 130px; /* below spinner */
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  line-height: 1.4;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}


    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    
    @media (min-width: 576px) {
  .form-wrapper {
    max-width: 540px;
    margin: 0px auto;
    padding: 40px;
  }
}
