:root {
    --christmas-red: #b3000c; /* Brighter, richer red */
    --christmas-green: #165b33; /* Classic deep green */
    --snow-white: #fffcf5; /* Changed from pure white to warm cream */
    --parchment: #fdf5e6; /* Warmer parchment */
    --wood-brown: #5c4033;
    --gold-accent: #d4af37;
    --text-color: #fffcf5; /* Light cream for visibility on red */
    --border-color: #d3c1ad;
    --light-gray: #f2e8dc; /* Warmer gray */
    --light-red: #ff6b6b;
    --dark-green: #0b2b1a;
    --bg-overlay: rgba(179, 0, 12, 0.03); /* Warm red overlay */
}

body {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 20px;
    /* Beautiful warm red background */
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 25%, #B22222 50%, #8B0000 75%, #A52A2A 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-color);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


body::before {
    content: none; /* Removed simple emoji */
}

body::after {
    content: none; /* Removed simple emoji */
}

header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding: 2rem 1rem;
    background-color: var(--wood-brown);
    /* Updated pattern to be more festive */
    background-image: 
        repeating-linear-gradient(45deg, rgba(179, 0, 12, 0.1) 0px, rgba(179, 0, 12, 0.1) 2px, transparent 2px, transparent 10px),
        repeating-linear-gradient(-45deg, rgba(22, 91, 51, 0.1) 0px, rgba(22, 91, 51, 0.1) 2px, transparent 2px, transparent 10px),
        linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    border: 4px solid #3e2723;
    border-radius: 8px; /* More rounded */
    box-shadow: 0 10px 20px rgba(0,0,0,0.4), inset 0 0 60px rgba(0,0,0,0.6);
}

header h1 {
    color: var(--parchment);
    font-family: 'Mountains of Christmas', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
    letter-spacing: 1px;
}

.countdown-timer {
    color: var(--gold-accent);
    font-family: 'Mountains of Christmas', cursive;
    font-size: 1.5rem;
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

header::before, header::after {
    content: '❄️';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    opacity: 0.8;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}


header::before {
    left: 20px;
}

header::after {
    right: 20px;
}

/* Formulär */
#add-dish {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--parchment);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    position: relative;
}

#add-dish::after {
    /* Decorative corner */
    content: '❄️';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    opacity: 0.2;
}

#add-dish h2 {
    font-size: 1.8rem;
    color: var(--christmas-red);
    font-family: 'Mountains of Christmas', cursive;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-top: 0;
}

form {
    display: grid;
    grid-template-columns: 2fr auto;
    gap: 1rem;
    align-items: center;
}

input, select {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    height: auto;
    font-family: 'Lora', serif;
    font-size: 1rem;
    background: #fff;
    color: #2c1810; /* Mörk text för läsbarhet */
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--christmas-green);
    outline: none;
}

/* Knappar - Anpassade för röd bakgrund */
button {
    background-color: var(--christmas-green); /* Grön istället för röd mot röd bakgrund */
    color: var(--snow-white);
    border: 2px solid var(--gold-accent);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    border-radius: 4px;
    font-family: 'Lora', serif;
    box-shadow: 0 4px 0 rgba(0,0,0,0.3), 0 0 10px rgba(255, 215, 0, 0.3);
}

button:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0,0,0,0.3), 0 0 20px rgba(255, 215, 0, 0.5);
    border-color: var(--gold-accent);
}

button:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 252, 245, 0.95); /* Cream with transparency for depth */
    /* Subtle paper texture */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3), inset 0 0 20px rgba(255,255,255,0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(45deg, var(--christmas-red), var(--christmas-red) 10px, var(--parchment) 10px, var(--parchment) 20px);
}

.category h2 {
    color: var(--christmas-green);
    font-family: 'Mountains of Christmas', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px dashed var(--border-color);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.category h2::before {
    content: none;
}

#kallrätter h2::before {
    content: '🍖';  /* Kött-ikon för kallrätter */
    margin-right: 10px;
    font-size: 1.5rem;
}

#varmrätter h2::before {
    content: '🍲';  /* Gryta/varmrätt-ikon */
    margin-right: 10px;
    font-size: 1.5rem;
}

