html{
    scroll-behavior: smooth;
}
    
    
    #overlay, #the-daily-fix-parent-modal-overlay{
        position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,133,229,0.8); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
    }

    #overlay iframe, #the-daily-fix-parent-modal-overlay iframe{
        justify-self: center;
        z-index: 10;
        max-width: 30%;
    max-height: 80%;
    margin-top: 10%;
    }
    #the-daily-fix-parent-modal-overlay iframe{
        margin-top: 5%;
    }

    .toggleable{
        display: none;
    }

    :root {
        --site_width: 100% !important;
    }

    .disclaimer {
        display: flex;
        flex-direction: row;
        justify-content: center;
        color: #33A9FF;
    }

    .threads {
        margin-top: 24px;
    }

    #daily-fix-container .dfx-title {
        margin-top: clamp(32px, 4vh, 70px);
        margin-bottom: calc(clamp(32px, 4.4vh, 70px) - 1rem);
        line-height: 1;
    }
    #daily-fix-container  h1 {
        line-height: 1 ;
        font-family: 'Antonio';
    }

    #daily-fix-container .the-dfx h1 {
        font-size: clamp(64px, 10vw, 124px);
        line-height: 1 ;
        font-family: 'Antonio';
    }


    .reply-tag{
        color: #0076D6;
    }
    



    .article-link {
        background-color: #0076D6;
        color: white;
        padding: clamp(14px,1.35vw, 45px) clamp(20px,3.3vh,80px);
        font-size: clamp(30px, 2vw, 80px);
        font-family: 'Antonio';
        font-weight: 700;
        width: fit-content;
    }

    .article-link-wrap{
        margin-top: clamp(40px, 4.5vh, 80px);
    }

    .archiveRow {
        justify-content: center;
        margin: clamp(70px, 8.8vh, 120px) 0px;
    }

    .archiveBtn {
        background-color: transparent;
        color: #000;
        border: 2px solid black;
        padding: clamp(14px, 1.5vh,30px) clamp(20px, 1.3vw ,42px);
        font-family: 'Antonio';
        font-weight: 700;
        font-size: clamp(24px, 1.6vw, 48px);
        align-self: center;
    }

    .archiveBtn:hover{
        background-color: black;
        color: white;
    }

    .custom-row {
        display: flex;
        flex-wrap: wrap;
    }

    .comment-cta{
        gap: 20px;
    }

    .commentBtnWrapper {
        margin-top: auto;
        margin-bottom: auto;
        margin-left: 0;
        margin-right: 0;
        gap: 10px;
    }

    .non-body-img {
        position: relative;
    }

    .commentBtnWrapper,
    .commentBtn {
        align-content: center;
        height: fit-content;
    }

    .comment-line {
        justify-content: space-between;
        width: 100%;
        margin-top: calc(clamp(32px, 4.4vh, 70px) - 1em);

    }

    #daily-fix-container .date-str {
        font-family: 'Plus Jakarta Sans' !important;
        color: #88C9FF !important;
        margin: 0;
    }

    #daily-fix-container .dfx-date-nav-btn {
        height: clamp(48px, 5.3vh, 128px);
        width: clamp(48px, 3vw, 128px);
        margin-top:10px;
        align-self: center;
        background-color: transparent;
        border: 1px solid #000;
        display: flex;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
        color: black;
        cursor: pointer;
    }

    #daily-fix-container .dfx-date-nav-btn:hover{
        background-color: black;
        color: white;
    }



    #daily-fix-container .dfx-date-nav-btn[aria-disabled='true'] {
        opacity: 25%;
        cursor: default;
    }


    #daily-fix-container .dfx-date {
        margin-top: 0;
        margin-bottom: 0;
        line-height: 1 !important;
        color: #88C9FF !important;
        font-family: 'Antonio';
    }

    #daily-fix-container .day-nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        margin-bottom: calc(clamp(32px, 4.4vh, 70px) - 1em);
    }


    #daily-fix-container {
        padding-top: clamp(80px, 8vh, 150px);
        padding-left: clamp(80px, 7.6vw, 150px);
        padding-right: clamp(80px, 7.6vw, 150px);;
        width: 100%;
        align-self: center;
        margin-left: auto;
        margin-right: auto;
    }

    #bodyTabPhoto {
        width: clamp(250px,27vw, 375px);
    }


    .body-img-header {
        justify-content: center;
        gap: clamp(20px, 4vw, 4rem);
        flex-wrap: nowrap !important;
    }

    .mobile-img-header {
        display: none;
        justify-content: center;
        gap: 4rem;
    }


    .header {
        display: flex;
        min-height: 60vh;
        justify-content: space-between;
        padding-bottom: 8vh;
    }


    .left-column {
        max-width: 28.5vw;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        position: relative;
        border: 3px solid #0076D6;
        padding: clamp(32px, 4.5vh, 70px) clamp(32px, 2.7vw, 70px) calc(clamp(32px, 4.5vh, 70px) - 1em) clamp(32px, 2.7vw, 70px);
    }

    .right-column {
        flex: 0.45 0 50%;

        align-content: flex-start;
        justify-content: space-between;
    }

    .right-column-belly {
        flex: 0 0 27%;
    }

    .right-column-brain {
        flex: 0 0 50%;
        justify-content: space-between;
    }

    .right-column-brain img {
        aspect-ratio: 16/9;
        object-fit: cover;
    }

    .img-fluid {
        aspect-ratio: 16/9;
        object-fit: cover;
        min-width: 100%;
    }

    .nav-tabs {
        list-style-type: none;
        padding: 0;
        display: flex;
        width: 100%;
        gap: clamp(10px, 2vw, 32px);
        justify-content: space-between;

    }

    .nav-tabs .nav-item {
        cursor: pointer;
        font-family: Antonio;
        font-weight: 700;
        width: 100%;
        text-transform: uppercase;
    }

    .nav-tabs .nav-link,
    .tab-pane .nav-link {
        padding: clamp(8px, 1.5vh,30px) clamp(10px, 1.3vw ,42px);
        border: 2px solid #002C4D;
        background-color: #000;
        color: white;
        font-size: clamp(14px, 1.65vw, 50px);
        line-height: .9;
        display: block;
        text-align: center;
        width: 100%;
    }

    .nav-tabs .nav-link.active {
        background-color: #0085E5;
        color: white;
    }

    .nav-tabs .nav-link:not(.active):hover {
        background-color: white;
        color: black;
        transition: 300ms;
    }

    .tab-content {
        padding-top: 0vh;
        padding-bottom: 8vh;
        justify-items: center;
    }

    .tab-pane {
        display: none;
        width: 100%;
    }

    .tab-pane.active {
        display: block;
    }


    .scale-col {
        flex: 0 0 30%;
    }

    .body-col {
        /*flex: 0 0 60%;*/
        width: 50vw;
    }

    .brain-col{
        width: 49vw;
        margin-left: auto;
        margin-right: auto;
    }
    .ingred-col{
        flex: 0 0 22.5%;
    }

    .mod-body{
        max-width: 75vw;
        justify-content: space-between;
        margin-left: auto;
        margin-right: auto;
    }

    #mod-watch-btn, #mobile-mod-watch-btn {
        position: absolute;
        top: 50%;
        /* position the top  edge of the element at the middle of the parent */
        left: 50%;
        /* position the left edge of the element at the middle of the parent */

        transform: translate(-50%, -50%);
        font-size: 6rem;
    }

    .fa-play-circle{
        color: white;
    }

    #mod-watch-btn a, #mobile-mod-watch-btn a {
        color: #33A9FF;
    }

    #bellyModalPhoto{
        align-self: center;
    }

    .comment {
        margin-bottom: 24px;
    }

    .comment-content {
        margin-top: 24px;
    }

    .comment-name {
        color: #0067B2;
        margin-right: clamp(20px, 1.3vw, 40px);

    }

    .comment-date{
        color: #0076D6;
    }

    #reply-header{
        font-family: 'Antonio';
        font-weight: 700;
        margin-bottom: clamp(25px, 3.3vh, 45px);
        margin-top: clamp(60px, 8vh, 130px);
    }

    .reply-section {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .reply-btn, .like-btn, .share-btn {
        margin-top: 24px;
    }

    .liked {
        color: #0067B2;
    }

   

    .replies {
        padding-left: 24px;
    }

    .replies .replies{
        padding-left: 0;
    }

    .reply-comment {
        margin-top: 24px !important;
    }

    .toggle-replies-btn,
    .comment-func-btn {
        background-color: transparent;
        padding: 0;
        border: 0;
        font-size: clamp(20px, 0.88vw, 60px);
        margin-right: 20px;
    }

    #commentBody textarea{
        font-size: calc(0.8 * var(--body_typography-font-size));
        height: calc(clamp(22px, 1.66vw,48px) * 2);
        max-width: 100%;
    }


    .comment-func-btn:hover {
        color: #0085E5;
        cursor: pointer;
    }

    #commentContainer {
        width: clamp(800px, 68vw, 1900px);
        margin-left: auto;
        margin-right: auto;
        margin-top: 13vh;
    }

    #commentHeader {
        padding: 0px;
        margin-bottom: 48px;
        margin-top: 64px;
    }

    #commentHeader * {
        color: #0085E5 !important;
    }

    #commentBody {
        background-color: rgba(0, 133, 229, .1);
        padding:  clamp(70px, 11.2vh ,150px) clamp(70px, 5.5vw ,120px);
        display: flex;
        flex-direction: column;
    }

    #commentBody .nav-tabs{
        margin-top: 0;
        margin-bottom: 0;
    }

    .addCommentBtn {
        padding: clamp(14px,1.35vh, 45px) clamp(20px,3.3vw,80px);
        background-color: #0076D6;
        color: white;
        font-size: clamp(24px, 2.1vw,50px);
        font-family: 'Antonio';
        font-weight: 700;
        width: fit-content;
        margin-top: 40px;
    }

    .submitReplyBtn {
        padding: clamp(8px,1.15vh, 45px) clamp(14px,2vw,80px);
        background-color: #0067B2;
        color: white;
        font-size: clamp(22px, 1.66vw,48px);
        font-family: 'Antonio';
        font-weight: 700;
        width: fit-content;
        border: 0px;
    }

    .commentInput {
        margin-bottom: 40px;
    }

    .edited-disclaimer{
        font-size: clamp(12px, 1.5vh, 20px);
        color: #0076D6;
    }



    .nav-tabs a.nav-link[aria-disabled="true"] {
        pointer-events: none;
        /* Disable interaction */
        color: black;
        /* Change text color */
        cursor: not-allowed;
        /* Change cursor to not-allowed */
        opacity: 0.6;
        /* Optional: reduce opacity */
        background-color: gray;
    }

    #popup {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: none;
        background-color: #333;
        color: white;
        border-radius: 15px;
        padding: 15px;
        max-width: 40%;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        border: 1px solid #ccc;
        font-size: 14px;
        text-align: center;
        animation: popup-animation 0.5s ease-in-out;

    }

    @keyframes popup-animation {
        from {
            bottom: -80px;
            opacity: 0;
        }
        to {
            bottom: 20px;
            opacity: 1;
        }
    }
    @keyframes popup-reverse-animation {
        from {
            bottom: 20px;
            opacity: 1;
        }
        to {
            bottom: -80px;
            opacity: 0;
        }
    }

