/* Supplements the existing modal HTML and styling. */
#share_container { max-height: 90vh; overflow-y: auto; }
#share_container .share-details-button { margin: 1rem 0; padding: .75rem 1rem; cursor: pointer; }
#share_container .share-meal-details { text-align: left; }
#share_container .share-meal-details[hidden],
#share_container .share-details-button[hidden] { display: none; }
#share_container .shared-meal-image { display: block; width: 100%; max-height: 360px; object-fit: contain; border-radius: 12px; }
#share_container .share-meal-details li { margin: .6rem 0; }
#share_container .share-status { margin-top: 1rem; overflow-wrap: anywhere; }
#share_container .share-status input { width: 100%; }
#share_container .share_social a[aria-disabled="true"] { opacity: .45; cursor: wait; }
button.share-details-button{
    margin: 0px !important;
}

#share_container.showing-meal-details > h1.share-screen,
#share_container.showing-meal-details > p.share-screen,
#share_container.showing-meal-details > .share_inner,
#share_container.showing-meal-details > .share_social,
#share_container.showing-meal-details > .link_copy {
    display: none;
}

.share-meal-details h3 {
    font-size: 16px;
    font-weight: 700;
    color: #6A1548;
}

.share-meal-details p{
    text-align: left;
    font-size: 12px;
    margin: 5px 0px;
    color: #6A1548;
}

.share-meal-details li{
    font-size: 12px;
    color: #6A1548;
    border-radius: 8px;
    list-style-type: none;
}