/* Modal-specific styles */

/* Button to trigger modal */
.open-modal-btn {
    padding: 10px 20px;
    background-color: #d82a4e;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.open-modal-btn:hover {
    background-color: #b12241;
}

/* Modal container */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Modal content box */
.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #d82a4e;
    cursor: pointer;
    font-weight: bold;
}

.close-btn:hover {
    color: #b12241;
}

/* Modal title */
.modal-title {
    margin-top: 0;
    color: #d82a4e;
}

/* Modal body text */
.modal-body {
    margin: 20px 0;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Action button inside modal */
.modal-action-btn {
    padding: 10px 20px;
    background-color: #d82a4e;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-action-btn:hover {
    background-color: #b12241;
}

/* Image styling */
.modal-image {
    width: 60%;
    max-width: 200px;
    border-radius: 8px 8px 0 0;
    margin: 0 auto 20px auto;  /* Centers the image horizontally */
    display: block;  /* Ensures the image is treated as a block element */
}


/* Modal title */
.modal-title {
    margin: 0;
    color: #d82a4e;
    font-size: 24px;
}

