﻿.bmi-container {
    max-width: 1000px;
}

.bmi-field {
    min-width: 300px;
}

.gender-toggle {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 0px;
}

.gender-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    border: 2px solid #ccc;
    border-radius: 12px;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    color: #333;
    min-width: 100px;
}

    .gender-btn img.gender-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }

    .gender-btn.active {
        background-color: #0F8C3E;
        border-color: #0F8C3E;
        color: white;
    }

    .gender-btn:hover:not(.active) {
        background-color: #ddd;
    }

.activity-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.activity-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    border: 2px solid #ccc;
    border-radius: 12px;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: #333;
    min-width: 120px;
}

    .activity-btn img.activity-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 4px;
    }

    .activity-btn.active {
        background-color: #0F8C3E;
        border-color: #0F8C3E;
        color: white;
    }

    .activity-btn:hover:not(.active) {
        background-color: #ddd;
    }

.tdee-container-result {
    max-width: 700px;
    margin: 2rem auto;
    padding: 1rem;
}

.result-data-col {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    color: #333;
}

.result-title .title-text {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

.result-value {
    padding-left: 1rem;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.unit-text {
    font-size: 1.6rem;
}

.result-value-bmr {
    background-color: #e3f2fd; /* delikatny niebieski */
    color: #0d47a1;
}

.result-value-tdee {
    background-color: #e8f5e9; /* delikatny zielony */
    color: #2e7d32;
}

.result-subtitle .subtitle-text {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.result-macros {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.macro-item {
    display: flex;
    justify-content: space-between;
    background-color: #f7f7f7;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.macro-label {
    font-weight: 600;
}

.result-info-small {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 600px) {
    .activity-toggle {
        flex-direction: column;
    }

    .activity-btn {
        width: 100%;
        justify-content: flex-start;
    }
}