.ec-ecobalyse-badge-wrapper {
    margin: 10px 0;
}

.ec-ecobalyse-badge-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 4px 12px 4px 4px;
    cursor: pointer;
}

.ec-ecobalyse-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

.ec-ecobalyse-badge-label {
    font-size: 13px;
    text-decoration: underline;
}

.ec-ecobalyse-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.ec-ecobalyse-modal.is-open {
    display: block;
}

.ec-ecobalyse-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.ec-ecobalyse-modal-content {
    position: relative;
    background: #fff;
    max-width: 480px;
    margin: 8vh auto;
    padding: 24px;
    border-radius: 6px;
    max-height: 80vh;
    overflow-y: auto;
}

.ec-ecobalyse-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.ec-ecobalyse-scale {
    display: flex;
    gap: 4px;
    margin: 12px 0;
}

.ec-ecobalyse-scale-item {
    flex: 1;
    text-align: center;
    padding: 4px 0;
    border-radius: 4px;
    background: #eee;
    color: #999;
    font-weight: bold;
}

.ec-ecobalyse-scale-item.active {
    background: #333;
    color: #fff;
}

.ec-ecobalyse-impacts-table {
    width: 100%;
    font-size: 13px;
    margin: 10px 0;
}

.ec-ecobalyse-impacts-table td {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

.ec-ecobalyse-impacts-table td:last-child {
    text-align: right;
    font-weight: bold;
}

.ec-ecobalyse-disclaimer {
    color: #999;
}
