﻿body {
  background-color: rgba(231, 76, 60, 0.7); /* Semi-transparent red */
  background-image: 
    linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.15) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.15) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.15) 75%);
  background-size: 40px 40px;
}


#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.day {
    border: 1px solid #ccc;
    padding: 10px;
    background: #fff;
    min-height: 100px;
    cursor: pointer;
}

    .day:hover {
        background: #f0f0f0;
    }

#recipe-entry, #controls {
    margin-bottom: 20px;
}

.leftovers {
    background-color: #fdd;
}

.takeout {
    background-color: #dfd;
}

.family-night {
    background-color: #ddf;
}

#calendar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.day-box {
    border: 1px solid #ccc;
    padding: 0.5rem;
    background: #f9f9f9;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .day-box:hover {
        background: #e0f7fa;
    }

.meal-info {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.modal {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid #333;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

    .modal form {
        display: flex;
        flex-direction: column;
    }

    .modal label {
        margin-top: 0.5rem;
    }

    .modal input,
    .modal textarea {
        margin-bottom: 0.5rem;
        padding: 0.3rem;
        font-size: 1rem;
    }

    .modal button {
        padding: 0.5rem;
        background: #007bff;
        color: white;
        border: none;
        cursor: pointer;
    }

        .modal button:hover {
            background: #0056b3;
        }

.bubble-box {
    background: rgb(255, 255, 255, 0.85); /* translucent white */
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px); /* for Safari */
}

.bubble-box2 {
    background: rgb(219, 50, 50, 0.41); /* Soft translucent red */
    border-radius: 12px;
    padding: 15px 12px;
    box-shadow: 0 4px 12px rgba(255, 80, 80, 0.3); /* Softer shadow */
    margin: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light frosted border */
    backdrop-filter: blur(3px); /* ✨ Frosted glass effect */
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    /*  color: #fff; Optional: white text for contrast */
}

.bubble-box-upper-right {
    position: fixed; /* or absolute if inside a relative container */
    top: 10px;
    right: 10px;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
}
#top-links {
    position: fixed;
    top: 10px;
    right: 10px;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
}

.outlined-text {
    color: white;
    font-weight: bold;
    text-decoration: none;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

footer {
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #ddd;
    font-size: 0.9em;
    text-align: center;
}
.big-header {
    font-size: 3rem; /* adjust as needed */
    font-weight: bold;
    color: #222; /* or any color you like */
    text-align: center; /* or left/right */
    margin-bottom: 20px;
    line-height: 1.2;
}

[data-cache-id="rec_8425-latest-v1.1"] {
    display: none;
}

/* Visually highlight the drop target */
[data-date].hovered {
    outline: 2px dashed #ff69b4;
    background-color: rgba(255, 182, 193, 0.15);
}
.ghost-preview {
    pointer-events: none;
}

@media print {
    body {
        margin: 0;
        padding: 0;
    }

    table {
        width: 100%;
        page-break-inside: avoid;
    }

    tr {
        page-break-inside: avoid;
    }

    td {
        word-wrap: break-word;
        max-width: 100px; /* Adjust as needed */
    }
}

.calendar-wrapper {
    transform: scale(0.85);
    transform-origin: top left;
}

/* Disable text selection during drag */
.noselect, .dragging {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

@media print {
    #manual-print-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }
}