/* ============================================
   Recipe Selection Modal Styles
   ============================================ */

.recipe-selection-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.recipe-selection-modal-content {
    background: white;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    margin: 2rem auto;
    padding: clamp(20px, 3vw, 40px);
    border-radius: 8px;
    position: relative;
    overflow-y: auto;
}

.recipe-selection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(20px, 2.5vh, 30px);
    border-bottom: 2px solid #0076D6;
    padding-bottom: clamp(10px, 1.5vh, 20px);
}

.recipe-selection-header h2 {
    font-family: 'Antonio', sans-serif;
    font-size: clamp(24px, 3vw, 48px);
    color: #333;
    margin: 0;
}

.recipe-selection-header h2 span {
    color: #0076D6;
}

.recipe-selection-close {
    background: none;
    border: none;
    font-size: clamp(32px, 4vw, 48px);
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.recipe-selection-search {
    margin-bottom: clamp(15px, 2vh, 25px);
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar i {
    position: absolute;
    left: clamp(12px, 1.5vw, 20px);
    color: #888;
    font-size: clamp(16px, 2vw, 24px);
}

.search-bar input {
    width: 100%;
    padding: clamp(10px, 1.5vh, 15px) clamp(10px, 1.5vh, 15px) clamp(10px, 1.5vh, 15px) clamp(40px, 5vw, 60px);
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: clamp(14px, 1.8vw, 20px);
}

.recipe-selection-filters {
    display: flex;
    gap: clamp(8px, 1vw, 15px);
    margin-bottom: clamp(20px, 2.5vh, 30px);
    flex-wrap: wrap;
}

.filter-btn {
    padding: clamp(8px, 1.2vh, 12px) clamp(15px, 2vw, 25px);
    border: 2px solid #0076D6;
    background: white;
    color: #0076D6;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(12px, 1.5vw, 18px);
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn.active {
    background: #0076D6;
    color: white;
}

.filter-btn:hover:not(.active) {
    background: #f0f8ff;
}

.recipe-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: clamp(15px, 2vw, 25px);
    margin-bottom: clamp(20px, 2.5vh, 30px);
    min-height: 200px;
}

.recipe-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background: white;
}

.recipe-card:hover {
    border-color: #0076D6;
    box-shadow: 0 4px 8px rgba(0, 118, 214, 0.2);
}

.recipe-card.selected {
    border-color: #0076D6;
    border-width: 3px;
    box-shadow: 0 0 0 3px rgba(0, 118, 214, 0.2);
}

.recipe-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.recipe-card-content {
    padding: clamp(10px, 1.5vh, 15px);
}

.recipe-card-content h4 {
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 700;
    margin: 0 0 clamp(8px, 1vh, 12px) 0;
    color: #333;
}

.recipe-nutrition {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: clamp(8px, 1vh, 12px);
    font-size: clamp(12px, 1.5vw, 16px);
    color: #0076D6;
}

.recipe-card .see-recipe-btn {
    width: 100%;
    padding: clamp(8px, 1.2vh, 12px);
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(12px, 1.5vw, 16px);
    font-weight: 600;
    margin-top: clamp(8px, 1vh, 12px);
}

.recipe-favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #0076D6;
}

