.certificate-details {
    display: none;
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
  }

  .info-button {
    cursor: pointer;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
  }

  #result strong {
    color: #008000;
    font-size: small;
  }

  #result span {
    color: rgb(0, 0, 0);
    font-size: small;
  }

  #result {
    margin-top: 40px;
    background: #eafcea;
    border: 1px solid #008000;
    border-radius: 30px;
    padding: 5px 10px;
  }

  .certificate-details {
    background-color: #c6f4d6;
    /* Light green background */
    padding: 20px;
    border: 1px solid #3e8e41;
    /* Green border */
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* Soft box shadow */
    width: 50%;
    /* Adjust the width as needed */
    margin: 40px auto;
    /* Center the box horizontally */
  }

  /* Style the heading */
  .certificate-details h2 {
    color: #3e8e41;
    /* Green text color */
    margin-top: 0;
    /* Remove top margin */
  }

  .certificate-details p {
    margin-bottom: 10px;
    /* Add some space between lines */
  }

  .certificate-details strong {
    color: #666;
    /* Dark gray text color */
  }

  .certificate-details span {
    color: #333;
    /* Dark text color */
  }

  /* Style the link (if uncommented) */
  .certificate-details a {
    text-decoration: none;
    /* Remove underline */
    color: #3e8e41;
    /* Green text color */
  }

  .certificate-details a:hover {
    color: #666;
    /* Dark gray text color on hover */
  }

  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .popup-content {
    background-color: white;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 400px;
  }

  .popup-content h2,
  p {
    margin: 10px;
  }

  .popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
  }

  .blur-background {
    filter: blur(5px);
  }