/* Popup modal for remedy info */
#remedy-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
#remedy-info-modal .modal-content {
    background: #fff;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
}
#remedy-info-modal .close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 24px;
    color: #888;
    cursor: pointer;
}
#remedy-info-modal h3 {
    cursor: move;
    user-select: none;
    margin-top:0;
    margin-bottom: 12px;
}

/* Remedy image floated to the left so text wraps around it */
.remedy-info-img {
    width: 180px;
    max-width: 40%;
    height: auto;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 16px 8px 0;
    float: left;
}

/* Clearfix for modal body to contain floated image */
.modal-body::after {
    content: "";
    display: block;
    clear: both;
}

/* Optional: ensure text has proper line-height */
.remedy-info-text p {
    line-height: 1.5;
}