/* Modal wrapper */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.custom-modal-image {
    max-height: 60vh;
    width: 100%;
    object-fit: contain;
}

/* Modal box */
.custom-modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 90%;
    overflow: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 20px;
}

/* Text content */
.custom-modal-text {
    margin-top: 15px;
}

.custom-modal-text h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.custom-modal-text p {
    margin: 5px 0 0;
    font-size: 1rem;
    color: #555;
}

/* Close button */
.custom-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

