.proteines-jour-container {
    background-color: #FFFFFF;
    border-radius: 6px;
    padding: 25px;
    margin: 20px 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.proteines-jour-title {
    font-weight: 700;
    font-size: 20px;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
}

.proteines-jour-subtitle {
    font-size: 14px;
    color: #777777;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.4;
}

.proteines-jour-inputs-section {
    background-color: #fff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.proteines-jour-section {
    margin-bottom: 25px;
}

.proteines-jour-section:last-child {
    margin-bottom: 0;
}

.proteines-jour-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #000000;
    margin-bottom: 15px;
}

.proteines-jour-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 15px;
}

.proteines-jour-input-group {
    margin-bottom: 20px;
}

.proteines-jour-input-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #000000;
    margin-bottom: 8px;
    display: block;
}

.proteines-jour-input-help {
    font-size: 12px;
    color: #777777;
    margin-bottom: 5px;
}

.proteines-jour-input-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.proteines-jour-input {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #000000;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.proteines-jour-input:focus {
    outline: none;
    border-color: #4E9DD8;
    box-shadow: 0 0 0 2px rgba(78, 157, 216, 0.2);
}

.proteines-jour-unit {
    font-size: 14px;
    color: #777777;
    font-weight: 600;
}

/* Options buttons */
.proteines-jour-options-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.proteines-jour-option {
    flex: 1;
    min-width: 80px;
    padding: 10px 15px;
    background-color: #FFFFFF;
    border: 2px solid #000000;
    border-radius: 6px;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.proteines-jour-option:hover {
    background-color: #F8F8F8;
}

.proteines-jour-option.selected {
    background-color: #000000;
    color: #FFFFFF !important;
}

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

.proteines-jour-option-card {
    padding: 15px;
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.proteines-jour-option-card:hover {
    background-color: #F8F8F8;
}

.proteines-jour-option-card.selected {
    background-color: #000000;
    color: #FFFFFF !important;
}

.proteines-jour-option-card strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.proteines-jour-option-card span {
    font-size: 12px;
    color: #777777;
}

.proteines-jour-option-card.selected span {
    color: rgba(255, 255, 255, 0.8);
}

/* Toggle sections */
.proteines-jour-toggle {
    width: 100%;
    padding: 12px 15px;
    background-color: #FFFFFF;
    border: 2px solid #000000;
    border-radius: 6px;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.proteines-jour-toggle:hover {
    background-color: #F8F8F8;
}

.proteines-jour-toggle-sign {
    display: inline-block;
    line-height: 1;
    font-size: 14px;
    vertical-align: middle;
    width: 14px;
    text-align: center;
    transition: opacity 0.3s ease;
}

.proteines-jour-toggle-sign.fa-plus {
    display: inline-block;
}

.proteines-jour-toggle.active .proteines-jour-toggle-sign.fa-plus {
    display: none;
}

.proteines-jour-toggle-sign.fa-minus {
    display: none;
}

.proteines-jour-toggle.active .proteines-jour-toggle-sign.fa-minus {
    display: inline-block;
}

.proteines-jour-advanced {
    margin-top: 15px;
    display: none;
}

.proteines-jour-advanced.active {
    display: block;
}

/* Checkboxes */
.proteines-jour-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.proteines-jour-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #000000;
}

.proteines-jour-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.proteines-jour-hidden {
    display: none !important;
}

/* Results */
.proteines-jour-result-section {
    margin-top: 25px;
}

.proteines-jour-result-main {
    background-color: #F8F8F8;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    text-align: center;
}

.proteines-jour-result-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #000000;
    margin-bottom: 20px;
}

.proteines-jour-range {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.proteines-jour-range-item {
    background-color: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    padding: 15px;
}

.proteines-jour-range-item.proteines-jour-range-target {
    border-color: #000000;
    background-color: #F8F8F8;
}

.proteines-jour-range-label {
    font-size: 12px;
    color: #777777;
    margin-bottom: 8px;
    font-weight: 600;
}

.proteines-jour-range-value {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 5px;
}

.proteines-jour-range-unit {
    font-size: 14px;
    color: #777777;
    margin-bottom: 8px;
}

.proteines-jour-range-gkg {
    font-size: 13px;
    color: #000000;
    font-weight: 600;
}

.proteines-jour-message {
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
    font-style: italic;
}

.proteines-jour-box {
    background-color: #F8F8F8;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.proteines-jour-box-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #000000;
    margin-bottom: 15px;
}

.proteines-jour-justification {
    font-size: 13px;
    color: #333333;
    line-height: 1.6;
}

.proteines-jour-justification-source {
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    display: block;
}

.proteines-jour-justification ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.proteines-jour-justification li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.proteines-jour-justification li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

.proteines-jour-checklist-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.proteines-jour-checklist-list li {
    padding: 10px;
    background-color: #FFFFFF;
    border-left: 3px solid #000000;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333333;
}

.proteines-jour-alert {
    background-color: #FFF3CD;
    border: 1px solid #FFEAA7;
    border-radius: 6px;
    padding: 15px 10px !important;
    margin-bottom: 20px;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

.proteines-jour-alert strong {
    color: #721C24;
    display: block;
    margin-bottom: 5px;
}

.proteines-jour-repartition-content {
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
}

.proteines-jour-repartition-meal {
    padding: 10px;
    background-color: #FFFFFF;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.proteines-jour-repartition-meal-label {
    font-weight: 600;
    color: #000000;
}

.proteines-jour-repartition-meal-value {
    font-weight: 700;
    color: #000000;
}

@media (max-width: 768px) {
    .proteines-jour-container {
        padding: 20px 15px;
    }
    
    .proteines-jour-input-grid {
        grid-template-columns: 1fr;
    }
    
    .proteines-jour-options-grid {
        grid-template-columns: 1fr;
    }
    
    .proteines-jour-range {
        grid-template-columns: 1fr;
    }
    
    .proteines-jour-options-row {
        flex-direction: column;
    }
    
    .proteines-jour-option {
        width: 100%;
    }
}