#drycker h2::before {
    content: '🍷';  /* Dryck-ikon */
    margin-right: 10px;
    font-size: 1.5rem;
}

#efterrätter h2::before {
    content: '🍰';  /* Dessert-ikon */
    margin-right: 10px;
    font-size: 1.5rem;
}

.dish-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.dish-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    gap: 0.5rem;
    background: rgba(255, 252, 245, 0.9); /* Cream with transparency */
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 4px;
    margin-bottom: 0;
    transition: all 0.3s ease;
    position: relative;
}

.dish-item:nth-child(odd) {
    background-color: rgba(255, 252, 245, 0.9);
}
.dish-item:nth-child(even) {
    background-color: rgba(255, 250, 240, 0.85); /* Slightly different cream for alternating rows */
}

.dish-item::before {
    content: '❄️';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0; /* Hide default, show on hover maybe? */
    transition: opacity 0.3s;
}

.dish-item:hover {
    transform: translateX(5px) scale(1.01);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--border-color);
}
.dish-item:hover::before {
    opacity: 0.2;
}

.dish-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 150px;
    margin-right: 1rem;
}

.dish-header h3 {
    margin: 0;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c1810; /* Mörk färg för att synas mot ljus bakgrund */
}

/* Deltagare */
.participants {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.3rem 0;
}

.participant {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--christmas-green);
    color: var(--snow-white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px; /* Rounder pills */
    font-size: 0.85rem;
    position: relative;
    margin-right: 0.3rem;
    width: fit-content;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background 0.2s;
}

.participant:hover {
    background: var(--dark-green);
}

.participant-name {
    margin-right: 0.2rem;
}

.participant-comment-indicator {
    opacity: 0.8;
    font-size: 0.8rem;
}

.comment {
    display: none;
    position: absolute;
    background: var(--snow-white);
    color: var(--dark-green);
    border: 1px solid var(--christmas-green);
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 100;
    min-width: 150px;
    max-width: 200px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5px;
}

/* Desktop hover */
@media (min-width: 769px) {
    .participant:hover .comment {
        display: block;
    }
}

/* Mobil styling */
@media (max-width: 768px) {
    .dish-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .dish-header {
        width: 100%;
        justify-content: space-between;
        margin-right: 0;
    }

    .participants {
        width: 100%;
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
    }

    .participant {
        width: fit-content;
        max-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-right: 0;
    }

    .comment {
        display: none;
        position: absolute;
        left: 30px;
        width: 200px;
        background: var(--snow-white);
        border: 1px solid var(--christmas-green);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 100;
        top: 100%;
        margin-top: 5px;
        transform: none;
    }

    /* Visa ENDAST när show-comment klassen är aktiv */
    .participant.show-comment .comment {
        display: block;
    }
}

/* Knappar */
/* Override previous generic button style */

.delete-dish {
    background: none;
    color: var(--light-red);
    padding: 0;
    width: 24px;
    height: 24px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    text-shadow: none;
    box-shadow: none;
}

.delete-dish:hover {
    background: none;
    color: var(--christmas-red);
    transform: scale(1.2);
    box-shadow: none;
}

.delete-dish:active {
    transform: scale(0.9);
    box-shadow: none;
}

.participant button {
    padding: 0;
    width: 16px;
    height: 16px;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    margin-left: 0.4rem;
    color: var(--snow-white);
    opacity: 0.8;
    box-shadow: none;
}

.participant button:hover {
    background: none;
    color: var(--gold-accent);
    opacity: 1;
    transform: scale(1.2);
    box-shadow: none;
}

.participant button:active {
    transform: scale(0.9);
    box-shadow: none;
}

.recipe-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    padding: 5px;
    transition: transform 0.2s;
    box-shadow: none;
}

.recipe-button:hover {
    transform: scale(1.2) rotate(10deg);
    background: none;
    box-shadow: none;
}

.recipe-button:active {
    transform: scale(0.9);
}