.recipe-favorite-btn.favorited {
    color: #ffd700;
}

.recipe-selection-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: clamp(15px, 2vh, 25px);
    border-top: 2px solid #ddd;
}

.selection-counter {
    color: #0076D6;
    font-weight: 600;
    font-size: clamp(14px, 1.8vw, 20px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.recipe-selection-cancel {
    padding: clamp(10px, 1.5vh, 15px) clamp(20px, 2.5vw, 30px);
    background: white;
    border: 2px solid #333;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 600;
}

.recipe-selection-cancel:hover {
    background: #333;
    color: white;
}

/* ============================================
   Meal Calendar Styles
   ============================================ */

.meal-calendar-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(20px, 3vw, 40px);
}

.meal-calendar-header h1 {
    font-family: 'Antonio', sans-serif;
    font-size: clamp(32px, 4vw, 64px);
    color: #333;
    margin-bottom: clamp(20px, 2.5vh, 30px);
}

.meal-calendar-header h1 span {
    color: #0076D6;
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(15px, 2vh, 25px);
}

.calendar-nav-btn {
    background: #0076D6;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav-btn:hover {
    background: #005fa3;
}

.calendar-month-year {
    font-family: 'Antonio', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    color: #333;
}

.calendar-grid {
    margin-bottom: clamp(30px, 4vh, 50px);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekdays div {
    text-align: center;
    font-weight: 600;
    color: #666;
    padding: clamp(8px, 1vh, 12px);
    font-size: clamp(12px, 1.5vw, 16px);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(14px, 1.8vw, 18px);
    transition: all 0.3s;
    background: white;
}

.calendar-day:hover:not(.other-month) {
    border-color: #0076D6;
    background: #f0f8ff;
}

.calendar-day.selected {
    border-color: #0076D6;
    background: #0076D6;
    color: white;
}

.calendar-day.today {
    border-color: #ffd700;
    font-weight: 700;
}

.calendar-day.other-month {
    color: #ccc;
    cursor: default;
}

/* Calendar day with plate photos */
.calendar-day {
    flex-direction: column;
    padding: 8px;
    position: relative;
}

.day-number {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 600;
    margin-bottom: 4px;
}

.day-plates {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
}

.plate-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 2px solid #ddd;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plate-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.plate-photo.empty-slot {
    background-color: #e0e0e0;
    border-color: #ccc;
}

.plate-photo.empty-slot i {
    color: #999;
    font-size: 14px;
}

.plate-photo:hover {
    border-color: #0076D6;
    transform: scale(1.1);
    transition: all 0.2s;
}

/* Tooltip for plate photos */
.plate-photo[data-title]:hover::after {
    content: attr(data-title);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
}

.plate-photo[data-title]:hover::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #333;
    z-index: 1000;
    pointer-events: none;
}

