/* Basic modal styles */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Make sure the popup appears on top */
}

.popup-content {
    background-color: white;
    padding: 0px;
    border-radius: 8px;
    width: 50%;
    position: relative; /* Required for positioning the close button */
}

/* Popup Header Styles */
.popup-header {
    position: relative;
    background-color: #a70000; /* Header background color */
    padding: 15px;
    color: white;
    border-radius: 5px 5px 0 0;
}

.popup-header h2 {
    margin: 0;
    font-size: 20px;
}

/* Close button styles in the top-right corner of the header */
.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 19px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    border: 3px solid;
    border-radius: 50%;
    padding: 0px 10px;
    border-color:#a70000;
    background: #000000c4;
}
/* Popup Body Styles */
.popup-body {
    padding: 20px;
    height: 372px;
    overflow: scroll;
    text-align: justify;
}

@media screen and (max-width: 768px) {
    .popup-content {
        width: 80%;
    }
  }