/*
 * Spoon-Based Meal & Movement Planner
 * Copyright (C) 2024 Marceshia O'Neill / Marcevolution
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Attribution required: Credit Marceshia O'Neill and/or Marcevolution
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 */

body {
    font-family: "Cormorant Garamond", serif;
    background: #F1E0D0;
    min-height: 100vh;
    padding: 20px;
    color: #000000;
}

h1, h2, h3 {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: 56px;
    margin-bottom: 10px;
}

h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.subtitle,
.spoon-btn,
.generate-btn,
.reset-btn,
.pain-options label,
#spoon-display,
#meal-time,
footer,
.dietary-options label,
.meal-type-btn,
.workout-type-btn,
#meal-type-display,
#workout-type-display,
.meal-intro,
.meal-time,
.meal-notes,
.dietary-badge {
    font-family: "Montserrat", sans-serif;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #F1E0D0;
    padding-bottom: 20px;
}

.subtitle {
    color: #404040;
    font-size: 18px;
    font-style: italic;
}

.dietary-question, .meal-type-question, .spoon-question, .pain-question, .workout-type-question {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #F1E0D0;
}

.dietary-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dietary-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid transparent;
}

.dietary-options label:hover {
    background: #F1E0D0;
    border-color: #CA947C;
}

.dietary-options input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #964434;
}

.meal-type-options, .workout-type-options {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.meal-type-btn, .workout-type-btn {
    padding: 12px 20px;
    border: 2px solid #BFBFBF;
    border-radius: 25px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.meal-type-btn:hover, .workout-type-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(150, 68, 52, 0.15);
    border-color: #CA947C;
}

.meal-type-btn.selected {
    background: #964434;
    color: #FFFFFF;
    border-color: #964434;
}

.workout-type-btn.selected {
    background: #748181;
    color: #FFFFFF;
    border-color: #748181;
}

#meal-type-display, #workout-type-display {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    min-height: 20px;
}

#meal-type-display {
    color: #964434;
}

#workout-type-display {
    color: #748181;
}

.spoon-scale {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.spoon-btn {
    width: 70px;
    height: 80px;
    border: 2px solid #BFBFBF;
    border-radius: 15px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2em;
    color: #000000;
}

.spoon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(150, 68, 52, 0.15);
    border-color: #CA947C;
}

.spoon-btn.selected {
    background: #964434;
    color: #FFFFFF;
    border-color: #964434;
}

#spoon-display {
    text-align: center;
    margin-top: 15px;
    color: #964434;
    font-weight: bold;
    min-height: 25px;
    font-size: 18px;
}

.pain-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pain-options label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid transparent;
    font-size: 18px;
}

.pain-options label:hover {
    background: #F1E0D0;
    border-color: #CA947C;
}

.pain-options input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #964434;
    cursor: pointer;
}

.dietary-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #F1E0D0;
    color: #964434;
    margin: 2px;
    display: inline-block;
}

.generate-btn, .reset-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.generate-btn {
    background: #964434;
    color: #FFFFFF;
    margin-top: 20px;
}

.generate-btn:hover {
    background: #CA947C;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(150, 68, 52, 0.3);
}

.results {
    margin-top: 30px;
}

.results.hidden {
    display: none;
}

.result-card {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px solid #F1E0D0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.result-card h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #000000;
    font-weight: normal;
}

.meal-card {
    border-left: 5px solid #964434;
    border-right: 5px solid #964434;
}

.movement-card {
    border-left: 5px solid #748181;
    border-right: 5px solid #748181;
}

.affirmation-card {
    border-left: 5px solid #CA947C;
    border-right: 5px solid #CA947C;
    text-align: center;
    background: #F1E0D0;
}

#meal-time {
    color: #808080;
    font-size: 15px;
}

.meal-intro {
    color: #808080;
    font-size: 15px;
    margin-bottom: 15px;
}

.meal-option {
    background: #FFFFFF;
    border: 2px solid #F1E0D0;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.meal-option:hover {
    border-color: #CA947C;
    box-shadow: 0 4px 12px rgba(150, 68, 52, 0.1);
}

.meal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 5px;
}

.meal-header h4 {
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    color: #000000;
    margin: 0;
    flex: 1;
}

.meal-time {
    font-size: 13px;
    color: #964434;
    font-weight: 600;
    white-space: nowrap;
}

.meal-notes {
    font-size: 14px;
    color: #404040;
    margin-bottom: 10px;
    line-height: 1.4;
}

.dietary-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

#movement-result {
    list-style: none;
    padding: 0;
}

#movement-result li {
    padding: 12px 0;
    border-bottom: 1px solid #F1E0D0;
    font-size: 18px;
    color: #000000;
}

#movement-result li:last-child {
    border-bottom: none;
}

#movement-result li:before {
    content: "✓ ";
    color: #748181;
    font-weight: bold;
    margin-right: 8px;
}

#affirmation-result {
    font-size: 22px;
    color: #000000;
    font-style: italic;
    line-height: 1.5;
}

.reset-btn {
    background: #748181;
    color: #FFFFFF;
    margin-top: 10px;
}

.reset-btn:hover {
    background: #808080;
}

footer {
    text-align: center;
    margin-top: 30px;
    color: #808080;
    font-size: 15px;
    border-top: 1px solid #F1E0D0;
    padding-top: 20px;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 42px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    h3 {
        font-size: 26px;
    }
    
    .spoon-btn {
        width: 55px;
        height: 70px;
        font-size: 1em;
    }
    
    .spoon-btn small {
        font-size: 0.7em;
    }
    
    .pain-options label {
        font-size: 16px;
    }
}