/* Meal Editing Modal */
.meal-editing-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meal-editing-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 90%;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.meal-editing-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #ddd;
}

.meal-editing-modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.meal-editing-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meal-editing-modal-close:hover {
    color: #000;
}

.meal-editing-modal-body {
    padding: 20px;
}

.modal-navigation {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.modal-nav-left,
.modal-nav-right {
    background: #0076D6;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 20px;
}

.modal-nav-left:disabled,
.modal-nav-right:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.modal-nav-left:hover:not(:disabled),
.modal-nav-right:hover:not(:disabled) {
    background: #005fa3;
}

.modal-content-inner {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    min-height: 400px;
}

@media (max-width: 767px) {
    .modal-content-inner {
        grid-template-columns: 1fr;
    }
    
    .modal-nav-left,
    .modal-nav-right {
        margin-top: 0;
    }
    
    .meal-editing-modal-content {
        max-width: 95%;
    }
}

.modal-day {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: #f9f9f9;
}

.day-header {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #0076D6;
    padding-bottom: 8px;
}

.meals-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meal-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meal-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.meal-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meal-field label {
    font-size: 14px;
    color: #666;
    min-width: 80px;
}

.meal-label-input,
.meal-slot-input {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.servings-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.servings-minus,
.servings-plus {
    background: #0076D6;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servings-minus:hover,
.servings-plus:hover {
    background: #005fa3;
}

.servings-value {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.add-meal-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.add-meal-btn:hover {
    background: #218838;
}

.meal-editing-modal-footer {
    padding: 20px;
    border-top: 2px solid #ddd;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.recipes-for-today-section {
    margin-top: clamp(30px, 4vh, 50px);
}

.recipes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(15px, 2vh, 25px);
}

.recipes-header h2 {
    font-family: 'Antonio', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    color: #333;
    margin: 0;
}

.select-others-link {
    color: #0076D6;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(14px, 1.8vw, 18px);
}

.select-others-link:hover {
    text-decoration: underline;
}

.total-nutrition {
    margin-bottom: clamp(20px, 2.5vh, 30px);
    font-size: clamp(14px, 1.8vw, 18px);
    color: #666;
}

.total-nutrition span {
    margin-right: clamp(15px, 2vw, 25px);
    color: #0076D6;
    font-weight: 600;
}

.recipes-today-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(15px, 2vw, 25px);
    margin-bottom: clamp(30px, 4vh, 50px);
}

.recipe-today-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: white;
}

.recipe-today-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-today-content {
    padding: clamp(12px, 1.5vh, 18px);
}

.recipe-today-content h4 {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    margin: 0 0 clamp(8px, 1vh, 12px) 0;
}

.recipe-today-nutrition {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: clamp(8px, 1vh, 12px);
    font-size: clamp(12px, 1.5vw, 16px);
    color: #0076D6;
}

.remove-recipe-btn {
    padding: clamp(6px, 0.8vh, 10px) clamp(12px, 1.5vw, 18px);
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(12px, 1.5vw, 16px);
}

.recipe-today-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #0076D6;
}

