:root {
    --primary-color: #4a6fa5;
    --secondary-color: #ff7e5f;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --info-color: #17a2b8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
    margin: 0;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
    margin: 30px 0 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.btn {
    display: inline-block;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 10px 5px;
}

.btn-generate {
    background-color: var(--secondary-color);
}

.btn-pdf {
    background-color: var(--info-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-generate:hover {
    background-color: #ff6b4a;
}

.btn-pdf:hover {
    background-color: #138496;
}

.meal-plan {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.day-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.day-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.weekend .day-header {
    background-color: var(--secondary-color);
}

.meal {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.meal:last-child {
    border-bottom: none;
}

.meal-time {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.weekend .meal-time {
    color: var(--secondary-color);
}

.meal-name {
    margin-left: 10px;
}

.difficulty {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 10px;
}

.easy {
    background-color: #d4edda;
    color: #155724;
}

.medium {
    background-color: #fff3cd;
    color: #856404;
}

.hard {
    background-color: #f8d7da;
    color: #721c24;
}

.grilled {
    background-color: #ffeeba;
    color: #856404;
}

.fixed-meal {
    background-color: #e2e3e5;
    color: #383d41;
}

.shopping-list {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shopping-category {
    margin-bottom: 20px;
}

.category-title {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.ingredients-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    list-style-type: none;
    padding: 0;
}

.ingredient-item {
    display: flex;
    align-items: center;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.ingredient-checkbox {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .meal-plan {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.8rem;
    }

    .ingredients-list {
        grid-template-columns: 1fr;
    }
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.icon {
    margin-right: 8px;
    font-size: 1.1rem;
}