/* Meal Menu Page Styles */
.meal-menu-page {
    background-color: #2A3A48; /* Dark background to match theme */
    padding: 30px 60px; /* Add more padding to the sides */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 900px; /* Adjust width to provide more space */
    margin: 0 auto;
    color: #B0BEC5; /* Light gray text */
}

    .meal-menu-page h1 {
        font-size: 2rem;
        text-align: center;
        color: #FFFFFF;
        margin-bottom: 20px;
    }

/* Date Picker */
.date-picker {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

    .date-picker span {
        font-size: 1.2rem;
        color: #B0BEC5;
    }

    .date-picker button {
        background-color: #4A6572;
        color: #ffffff;
        padding: 12px 25px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1rem;
        transition: background-color 0.3s;
    }

        .date-picker button:hover {
            background-color: #3A4E62;
        }

/* Mode Toggle */
.mode-toggle {
    text-align: center;
    margin-bottom: 30px;
}

    .mode-toggle button {
        background-color: #4CAF50;
        color: #ffffff;
        padding: 12px 20px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1rem;
        transition: background-color 0.3s;
    }

        .mode-toggle button:hover {
            background-color: #45a049;
        }

/* Meal Menu Container - Vertical Layout */
.meal-menu-container {
    display: flex;
    flex-direction: column; /* Align the days vertically */
    gap: 20px;
    justify-content: flex-start;
}

/* Day Block Styling */
.day-block {
    background-color: #1F2C3C; /* Darker background for day blocks */
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Day Header with Line */
.day-header {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFEB3B; /* Brighter yellow for the text */
    position: relative; /* Allows absolute positioning for the line */
}

    .day-header::after {
        content: "";
        position: absolute;
        bottom: 0; /* Place it at the bottom of the header */
        left: 0;
        width: 100%; /* Make the line span across the header */
        height: 2px; /* Thickness of the line */
        background-color: #FFEB3B; /* Yellow line for contrast */
        border-radius: 2px; /* Rounded corners for the line */
    }

/* Meal Selection */
.meal-selection {
    font-size: 1rem;
    color: #B0BEC5;
    margin-bottom: 10px;
}

    .meal-selection strong {
        color: #FFFFFF;
    }

    .meal-selection span {
        color: #FFEB3B; /* Highlight the meal names */
    }

/* Edit Mode Styling */
.edit-mode select {
    background-color: #444;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    font-size: 1rem;
    margin-top: 5px;
    cursor: pointer;
}

    .edit-mode select:focus {
        outline: none;
        box-shadow: 0 0 8px rgba(66, 133, 244, 0.8);
    }

/* Save Button */
.save-menu-button {
    display: block;
    background-color: #FF9800;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    width: 200px;
    margin: 30px auto;
    text-align: center;
    transition: background-color 0.3s;
}

    .save-menu-button:hover {
        background-color: #F57C00;
    }

/* New Meal Form Styling */
.new-meal-form {
    display: flex;
    flex-direction: column; /* Stack input fields vertically */
    gap: 15px; /* Space between fields */
    padding: 20px;
    background-color: #1F2C3C; /* Dark background to match theme */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    max-width: 400px; /* Control the width of the form */
    margin: 0 auto;
}

    /* Input Fields */
    .new-meal-form input,
    .new-meal-form select,
    .new-meal-form textarea {
        background-color: #444; /* Dark background for inputs */
        color: #fff; /* White text */
        border: none;
        padding: 12px 15px;
        border-radius: 6px;
        font-size: 1rem;
        width: 100%; /* Ensure inputs take full width */
    }

        /* Focused Input Fields */
        .new-meal-form input:focus,
        .new-meal-form select:focus,
        .new-meal-form textarea:focus {
            outline: none;
            box-shadow: 0 0 8px rgba(66, 133, 244, 0.8); /* Blue focus highlight */
        }

    /* Submit Button */
    .new-meal-form button {
        background-color: #FF9800; /* Button color */
        color: #fff;
        padding: 12px 20px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1rem;
        transition: background-color 0.3s;
        width: 100%; /* Button takes full width */
    }

        /* Button Hover */
        .new-meal-form button:hover {
            background-color: #F57C00;
        }

.meal-hover {
    cursor: pointer;
}
