/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes the full viewport height */
    margin: 0; /* Remove default margin */
    font-family: Arial, sans-serif; /* Ensure consistent font across the page */
    text-align: center; /* Center-align body content */
background-color: var(--neutral2);
}

main {
    flex: 1; /* Allow main content to expand and push footer down */
    width: 100%; /* Ensure main content spans the full width */
    max-width: 1000px; /* Optional: Add a max-width for readability */
    margin: 0 auto; /* Center the content horizontally */
    padding: 20px; /* Add some padding for better appearance */
}

/* Main Content */
main {
    flex-grow: 1; /* Allow main content to expand and push footer down */
}
/* Header Styling for Sticky Header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color3); /* Deep Teal */
    padding: 5px 30px;
    box-shadow: 0 2px 5px var(--neutral4);
    position: sticky; /* Makes the header sticky */
    top: 0; /* Sticks to the top of the viewport */
    z-index: 100; /* Keeps the header above other content */
}

.logo a {
    font-size: 16px;
    font-weight: bold;
    color: var(--color5-light); /* Light Cream Text */
    text-decoration: none;
}

.user-info {
    font-size: 14px;
    color: var(--color5-light); /* White (lighter shade of cream) */
    font-weight: bold;
    margin-bottom: 5px;
}

/* Hamburger Menu Styling */
.menu {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.hamburger {
    font-size: 2em;
    color: var(--color5-light); /* Light Cream */
    transition: transform 0.3s ease, color 0.3s ease;
}

.hamburger:hover {
    color: var(--color1); /* Fresh Green */
    transform: rotate(90deg); /* Rotate on hover for interactivity */
}

.menu-content {
    display: none;
    position: absolute;
    top: 100%; /* Position below the hamburger icon */
    right: 0;
    background-color: var(--color3); /* Deep Teal */
    border: 1px solid var(--color5-light); /* Light Cream border */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden; /* Ensure no overflow */
}

.menu-content.active {
    display: block;
}

.menu-content li {
    list-style: none;
}

.menu-content a {
    display: block;
    padding: 10px 15px;
    color: var(--color5-light); /* Light Cream text */
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-content a:hover {
    background-color: var(--color2); /* Warm Orange */
    color: var(--color1); /* Fresh Green text */
}

.user-details {
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    gap: 30px; /* Space between items */
    padding: 10px 10px;
    background-color: var(--color1-light); /* Light green background */
    border: 1px solid var(--neutral2); /* Light grey border */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: var(--color3-dark); /* Dark teal for text */
    margin: 0; /* Remove extra space above/below */
    width: 100%; /* Make it span the full width */
    box-sizing: border-box; /* Include padding and borders in width */
    text-align: center; /* Ensure text within p elements is centered */
}

.user-details p {
    margin: 0;
    white-space: nowrap; /* Prevent wrapping of text */
}

/* Optional: Add spacing between user-details and the next element */
.user-details + * {
    margin-top: 10px;
}

/* Back button on reoprts page */
.back-button {
    width: 100px; /* Fixed width */
    height: 30px; /* Fixed height */
    padding: 2px 5px;
    background-color: var(--color3);
    color: var(--color5-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: .9em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-left: 5px; /* Space from the left */
    margin-bottom: 5px; /* Space above the bottom to avoid triggering footer */
    position: relative; /* Default positioning */
}

/* Panel adjustments */
.panel {
    background-color: var(--neutral1); /* Very Light Grey for background */
    padding: 10px;
    margin: 10px auto; /* Center panel horizontally with top/bottom margin */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 800px; /* Limit panel width for better layout */
}

.panel-title {
    color: var(--color3); /* Deep Teal for headings */
    font-weight: bold;
}

/* Button Styling */
.button {
    padding: 12px 20px;
    font-size: 1em;
    font-weight: bold;
    background-color: var(--color2); /* Warm Orange */
    color: var(--color5-light); /* Light Cream text */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: var(--color4); /* Soft Red */
    transform: scale(1.05);
}

/* Input Fields Styling */
input[type="text"], 
input[type="email"], 
input[type="password"] {
    width: 80%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid var(--neutral2); /* Light Grey Border */
    border-radius: 5px;
    font-size: 1.0em;
    transition: border-color 0.3s ease;
}

/* Temperature Panel Input Fields..NOT USED AS WE ARE USING READING INPUT */
#tempPanel input[type="number"] {
    width: 100px;
    padding: 5px;
    margin: 5px;
    border: 2px solid var(--color1-dark); /* Darker Green Border */
    border-radius: 8px;
    font-size: 1.5em;
    background-color: var(--color5-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Temperature Panel Input Fields */
#tempPanel .reading-input {
    width: 80%;
    padding: 5px;
    margin: 10px;
    border: 2px solid var(--color1-dark); /* Darker Green Border */
    border-radius: 8px;
    font-size: 1.0em;
    background-color: var(--color5-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#tempPanel .reading-input {
    text-align: center; /* Centers text horizontally */
    font-size: 1.0em; /* Adjust for readability */
    padding: 5px 5px; /* Add inner padding */
    border: 2px solid var(--color1-dark); /* Match your theme */
    border-radius: 8px; /* Rounded corners */
    background-color: var(--color5-light); /* Light background */
    width: 42%; /* Adjust width as necessary */
    box-sizing: border-box; /* Include padding and border in width calculation */
}

/* Modal Styling */
#loginModal, #modalOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 1000;
}

#loginModal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color5); /* Light Cream background */
    padding: 30px;
    width: 400px;
    box-shadow: 0 4px 15px var(--neutral3); /* Medium Grey Shadow */
    border-radius: 12px;
    z-index: 1100;
    transition: all 0.4s ease;
}
#loginModal {
    font-family: 'Roboto', sans-serif; /* Use a modern font like Roboto */
}

.modal-content {
    font-size: 1em; 
    line-height: 1.0;
    display: flex;
    flex-direction: column;
    gap: 25px; /* Space between elements */
}

.modal-content input[type="text"], 
.modal-content input[type="email"], 
.modal-content input[type="password"] {
    padding: 8px;
    border: 1px solid var(--neutral2);
    border-radius: 5px;
    font-size: 0.9em; /* Smaller size for compact modal */
    background-color: var(--color5-light);
    transition: border-color 0.3s ease;
}
@media (max-width: 768px) {
    #loginModal {
        width: 80%; /* Make it adapt to smaller screens */
        padding: 20px;
    }
}