.recipe-today-favorite.favorited {
    color: #ffd700;
}

.empty-state {
    text-align: center;
    padding: clamp(40px, 5vh, 60px);
    color: #666;
}

.empty-state h3 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: clamp(10px, 1.5vh, 15px);
}

.meal-calendar-actions {
    display: flex;
    gap: clamp(15px, 2vw, 25px);
    margin-top: clamp(30px, 4vh, 50px);
    flex-wrap: wrap;
}

.btn-view-shopping-list,
.btn-calendar-settings {
    padding: clamp(12px, 1.8vh, 18px) clamp(20px, 2.5vw, 30px);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-view-shopping-list {
    background: white;
    border: 2px solid #333;
    color: #333;
}

.btn-view-shopping-list:hover {
    background: #333;
    color: white;
}

.btn-calendar-settings {
    background: #0076D6;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-calendar-settings:hover {
    background: #005fa3;
}

/* ============================================
   Settings Popup Styles
   ============================================ */

.settings-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.settings-popup-content {
    background: #f5f5f5;
    width: 90%;
    max-width: 600px;
    padding: clamp(30px, 4vw, 50px);
    border-radius: 8px;
    position: relative;
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(20px, 2.5vh, 30px);
}

.settings-breadcrumb {
    color: #666;
    font-size: clamp(12px, 1.5vw, 16px);
}

.settings-close {
    background: none;
    border: none;
    font-size: clamp(32px, 4vw, 48px);
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.settings-title {
    font-family: 'Antonio', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    color: #333;
    margin-bottom: clamp(30px, 4vh, 50px);
    text-align: center;
}

.settings-section {
    margin-bottom: clamp(25px, 3vh, 35px);
}

.settings-label {
    display: block;
    font-weight: 600;
    margin-bottom: clamp(10px, 1.5vh, 15px);
    font-size: clamp(14px, 1.8vw, 18px);
    color: #333;
}

.settings-button-group {
    display: flex;
    gap: clamp(8px, 1vw, 12px);
    flex-wrap: wrap;
}

.settings-btn {
    padding: clamp(10px, 1.5vh, 15px) clamp(20px, 2.5vw, 30px);
    border: 2px solid #0076D6;
    background: #e6f4ff;
    color: #0076D6;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 600;
    transition: all 0.3s;
}

.settings-btn.active {
    background: #0076D6;
    color: white;
}

.settings-btn:hover:not(.active) {
    background: #cce7ff;
}

.settings-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-input-group input {
    padding: clamp(10px, 1.5vh, 15px);
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: clamp(14px, 1.8vw, 18px);
    width: 100px;
}

.settings-unit {
    font-size: clamp(14px, 1.8vw, 18px);
    color: #666;
}

.settings-save-btn {
    width: 100%;
    padding: clamp(14px, 2vh, 20px);
    background: #0076D6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: clamp(20px, 2.5vh, 30px);
}

.settings-save-btn:hover {
    background: #005fa3;
}

/* ============================================
   Recipe Detail Modal Styles
   ============================================ */

.recipe-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10002;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.recipe-detail-modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    margin: 2rem auto;
    padding: clamp(20px, 3vw, 40px);
    border-radius: 8px;
    position: relative;
    overflow-y: auto;
}

.recipe-detail-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.recipe-detail-header {
    position: relative;
    margin-bottom: clamp(20px, 2.5vh, 30px);
}

.recipe-detail-header img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.recipe-detail-header h2 {
    font-family: 'Antonio', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    margin: clamp(15px, 2vh, 20px) 0;
}

.recipe-detail-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #0076D6;
}