/* Lägg till i slutet av styles.css */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--snow-white);
    border-top: 5px solid var(--christmas-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-text {
    color: var(--snow-white);
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Snöanimation - Advanced och synlig */
@keyframes snowfall {
    0% {
        transform: translateY(-100vh) translateX(-50px) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(50px) rotate(360deg);
        opacity: 0.9;
    }
}

.snowflake {
    position: fixed;
    color: var(--snow-white);
    font-size: 1.5rem;
    user-select: none;
    z-index: 1000; /* Above everything */
    pointer-events: none; /* Click through */
    text-shadow: 0 0 10px rgba(255,255,255,1), 0 0 20px rgba(255,255,255,0.8);
    will-change: transform;
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.9));
}

/* Running Santa Animation */
@keyframes santaRun {
    0% { right: -200px; transform: scaleX(1); }
    48% { right: 110vw; transform: scaleX(1); }
    50% { right: 110vw; transform: scaleX(-1); } /* Flip for return */
    98% { right: -200px; transform: scaleX(-1); }
    100% { right: -200px; transform: scaleX(1); }
}

.santa-container {
    position: fixed;
    bottom: 0;
    right: -200px;
    width: 150px;
    height: auto;
    z-index: 999;
    animation: santaRun 60s linear infinite;
    pointer-events: none;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
}

.santa-container img {
    width: 100%;
    height: auto;
}

/* Festive Hover Effects */
.dish-item:hover {
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(179, 0, 12, 0.15);
    border-color: var(--christmas-red);
}

button:hover {
    background-color: #a00000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); /* Golden glow */
    transform: translateY(-3px);
}

/* Lägg till denna JavaScript-kod för att skapa snöflingor */
document.addEventListener('DOMContentLoaded', function() {
    for(let i = 0; i < 50; i++) {
        createSnowflake();
    }
});

function createSnowflake() {
    const snowflake = document.createElement('div');
    snowflake.className = 'snowflake';
    snowflake.textContent = '❄';
    snowflake.style.left = Math.random() * 100 + 'vw';
    snowflake.style.animation = `snowfall ${Math.random() * 3 + 2}s linear infinite`;
    snowflake.style.opacity = Math.random();
    document.body.appendChild(snowflake);
}

.my-dishes-toggle,
.schema-toggle,
.reset-toggle {
    position: fixed;
    top: 20px;
    background: var(--christmas-green);
    color: var(--snow-white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.my-dishes-toggle {
    right: 20px;
}

.schema-toggle {
    right: 200px;
}

.reset-toggle {
    left: 20px; /* Changed from right: 360px */
    right: auto;
    background: transparent; /* Made less visible */
    color: rgba(44, 24, 16, 0.5); /* Subtle text color */
    box-shadow: none;
    border: 1px solid rgba(44, 24, 16, 0.2);
}

.my-dishes-toggle:hover,
.schema-toggle:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.reset-toggle:hover {
    background: rgba(255, 107, 107, 0.1); /* Slight red tint on hover */
    color: var(--christmas-red);
    transform: translateY(-2px);
    border-color: var(--christmas-red);
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 1.5rem 0.5rem;
        margin-bottom: 1rem;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .countdown-timer {
        font-size: 1.2rem;
    }

    /* Compact buttons for mobile */
    .my-dishes-toggle,
    .schema-toggle,
    .reset-toggle {
        position: static;
        display: inline-block;
        margin: 0.2rem;
        width: auto;
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }

    /* Container for header buttons to keep them organized */
    .header-buttons-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    /* Reset button styling on mobile */
    .reset-toggle {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
        border: 1px dashed rgba(44, 24, 16, 0.2);
    }

    .dish-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        padding: 1rem;
    }

    .dish-header {
        width: 100%;
        justify-content: space-between;
        margin-right: 0;
        border-bottom: 1px dashed var(--border-color);
        padding-bottom: 0.5rem;
        margin-bottom: 0.2rem;
    }

    .participants {
        width: 100%;
        display: flex !important;
        flex-direction: row; /* Changed back to row for better space usage */
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .participant {
        width: auto;
        max-width: 100%;
        display: inline-flex;
        justify-content: flex-start;
        align-items: center;
        margin-right: 0;
        font-size: 0.8rem;
    }

    .comment {
        left: 0;
        right: 0; /* Full width on mobile */
        width: auto;
        margin: 5px 0;
        position: relative; /* Flow naturally */
        z-index: 10;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--parchment);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-width: min(90vw, 500px); /* Prevent horizontal scroll */
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal scroll */
    border: 2px solid var(--wood-brown);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    box-sizing: border-box; /* Include padding in width calculation */
    color: #2c1810; /* Mörk text för läsbarhet i alla modaler */
}

.modal-content p,
.modal-content div,
.modal-content strong {
    color: #2c1810; /* Mörk text för läsbarhet */
}

.schema-modal-content {
    max-width: min(90vw, 700px); /* Prevent horizontal scroll on PC */
    width: 90%;
    box-sizing: border-box;
}

#schema-textarea {
    width: 100%;
    min-height: 300px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    background: var(--snow-white);
    color: #2c1810; /* Mörk färg för läsbarhet */
    margin: 1rem 0;
    box-sizing: border-box; /* Include padding in width */
    max-width: 100%; /* Prevent overflow */
}

#schema-textarea:focus {
    border-color: var(--christmas-green);
    outline: none;
}