/* Reports temp grid */
.temp-grid table {
    width: 100%;
    border-collapse: collapse;
}

.temp-grid th, .temp-grid td {
    border: 1px solid #ccc;
    text-align: center;
    padding: 8px;
}

.temp-grid th {
    background-color: var(--color4);
    color: var(--color5-light);
}


/* Close But/* Styling for Existing Diary Notes */
#diaryRecords li {
    width: 100%; /* Make each list item take full width */
    margin-bottom: 10px; /* Add spacing between diary notes */
}

#diaryRecords li textarea {
    width: 100%; /* Make textarea fill the width of its container */
    padding: 10px; /* Add padding for comfort */
    font-size: 1em; /* Adjust font size as needed */
    border: 2px solid var(--color3-dark); /* Add a border for visibility */
    border-radius: 5px; /* Rounded corners for aesthetics */
    box-sizing: border-box; /* Include padding and border in the element's total width */
    resize: vertical; /* Allow vertical resizing, but prevent horizontal resizing */
}
.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
    background-color: var(--color5-light); /* Light Cream */
    border: 2px solid var(--color3); /* Dark Teal */
    color: var(--color3); /* Deep Teal */
    border-radius: 50%; /* Circular Shape */
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the "X" */
    transition: all 0.3s ease;
}

.close-button:hover {
    background-color: var(--color4); /* Soft Red */
    color: white;
    border-color: var(--color4);
}

