/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #F9F7F6 0%, #F5F3F2 100%);
    color: #2D5D53;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header */
.header {
    padding: 20px;
    background: linear-gradient(135deg, #C5E3D5 0%, #A974BF 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
}

.logo i {
    font-size: 20px;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    width: 100px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #F4C3C2 0%, #A974BF 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    font-size: 12px;
    font-weight: 500;
    min-width: 30px;
}

/* Quiz Container */
.quiz-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.quiz-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

#results.quiz-step {
    justify-content: flex-start;
    padding: 20px;
}

.quiz-step.active {
    opacity: 1;
    transform: translateX(0);
}

.quiz-step.prev {
    transform: translateX(-100%);
}

/* Welcome Screen */
.welcome-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.welcome-icon {
    font-size: 60px;
    color: #C5E3D5;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.welcome-content h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #2D5D53 0%, #A974BF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-text {
    margin-bottom: 40px;
}

.welcome-text .highlight {
    font-size: 20px;
    font-weight: 600;
    color: #A974BF;
    margin-bottom: 15px;
}

.welcome-text p {
    font-size: 16px;
    color: #2D5D53;
    opacity: 0.9;
}

/* Question Content */
.question-content {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.question-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #2D5D53;
}

.subtitle {
    text-align: center;
    color: #A974BF;
    font-size: 14px;
    margin-bottom: 20px;
    font-style: italic;
}

/* Options */
.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.option-btn {
    background: white;
    border: 2px solid #C5E3D5;
    border-radius: 16px;
    padding: 18px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #2D5D53;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 227, 213, 0.2), transparent);
    transition: left 0.5s ease;
}

.option-btn:hover::before {
    left: 100%;
}

.option-btn:hover {
    border-color: #A974BF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(169, 116, 191, 0.15);
}

.option-btn.selected {
    background: linear-gradient(135deg, #C5E3D5 0%, #A974BF 100%);
    border-color: #A974BF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(169, 116, 191, 0.3);
}

/* Checkbox Options */
.checkbox-options {
    margin-bottom: 20px;
}

.checkbox-btn {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #C5E3D5;
    border-radius: 16px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #2D5D53;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.checkbox-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 227, 213, 0.2), transparent);
    transition: left 0.5s ease;
}

.checkbox-btn:hover::before {
    left: 100%;
}

.checkbox-btn:hover {
    border-color: #A974BF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(169, 116, 191, 0.15);
}

.checkbox-btn input[type="checkbox"] {
    display: none;
}

.checkbox-btn input[type="checkbox"]:checked + span {
    color: #A974BF;
    font-weight: 600;
}

.checkbox-btn input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #C5E3D5 0%, #A974BF 100%);
    border-color: #A974BF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(169, 116, 191, 0.3);
}

/* Break Content */
.break-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.break-icon {
    font-size: 50px;
    color: #F4C3C2;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.break-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2D5D53;
}