.schema-help-text {
    color: #2c1810; /* Mörk färg för läsbarhet mot ljus bakgrund */
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.schema-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.save-schema-btn {
    background-color: var(--christmas-green);
}

.save-schema-btn:hover {
    background-color: var(--dark-green);
}

.modal h2 {
    color: var(--christmas-green);
    margin-bottom: 1rem;
}

/* Custom Dialog Styles */
.dialog-modal-content {
    max-width: 500px;
    text-align: center;
}

.dialog-modal-content h2 {
    color: var(--christmas-red);
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.dialog-modal-content #dialog-message {
    color: #2c1810; /* Mörk färg för läsbarhet mot ljus bakgrund */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    white-space: pre-line;
}

#dialog-input-container {
    margin: 1rem 0;
}

#dialog-input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    background: var(--snow-white);
    color: #2c1810; /* Mörk färg för läsbarhet */
    margin-bottom: 1rem;
}

#dialog-input:focus {
    border-color: var(--christmas-green);
    outline: none;
}

.dialog-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.dialog-buttons button {
    min-width: 120px;
    padding: 0.8rem 1.5rem;
}

.dialog-buttons .dialog-button-primary {
    background-color: var(--christmas-green);
}

.dialog-buttons .dialog-button-primary:hover {
    background-color: var(--dark-green);
}

.dialog-buttons .dialog-button-secondary {
    background-color: var(--wood-brown);
}

.dialog-buttons .dialog-button-secondary:hover {
    background-color: #4a3429;
}

.dialog-buttons .dialog-button-danger {
    background-color: var(--christmas-red);
}

.dialog-buttons .dialog-button-danger:hover {
    background-color: #a00000;
}

.my-dish-item {
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c1810; /* Mörk text för läsbarhet */
}

.my-dish-item .category-label {
    color: var(--christmas-red);
    font-size: 0.8rem;
}

.my-dish-item strong {
    color: #2c1810; /* Mörk text för läsbarhet */
}

.my-dish-item .comment-text {
    color: #2c1810; /* Mörk text för läsbarhet */
    margin-top: 0.3rem;
}

.hidden {
    display: none;
}

.close-modal {
    margin-top: 1rem;
    width: 100%;
}

.recipe-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    transition: transform 0.2s;
}

.recipe-button:hover {
    transform: scale(1.2);
}

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

.recipe-content {
    background: var(--snow-white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid var(--christmas-red);
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.recipe-content h2 {
    color: var(--christmas-red);
    text-align: center;
    margin-bottom: 1rem;
}

.recipe-text {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #2c1810; /* Mörk färg för läsbarhet mot ljus bakgrund */
}

/* Lägg till media queries för mobil */
@media (max-width: 768px) {
    .dish-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .dish-header {
        width: 100%;
        justify-content: space-between;
        margin-right: 0;
    }

    .participants {
        width: 100%;
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
    }

    .participant {
        width: fit-content;
        max-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-right: 0;
    }

    .comment {
        display: none;
        position: absolute;
        left: 10px;
        width: 200px;
        background: var(--snow-white);
        border: 1px solid var(--christmas-green);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 100;
        top: 100%;
        margin-top: 5px;
        transform: none;
    }

    /* Visa ENDAST när show-comment klassen är aktiv */
    .participant.show-comment .comment {
        display: block;
    }
} 