.recipe-detail-favorite.favorited {
    color: #ffd700;
}

.recipe-detail-nutrition {
    display: flex;
    gap: clamp(15px, 2vw, 25px);
    margin-bottom: clamp(20px, 2.5vh, 30px);
    padding: clamp(15px, 2vh, 20px);
    background: #f5f5f5;
    border-radius: 4px;
}

.nutrition-item {
    font-size: clamp(14px, 1.8vw, 18px);
    color: #0076D6;
}

.recipe-detail-ingredients,
.recipe-detail-instructions {
    margin-bottom: clamp(20px, 2.5vh, 30px);
}

.recipe-detail-ingredients h3,
.recipe-detail-instructions h3 {
    font-size: clamp(18px, 2.2vw, 24px);
    margin-bottom: clamp(10px, 1.5vh, 15px);
    color: #333;
}

/* ============================================
   Shopping List View Styles
   ============================================ */

.shopping-list-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(20px, 3vw, 40px);
}

.shopping-list-header h1 {
    font-family: 'Antonio', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: clamp(15px, 2vh, 25px);
}

.shopping-list-meta {
    margin-bottom: clamp(20px, 2.5vh, 30px);
    color: #666;
}

.shopping-list-content {
    background: white;
    padding: clamp(20px, 3vw, 40px);
    border-radius: 8px;
    border: 2px solid #ddd;
    margin-bottom: clamp(30px, 4vh, 50px);
}

