/* General Body Styles */


/* Button Styles */
.container-8372 {
    justify-content: center;
    align-items: center;
}

.view-cert-btn-8372 {
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-cert-btn-8372:hover {
    background-color: #0056b3;
}

/* Pop-up Background Overlay */
.popup-8372 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto; /* Enable scrolling in the pop-up */
}

/* Pop-up Content Container */
.popup-content-8372 {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh; /* Limit the height to 80% of the viewport */
    overflow-y: auto; /* Enable scrolling inside the pop-up content */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

/* Close Button */
.close-btn-8372 {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}

.close-btn-8372:hover {
    color: #007bff;
}

/* Certificate Styles */
.certificate-8372 {
    display: flex;
    justify-content: center;
    width: 100%;
}

.certificate-img-8372 {
    max-width: 100%;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .popup-content-8372 {
        width: 95%;
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .certificate-img-8372 {
        max-width: 100%;
    }
}