.break-content p {
    font-size: 16px;
    color: #2D5D53;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #C5E3D5 0%, #A974BF 100%);
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(169, 116, 191, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(169, 116, 191, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(3px);
}

/* Results */
.results-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.results-header {
    margin-bottom: 30px;
}

.results-icon {
    font-size: 60px;
    color: #F4C3C2;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.results-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2D5D53;
    margin-bottom: 20px;
}

.results-intro {
    font-size: 18px;
    color: #2D5D53;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* WhatsApp Preview */
.whatsapp-preview {
    background: #f0f0f0;
    border-radius: 20px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.whatsapp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-weight: 600;
}

.whatsapp-header i {
    font-size: 20px;
}

.whatsapp-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message {
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message p {
    margin: 0;
    font-size: 14px;
    color: #2D5D53;
}

.results-description {
    margin: 30px 0;
    text-align: left;
}

.results-description p {
    font-size: 16px;
    color: #2D5D53;
    margin-bottom: 15px;
    line-height: 1.6;
}

blockquote {
    background: linear-gradient(135deg, #C5E3D5 0%, #F4C3C2 100%);
    border-left: 4px solid #A974BF;
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    font-style: italic;
    font-weight: 500;
    color: #2D5D53;
}

.results-action {
    margin-top: 40px;
}

.btn-whatsapp {
    background: #25D366;
    border: none;
    border-radius: 50px;
    padding: 18px 32px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    margin-bottom: 15px;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 24px;
}

.whatsapp-link {
    font-size: 14px;
    color: #A974BF;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 0;
        border-radius: 0;
        overflow: hidden;
    }
    
    .header {
        padding: 15px 20px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .progress-bar {
        width: 80px;
    }
    
    .quiz-step {
        padding: 20px 15px;
        justify-content: flex-start;
    }
    
    .welcome-content h1 {
        font-size: 24px;
    }
    
    .question-content h2 {
        font-size: 20px;
    }
    
    .option-btn {
        padding: 16px 18px;
        font-size: 15px;
    }
    
    .break-content h3 {
        font-size: 20px;
    }
    
    .results-header h1 {
        font-size: 24px;
    }
    
    .btn-primary, .btn-whatsapp {
        padding: 14px 28px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .welcome-content h1 {
        font-size: 22px;
    }
    
    .question-content h2 {
        font-size: 18px;
    }
    
    .option-btn {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .break-content h3 {
        font-size: 18px;
    }
    
    .results-header h1 {
        font-size: 22px;
    }
}

/* Animações de entrada */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInFromRight 0.5s ease-out;
}

.slide-in-left {
    animation: slideInFromLeft 0.5s ease-out;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Micro-interações */
.option-btn:active {
    transform: scale(0.98);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F9F7F6;
}

::-webkit-scrollbar-thumb {
    background: #C5E3D5;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A974BF;
} 

.etapa-img {
    display: block;
    margin: 20px auto 24px auto;
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(197, 227, 213, 0.18);
    object-fit: cover;
    background: #F9F7F6;
    flex-shrink: 0;
}

.break-img {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(169, 116, 191, 0.15);
    object-fit: cover;
    background: #F9F7F6;
    flex-shrink: 0;
} 

/* Welcome upgrade */
.welcome-image {
    margin-bottom: 18px;
}
.welcome-img {
    max-width: 180px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(197, 227, 213, 0.18);
    display: block;
    margin: 0 auto;
}
.welcome-text .spoiler {
    color: #A974BF;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.welcome-text .main-text {
    color: #2D5D53;
    font-size: 16px;
    margin-bottom: 18px;
}
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.benefits-list li {
    font-size: 16px;
    color: #2D5D53;
    background: #C5E3D5;
    border-radius: 12px;
    margin-bottom: 8px;
    padding: 8px 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.trust {
    display: block;
    margin-top: 18px;
    color: #A974BF;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
} 

/* Interactive Steps Styles */
.interactive-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.interactive-img {
    max-width: 200px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(169, 116, 191, 0.15);
    margin: 20px auto;
    display: block;
}

.interactive-intro {
    color: #2D5D53;
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Calculator Form */
.calculator-form {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(197, 227, 213, 0.2);
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    color: #2D5D53;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #C5E3D5;
    border-radius: 12px;
    font-size: 16px;
    color: #2D5D53;
    background: white;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #A974BF;
    box-shadow: 0 0 0 3px rgba(169, 116, 191, 0.1);
}

.btn-calculate {
    background: linear-gradient(135deg, #C5E3D5 0%, #A974BF 100%);
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(169, 116, 191, 0.3);
}

/* Result Cards */
.result-card {
    background: linear-gradient(135deg, #C5E3D5 0%, #F4C3C2 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    color: #2D5D53;
}

.result-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2D5D53;
}

.bmi-category, .energy-category, .habits-category {
    font-size: 18px;
    font-weight: 600;
    color: #A974BF;
    margin-bottom: 12px;
}

.bmi-insight, .energy-insight, .habits-insight {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Energy Sliders */
.energy-slider {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(197, 227, 213, 0.2);
    margin-bottom: 20px;
}

.energy-slider label {
    display: block;
    color: #2D5D53;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
    text-align: left;
}

.slider-container {
    margin-bottom: 24px;
}

.slider-container input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #C5E3D5;
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 8px;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #A974BF;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(169, 116, 191, 0.3);
}

.slider-container input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #A974BF;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(169, 116, 191, 0.3);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #2D5D53;
    opacity: 0.8;
}

.slider-labels span:nth-child(2) {
    font-weight: 600;
    color: #A974BF;
    font-size: 16px;
}

/* Habits Assessment */
.habits-assessment {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(197, 227, 213, 0.2);
    margin-bottom: 20px;
}

.habit-question {
    margin-bottom: 24px;
    text-align: left;
}

.habit-question label {
    display: block;
    color: #2D5D53;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
}

.habit-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.habit-btn {
    background: white;
    border: 2px solid #C5E3D5;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    color: #2D5D53;
    font-weight: 500;
}

.habit-btn:hover {
    border-color: #A974BF;
    background: rgba(169, 116, 191, 0.05);
}

.habit-btn.selected {
    background: linear-gradient(135deg, #C5E3D5 0%, #A974BF 100%);
    border-color: #A974BF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(169, 116, 191, 0.3);
} 

/* Recipe Generator Styles */
.recipe-generator {
    max-width: 600px;
    margin: 0 auto;
}

.recipe-question {
    margin-bottom: 2rem;
}

.recipe-question label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.recipe-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.recipe-btn {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.recipe-btn:hover {
    border-color: #ff6b9d;
    transform: translateY(-2px);
}

.recipe-btn.selected {
    border-color: #ff6b9d;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.recipe-content {
    text-align: left;
    margin-top: 1rem;
}

.recipe-content h4 {
    color: #ff6b9d;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.recipe-ingredients, .recipe-instructions, .recipe-benefits {
    margin-bottom: 1.5rem;
}

.recipe-ingredients h5, .recipe-instructions h5, .recipe-benefits h5 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.recipe-ingredients ul, .recipe-instructions ol {
    margin-left: 1.5rem;
    line-height: 1.6;
}

.recipe-ingredients li, .recipe-instructions li {
    margin-bottom: 0.5rem;
}

/* Workout Planner Styles */
.workout-planner {
    max-width: 600px;
    margin: 0 auto;
}

.workout-question {
    margin-bottom: 2rem;
}

.workout-question label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.workout-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.workout-btn {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.workout-btn:hover {
    border-color: #4ecdc4;
    transform: translateY(-2px);
}

.workout-btn.selected {
    border-color: #4ecdc4;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.workout-content {
    text-align: left;
    margin-top: 1rem;
}

.workout-content h4 {
    color: #4ecdc4;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.workout-schedule, .workout-focus, .workout-tips {
    margin-bottom: 1.5rem;
}

.workout-schedule h5, .workout-focus h5, .workout-tips h5 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.workout-schedule div {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #4ecdc4;
}

.workout-tips ul {
    margin-left: 1.5rem;
    line-height: 1.6;
}

.workout-tips li {
    margin-bottom: 0.5rem;
}

/* Meal Planner Styles */
.meal-planner {
    max-width: 600px;
    margin: 0 auto;
}

.meal-question {
    margin-bottom: 2rem;
}

.meal-question label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.meal-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.meal-btn {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
}

.meal-btn:hover {
    border-color: #ffd93d;
    transform: translateY(-2px);
}

.meal-btn.selected {
    border-color: #ffd93d;
    background: linear-gradient(135deg, #ffd93d, #ffb347);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
}

.meal-content {
    text-align: left;
    margin-top: 1rem;
}

.meal-content h4 {
    color: #ffd93d;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.meal-schedule, .meal-strategy, .meal-tips {
    margin-bottom: 1.5rem;
}

.meal-schedule h5, .meal-strategy h5, .meal-tips h5 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.meal-schedule div {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #ffd93d;
}

.meal-tips ul {
    margin-left: 1.5rem;
    line-height: 1.6;
}

.meal-tips li {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments for interactive elements */
@media (max-width: 768px) {
    .recipe-options, .workout-options, .meal-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recipe-btn, .workout-btn, .meal-btn {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    .recipe-content, .workout-content, .meal-content {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .recipe-options, .workout-options, .meal-options {
        grid-template-columns: 1fr;
    }
    
    .recipe-btn, .workout-btn, .meal-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }
} 

/* Loading Animation Styles */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b9d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-spinner.workout {
    border-top-color: #4ecdc4;
}

.loading-spinner.meal {
    border-top-color: #ffd93d;
}

.loading-spinner.energy {
    border-top-color: #ff8fab;
}

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

.loading-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.loading-subtext {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

.loading-dots {
    display: inline-block;
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: ""; }
    40% { content: "."; }
    60% { content: ".."; }
    80%, 100% { content: "..."; }
}

.loading-dots::after {
    content: "";
    animation: dots 1.5s infinite;
}

/* Result Animation Styles */
.result-card {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInResult 0.8s ease-out forwards;
}

@keyframes slideInResult {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card h3 {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.result-card h4 {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.result-card .recipe-ingredients,
.result-card .recipe-instructions,
.result-card .recipe-benefits,
.result-card .workout-schedule,
.result-card .workout-focus,
.result-card .workout-tips,
.result-card .meal-schedule,
.result-card .meal-strategy,
.result-card .meal-tips {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for lists */
.result-card ul li,
.result-card ol li {
    opacity: 0;
    animation: fadeInListItem 0.4s ease-out forwards;
}

.result-card ul li:nth-child(1) { animation-delay: 0.8s; }
.result-card ul li:nth-child(2) { animation-delay: 0.9s; }
.result-card ul li:nth-child(3) { animation-delay: 1.0s; }
.result-card ul li:nth-child(4) { animation-delay: 1.1s; }
.result-card ul li:nth-child(5) { animation-delay: 1.2s; }
.result-card ul li:nth-child(6) { animation-delay: 1.3s; }

.result-card ol li:nth-child(1) { animation-delay: 0.8s; }
.result-card ol li:nth-child(2) { animation-delay: 0.9s; }
.result-card ol li:nth-child(3) { animation-delay: 1.0s; }
.result-card ol li:nth-child(4) { animation-delay: 1.1s; }

@keyframes fadeInListItem {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Schedule items animation */
.workout-schedule div,
.meal-schedule div {
    opacity: 0;
    animation: slideInSchedule 0.5s ease-out forwards;
}

.workout-schedule div:nth-child(1) { animation-delay: 0.8s; }
.workout-schedule div:nth-child(2) { animation-delay: 0.9s; }
.workout-schedule div:nth-child(3) { animation-delay: 1.0s; }
.workout-schedule div:nth-child(4) { animation-delay: 1.1s; }

.meal-schedule div:nth-child(1) { animation-delay: 0.8s; }
.meal-schedule div:nth-child(2) { animation-delay: 0.9s; }
.meal-schedule div:nth-child(3) { animation-delay: 1.0s; }
.meal-schedule div:nth-child(4) { animation-delay: 1.1s; }
.meal-schedule div:nth-child(5) { animation-delay: 1.2s; }

@keyframes slideInSchedule {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Continue button animation */
.btn-primary {
    opacity: 0;
    animation: fadeInButton 0.6s ease-out 1.4s both;
}

@keyframes fadeInButton {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 