/* Today's Dinner Widget - Subtle Dark Theme */
.todays-dinner-widget {
    background: rgba(30, 30, 50, 0.6);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.todays-dinner-widget h2 {
    color: #ff8c00;
    margin: 0 0 15px 0;
    font-size: 1.4em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dinner-highlight {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.3) 0%, rgba(255, 107, 0, 0.3) 100%);
    color: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.dinner-highlight h3 {
    font-size: 1.2em;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.dinner-highlight .notes {
    opacity: 0.85;
    margin: 8px 0 0 0;
    font-style: italic;
    font-size: 0.9em;
}

.recipe-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #ff8c00;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    margin-top: 8px;
    transition: all 0.3s;
}

.recipe-btn:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

.no-dinner {
    color: #999;
    font-style: italic;
    padding: 15px;
    text-align: center;
    font-size: 0.95em;
}

.menu-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.view-week-btn {
    flex: 1;
    min-width: 140px;
    padding: 10px 16px;
    background: rgba(255, 140, 0, 0.15);
    color: #ff8c00;
    border: 1px solid rgba(255, 140, 0, 0.4);
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.view-week-btn:hover {
    background: rgba(255, 140, 0, 0.25);
    border-color: #ff8c00;
    transform: translateY(-1px);
}

.view-week-btn.secondary {
    background: rgba(138, 43, 226, 0.15);
    color: #a855f7;
    border-color: rgba(138, 43, 226, 0.4);
}

.view-week-btn.secondary:hover {
    background: rgba(138, 43, 226, 0.25);
    border-color: #a855f7;
}

.edit-menu-link {
    flex: 1;
    min-width: 140px;
    padding: 10px 16px;
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.4);
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-menu-link:hover {
    background: rgba(76, 175, 80, 0.25);
    border-color: #4caf50;
    transform: translateY(-1px);
}

/* Modal content styling for dinner menus */
#modal-content h2 {
    color: #ff8c00;
    margin: 0 0 8px 0;
    font-size: 1.5em;
    font-weight: 600;
}

#modal-content .week-date {
    color: #999;
    margin-bottom: 20px;
    font-size: 0.9em;
}

#modal-content .modal-menu-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#modal-content .modal-day-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.15);
    border-radius: 6px;
    transition: all 0.3s;
}

#modal-content .modal-day-item:hover {
    background: rgba(255, 140, 0, 0.1);
    border-color: rgba(255, 140, 0, 0.3);
}

#modal-content .modal-day-item.today {
    background: rgba(255, 140, 0, 0.2);
    border-color: rgba(255, 140, 0, 0.5);
}

#modal-content .modal-day-item.today .day-label {
    color: #ffa500;
}

#modal-content .modal-day-item.today .meal-info strong {
    color: #ffa500;
}

#modal-content .day-label {
    font-weight: 700;
    color: #ff8c00;
    min-width: 85px;
    font-size: 1em;
}

#modal-content .meal-info {
    color: #fff;
}

#modal-content .meal-info strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1em;
}

#modal-content .meal-notes {
    font-size: 0.85em;
    opacity: 0.75;
    margin: 4px 0 0 0;
    font-style: italic;
    color: #ccc;
}

#modal-content .modal-day-item.today .meal-notes {
    color: rgba(255, 255, 255, 0.85);
}

#modal-content .modal-recipe-link {
    display: inline-block;
    margin-top: 4px;
    color: #ff8c00;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.3s;
}

#modal-content .modal-day-item.today .modal-recipe-link {
    color: #ffa500;
}

#modal-content .modal-recipe-link:hover {
    text-decoration: underline;
}

#modal-content .no-menu {
    text-align: center;
    color: #999;
    padding: 30px 20px;
    font-style: italic;
}

#modal-content .no-menu a {
    color: #ff8c00;
    text-decoration: none;
    font-weight: 600;
}

#modal-content .no-menu a:hover {
    text-decoration: underline;
}

/* Mobile Responsive for modal content */
@media (max-width: 600px) {
    #modal-content .modal-day-item {
        flex-direction: column;
        gap: 8px;
    }
    
    #modal-content .day-label {
        min-width: auto;
    }
}

/*Edit the dinner menu*/
#modal-content .meal-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

#modal-content .modal-edit-link {
    display: inline-block;
    color: #4caf50;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.3s;
}

#modal-content .modal-edit-link:hover {
    text-decoration: underline;
    color: #66bb6a;
}

#modal-content .modal-day-item.today .modal-edit-link {
    color: #90ee90;
}