/* Footer Styling */
.footer-menu {
    background-color: var(--color3-dark); /* Dark Teal for footer */
    color: var(--color5-light); /* Light Cream Text */
    text-align: center;
    padding: 15px 20px;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    position: relative; /* Default position, not overlapping content */
}
/* Footer Links */
.footer-menu a {
    color: var(--color5-light); /* Light Cream Links */
    text-decoration: none;
    margin: 0 10px;
}
.footer-menu a:hover {
    text-decoration: underline;
}
/* Tab Content Styling */
.tabcontent {
    display: none;
    padding: 10px;
}

.tabcontent input,
.tabcontent button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    font-size: 1em;
    border: 1px solid var(--neutral2);
    border-radius: 5px;
}

.tabcontent button {
    background-color: var(--color2);
    color: var(--color5-light);
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.tabcontent button:hover {
    background-color: var(--color4); /* Soft Red on hover */
    transform: scale(1.05);
}

/* Marketing Banner Styling */
.banner {
    padding: 20px;
    text-align: center;
    background: var(--gradient-top); /* Gradient background */
    color: var(--color5-light);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.banner h1 {
    font-size: 2em;
}

/* General Utility Classes */
.text-center {
    text-align: center;
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.p-20 {
    padding: 20px;
}

.footer-link {
    color: var(--color5-light);
    text-decoration: none;
    font-weight: bold;
    padding: 5px 15px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color4);
    text-decoration: underline;
}
.footer-button {
    width: 100px; /* Fixed width */
    height: 40px; /* Fixed height */
    padding: 8px 15px;
    background-color: var(--color1);
    color: var(--color5-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: .8em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-left: 10px; /* Space from the left */
    margin-bottom: 10px; /* Space above the bottom to avoid triggering footer */
    position: relative; /* Default positioning */
}


/* Share Link Styling */
#shareLink {
    color: var(--color1);
    font-weight: bold;
    text-decoration: none;
    padding: 5px 20px;
    font-size: 2em;
    font-family: 'Raleway, sans-serif';
    transition: color 0.3s ease, background-color 0.3s ease;
}

#shareLink:hover {
    color: var(--color4);
    text-decoration: underline;
    background-color: var(--color5-light);
}
/* Date Controls Styling */
.date-controls {
    display: flex;
    justify-content: center; /* Center align the date controls */
    align-items: center;
    gap: 15px; /* Adds spacing between each element */
    padding: 15px;
    background-color: var(--color5-light); /* Light cream background for subtle contrast */
    border-bottom: 1px solid var(--color3); /* Slight bottom border for separation */
}

/* Styling for the Date Picker Input */
.date-picker {
    padding: 8px 12px;
    border: 1px solid var(--color3-dark); /* Dark teal border for consistency */
    border-radius: 5px;
    font-size: 1em;
    color: var(--color3-dark); /* Dark teal text for readability */
    background-color: white; /* White background to make the date stand out */
}

/* Styling for Previous and Next Day Buttons */
.date-button {
    padding: 8px 15px;
    background-color: var(--color1); /* Fresh Green background for buttons */
    color: var(--color5-light); /* Light cream text */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.date-button:hover {
    background-color: var(--color4); /* Soft Red for emphasis on hover */
    color: white; /* White text on hover for contrast */
}
/* Remove bullet points from all unordered lists */
ul {
    list-style: none; /* Removes the default bullet points */
    padding: 0; /* Removes default padding from the list */
    margin: 0; /* Removes default margin */
}
/* Container Styling for Diary Notes */
#diaryPanel {
    padding-bottom: 50px; /* Added extra padding at the bottom of the panel */
}

/* New Note Textarea and Button Styling */
#newDiaryNote {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 2px solid var(--color1-dark);
    border-radius: 5px;
    margin-bottom: 15px; /* Space between the textarea and the button */
    box-sizing: border-box;
}