.shopping-list-text {
    white-space: pre-wrap;
    line-height: 1.6;
    font-size: clamp(14px, 1.8vw, 18px);
}

.meal-prep-advice {
    margin-top: clamp(20px, 2.5vh, 30px);
    padding-top: clamp(20px, 2.5vh, 30px);
    border-top: 2px solid #ddd;
}

.shopping-list-feedback {
    text-align: center;
    padding: clamp(20px, 2.5vh, 30px);
}

.feedback-buttons {
    display: flex;
    gap: clamp(15px, 2vw, 25px);
    justify-content: center;
    margin-top: clamp(15px, 2vh, 20px);
}

.feedback-btn {
    padding: clamp(10px, 1.5vh, 15px) clamp(20px, 2.5vw, 30px);
    border: 2px solid #0076D6;
    background: white;
    color: #0076D6;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-btn.good:hover {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.feedback-btn.bad:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* ============================================
   My Menus Styles
   ============================================ */

.my-menus-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(20px, 3vw, 40px);
}

.my-menus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(30px, 4vh, 50px);
}

.my-menus-header h1 {
    font-family: 'Antonio', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
}

.create-menu-btn {
    padding: clamp(12px, 1.8vh, 18px) clamp(20px, 2.5vw, 30px);
    background: #0076D6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 600;
}

.menus-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: clamp(20px, 2.5vw, 30px);
}

.menu-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: clamp(20px, 2.5vw, 30px);
    background: white;
}

.menu-card h3 {
    font-size: clamp(18px, 2.2vw, 24px);
    margin-bottom: clamp(10px, 1.5vh, 15px);
}

.menu-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: clamp(15px, 2vh, 20px);
    font-size: clamp(12px, 1.5vw, 16px);
    color: #666;
}

.menu-card-actions {
    display: flex;
    gap: 10px;
}

.view-menu-btn,
.delete-menu-btn {
    padding: clamp(8px, 1.2vh, 12px) clamp(15px, 2vw, 25px);
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(12px, 1.5vw, 16px);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.view-menu-btn {
    background: #0076D6;
    color: white;
    border: none;
}

.delete-menu-btn {
    background: #dc3545;
    color: white;
    border: none;
}

.menu-view-header {
    margin-bottom: clamp(30px, 4vh, 50px);
}

.back-to-menus-link {
    color: #0076D6;
    text-decoration: none;
    margin-bottom: clamp(10px, 1.5vh, 15px);
    display: inline-block;
}

.menu-days-list {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.5vh, 30px);
}

.menu-day-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: clamp(20px, 2.5vw, 30px);
    background: white;
}

.menu-day-header h3 {
    font-size: clamp(20px, 2.5vw, 28px);
    margin-bottom: clamp(15px, 2vh, 20px);
}

.menu-day-meals {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: clamp(15px, 2vw, 25px);
}

.menu-meal-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.menu-meal-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.meal-info {
    padding: clamp(10px, 1.5vh, 15px);
}

.meal-info h4 {
    font-size: clamp(14px, 1.8vw, 18px);
    margin-bottom: 8px;
}

.meal-nutrition {
    font-size: clamp(12px, 1.5vw, 16px);
    color: #0076D6;
    margin-top: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .recipe-selection-grid {
        grid-template-columns: 1fr;
    }
    
    .recipes-today-grid {
        grid-template-columns: 1fr;
    }
    
    .menus-list {
        grid-template-columns: 1fr;
    }
    
    .menu-day-meals {
        grid-template-columns: 1fr;
    }
    
    .meal-calendar-actions {
        flex-direction: column;
    }
    
    .btn-view-shopping-list,
    .btn-calendar-settings {
        width: 100%;
    }
}

   
