/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
  }

  .popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Popup Form */
  .popup-form {
    background-color: #ffffff;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    box-sizing: border-box;
  }

  .popup-overlay.active .popup-form {
    transform: translateY(0);
  }

  /* Close Button */
  .popup-close {
    position: fixed;
    top: 0px;
    right: 0px;
    background-color: #ff0000;
    color: #ffffff;
    border: none;
    width: 10px;
    height: 40px;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1000;
  }

  .popup-close:hover {
    background-color: #cc0000;
  }

  /* Form Heading */
  .popup-form h2 {
    padding-top: 40px;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
  }

  /* Form Inputs */
  .popup-form input,
  .popup-form textarea,
  .popup-form button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
  }

  .popup-form input:focus,
  .popup-form textarea:focus {
    border-color: #ff0000;
    outline: none;
  }

  /* Submit Button */
  .popup-form button {
    background-color: #ff0000;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }

  .popup-form button:hover {
    background-color: #000000;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .popup-form {
      padding: 20px;
    }

    .popup-form h2 {
      font-size: 20px;
    }

    .popup-close {
      top: 0px;
      right: 0px;
      width: 35px;
      height: 35px;
      font-size: 18px;
    }
  }

  @media (max-width: 480px) {
    .popup-form {
      padding: 15px;
    }

    .popup-form h2 {
      font-size: 18px;
    }

    .popup-close {
      top: 0px;
      right: 0px;
      width: 30px;
      height: 30px;
      font-size: 16px;
    }
  }