#saveDiaryNote {
    background-color: var(--color1);
    color: var(--color5-light);
    border: 2px solid var(--color1-dark);    
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#saveDiaryNote:hover {
    background-color: var(--color4);
    color: white;
    margin-bottom: 20px; /* Space between the "Add Note" button and the existing notes list */
}

/* Existing Diary Notes Styling */
#diaryRecords {
    display: flex;
    flex-wrap: wrap; /* Allow notes to wrap to the next line if there isn't enough space */
    gap: 20px; /* Add space between the diary notes */
    justify-content: flex-start; /* Align notes to the left */
    margin-top: 20px; /* Add margin to the top for spacing */
}

/* Individual Diary Notes */
#diaryRecords li {
    flex: 1 1 60%; /* Flexbox shorthand: flex-grow, flex-shrink, and flex-basis set to 40% */
    max-width: 85%; /* Optional: Set a maximum width to control how wide a note can be */
    min-width: 200px; /* Optional: Set a minimum width for usability */
    list-style: none; /* Remove bullet points */
    margin-bottom: 10px; /* Add spacing between notes */
    box-sizing: border-box; /* Ensure padding and borders are included in the width calculation */
}

/* Styling for the Textarea inside Each Note */
#diaryRecords li textarea {
    width: 100%; /* Fill the width of the container */
    padding: 12px; /* Add slightly more padding for a comfortable feel */
    font-size: 1em; /* Maintain readability */
    border: 2px solid var(--neutral2); /* Neutral border color for consistency */
    border-radius: 5px; /* Rounded corners for a softer look */
    background-color: var(--neutral1); /* Light grey background for subtle contrast */
    color: var(--color3-dark); /* Dark text for readability */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle inner shadow for depth */
    box-sizing: border-box; /* Include padding and border in width */
    resize: vertical; /* Allow vertical resizing */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#diaryRecords li textarea:focus {
    border-color: var(--color1); /* Highlight border on focus */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px var(--color1); /* Add a slight glow */
}

.success-message {
    color: var(--color1-dark); /* Use a dark green tone for success */
    background-color: var(--color1-light); /* Light green for background */
    padding: 12px; /* Increase padding for better spacing */
    border: 1px solid var(--color1); /* Match the green color scheme */
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 0.9em; /* Slightly smaller font for compactness */
}

.error-message {
    color: var(--color4-dark); /* Use a dark red tone for errors */
    background-color: var(--color4-light); /* Light red background for better readability */
    padding: 12px;
    border: 1px solid var(--color4); /* Match the red color scheme */
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 0.9em;
}

/* Wrapper for the Entire Form */
.report-controls {
    display: flex;
    flex-direction: column; /* Stack rows vertically */
    gap: 20px; /* Space between rows */
    margin-bottom: 20px;
}

/* Wrapper for Form Controls */
.report-controls {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 15px; /* Add space between rows */
}

/* Align Inputs and Labels in Each Row */
.date-row {
    display: flex;
    align-items: center; /* Align inputs and labels vertically */
    gap: 10px; /* Space between input and label */
}

/* Limit Width for Date Inputs */
.date-picker {
    max-width: 150px; /* Control input size */
    width: 100%; /* Responsive width */
    padding: 5px;
    border: 1px solid var(--color3-dark);
    border-radius: 5px;
}

/* Button Row (Reuses Back Button) */
.button-row {
    text-align: left; /* Align button to the left */
}
/* Default form container styling */
.form-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    border: 2px solid var(--color1-dark); 
    border-radius: 10px;
    background-color: var(--color5-light); /* Light background color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center;
}
/* Default input field styling */
.form-container input[type="email"],
.form-container input[type="text"],
.form-container input[type="password"] {
    width: 90%;
    padding: 5px;
    margin: 5px 0;
    border: 2px solid var(--color1-dark); /* Subtle border */
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    background-color: var(--color2-light);
}

/* Default button styling */
.form-container button {
    padding: 5px 20px;
    font-size: 1em;
    color: white;
    background-color: var(--color1-dark); /* Green background */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-container button:hover {
    background-color: var(--color1); /* Slightly lighter green */
}

/* For devices with max width of 768px (tablets and smartphones) */
@media (max-width: 768px) {
    .temp-panel-container {
        padding: 0 5px; /* Minimal padding for edge alignment */
        width: 100%; /* Full width of the screen */
    }

    .unit-item {
        margin: 10px 0; /* Vertical spacing between rows */
    }

    .unit-name-container {
        text-align: center; /* Center the unit name */
        margin-bottom: 5px; /* Space between name and fields */
        font-size: 1.1em; /* Adjust font size if needed */
    }

    .reading-input {
        width: 48%; /* Fixed width for the input fields */
        margin: 0 1%; /* Add small space between the fields */
        display: inline-block; /* Ensure inputs stay horizontally aligned */
        box-sizing: border-box; /* Include padding in the width calculation */
    }
}

/* For smaller smartphones (max width: 480px) */
@media (max-width: 480px) {
    .temp-panel-container {
        padding: 0 2px; /* Minimal padding for small screens */
    }

    .reading-input {
        width: calc(50% - 4px); /* Fixed width for tight spacing */
        margin: 0 2px; /* Adjust gap between fields */
    }
}
/* Task Buttons */
.task-button {
    padding: 2px 5px;
    font-size: 1em;
    font-weight: bold;
    background-color: var(--color1); /* Fresh Green */
    color: var(--color5-light); /* Light Cream */
    border: 1px solid var(--color1-dark); /* Darker Green Border */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 5px;
}

.task-button:hover {
    background-color: var(--color2); /* Warm Orange */
    transform: scale(1.05);
}
/* Notes Text Boxes */
.task-notes {
font-family: 'Roboto', sans-serif; /* Use Roboto or fallback to a similar sans-serif font */    
width: 90%;
    padding: 5px;
    font-size: 1em;
    border: 1px solid var(--neutral2); /* Light Grey Border */
    border-radius: 5px;
    background-color: var(--color5-light); /* Light Cream */
    color: var(--color3-dark); /* Dark Teal */
    resize: vertical; /* Allow resizing vertically */
    margin-top: 5px;
 margin-bottom: 5px;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.task-notes:focus {
    border-color: var(--color1); /* Fresh Green Border on Focus */
    outline: none;
    box-shadow: 0 0 5px var(--color1-light);
}
/* Checkbox and Label Alignment */
.task-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.em;
    color: var(--color3-dark); /* Dark Teal */
    font-weight: bold;
}

.task-checkbox {
    accent-color: var(--color1); /* Fresh Green Checkbox */
    width: 20px;
    height: 20px;
    cursor: pointer;
}
/* Task Panel */
#tasksPanel {
    background-color: var(--neutral1); /* Very Light Grey */
    border: 1px solid var(--neutral2); /* Light Grey Border */
    border-radius: 10px;
    padding: 5px;
    margin: 15px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

#tasksPanel h3 {
    font-size: 1.2em;
    color: var(--color3); /* Deep Teal */
    margin-bottom: 15px;
}
.task-details {
    display: flex;
    align-items: center; /* Vertically aligns the checkbox with the notes */
    gap: 5px; /* Adds spacing between the notes and checkbox */
}
#dueTasksPanel {
 background-color: var(--neutral1); /* Replace #fdf5e6 */
    border: 2px solid var(--accent-color); /* Replace #ffa500 */
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.due-task-btn {
    width: 100%;
    background-color: var(--accent-color);
    border: none;
    padding: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.due-task-btn:hover {
    background-color: var(--accent-color-dark); /* Use a darker accent for contrast */
    transform: scale(1.05); /* Add a slight pop-out effect for interactivity */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow */
}

/* Display STAFF TASKS for users CSS */:
.task-item {
    margin-bottom: 15px;
}

.task-content {
    display: flex;
    align-items: center;
}

.task-notes {
    width: 90%;
    margin-top: 5px;
    resize: vertical;
}
.task-notes {
    width: 90%;
    height: 30px; /* ✅ Set a default height */
    margin-top: 5px;
    resize: vertical; /* ✅ Users can still resize if needed */
    padding: 8px; /* ✅ Add some padding for better readability */
    font-size: 14px; /* ✅ Improve text readability */
    border: 1px solid #ccc; /* ✅ Keep a subtle border */
    border-radius: 5px; /* ✅ Slight rounded corners */
}

.task-checkbox {
    margin-left: 10px;
    align-self: center;
}

/* ============================== */
/*          NEW CSS         */
/* ============================== */
/* ============================== */
/*          General Layout         */
/* ============================== */


main {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    background-color: var(--neutral2);
    border-radius: 10px;
    box-shadow: var(--panel-shadow);
}

/* ============================== */
/*        User Details Box         */
/* ============================== */

.day-user-details {
background-color: transparent;

    color: var(--color5);
    padding: 0px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 5px;
    box-shadow: var(--panel-shadow);
}

/* ============================== */
/*       Tab Navigation Bar        */
/* ============================== */

.day-tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 5px;
}

.day-tab-button {
    padding: 10px 25px;
    font-weight: bold;
    background-color: var(--color3);
    color: var(--color5);
    border: 1px solid var(--color3);
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
 margin-bottom: -20px;
}

.day-tab-button.active,
.day-tab-button:hover {
    background-color: var(--color4);
    color: var(--color5);
    box-shadow: var(--tab-active-shadow);
}
.day-input {
    border: 1px solid var(--neutral2);
    border-radius: 8px;
    padding: 4px 6px;
    font-size: 1em;
    background-color: var(--color1-light); /* Light cream */
    color: var(--color3-dark); /* Dark teal */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.day-input:focus {
    border-color: var(--color1); /* Fresh Green */
    box-shadow: 0 0 6px var(--color1);
    outline: none;
}



/* ============================== */
/*         Panel Styling           */
/* ============================== */

.day-tab-content {
    display: none;
    background-color: var(--neutral1);
    padding: 10px;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--panel-shadow);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.day-tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ============================== */
/*           Buttons               */
/* ============================== */

.day-button, .day-date-button, .day-task-button {
    padding: 5px 15px;
    font-weight: bold;
    background-color: var(--color3);
    color: var(--color5);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
 margin-bottom: 20px;
}

.day-button:hover, .day-date-button:hover, .day-task-button:hover {
    background-color: var(--accent-color-dark);
    box-shadow: var(--button-shadow);
    transform: scale(1.05);
}

/* ============================== */
/*         Checkbox Style          */
/* ============================== */

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
    transition: transform 0.2s ease;
}

input[type="checkbox"]:hover {
    transform: scale(1.2);
}

/* ============================== */
/*    Responsive Design for Mobile */
/* ============================== */

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
        min-height: 120px;
    }

    header .logo {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    header .menu {
        font-size: 1.6em;
    }

    .day-tab-button {
        padding: 12px 18px;
        font-size: 1em;
        border-radius: 5px;
    }

    .day-button, .day-date-button, .day-task-button {
        width: 20%;               /* More tap-friendly size */
        padding: 5px 5px;       /* Larger padding for touch */
        margin-top: 12px;
        border-radius: 2px;      /* Softer rounded edges */
    }

    .day-button:hover, 
    .day-date-button:hover, 
    .day-task-button:hover {
        background-color: var(--accent-color-dark);
        box-shadow: 0 0 10px var(--hover-glow);
        transform: scale(1.08);
    }
.day-input {
    border: 1px solid var(--neutral2);
    border-radius: 8px;
    padding: 4px 6px;
    font-size: 1em;
    background-color: var(--color1-light); /* Light cream */
    color: var(--color3-dark); /* Dark teal */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.day-input:focus {
    border-color: var(--color1); /* Fresh Green */
    box-shadow: 0 0 6px var(--color1);
    outline: none;
}

    main {
        padding: 15px;
    }
}

/* ============================== */
/*         End of Styles           */
/* ============================== */
