.avoine-calc {
    font-family: 'Montserrat', 'Open Sans', system-ui, sans-serif;
    max-width: 400px;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    color: #000;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.avoine-calc__header {
    padding: 15px 20px;
    border-bottom: 2px solid #000;
}

.avoine-calc__title {
    margin: 0;
    font-size: 1.2rem;
    color: #000;
    font-weight: 600;
    line-height: 1.3;
}

.avoine-calc__container {
    padding: 20px;
}

.avoine-calc__input-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}

.avoine-calc__label {
    font-weight: 500;
    color: #000;
}

.avoine-calc__input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 16px;
    color: #000;
    box-sizing: border-box;
}

.avoine-calc__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #000;
    color: #fff !important;
    border: 1px solid #000;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.avoine-calc__button:hover {
    background: #fff;
    color: #000 !important;
}

.avoine-calc__quick {
    margin-bottom: 16px;
}

.avoine-calc__quick-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.avoine-calc__quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.avoine-calc__chip {
    padding: 8px 14px;
    border: 1px solid #000;
    background: #f3f3f3;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: #000;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.avoine-calc__chip:hover {
    background: #000;
    color: #fff;
}

.avoine-calc__chip--active {
    background: #000;
    color: #fff;
}

.avoine-calc__error {
    margin: 0 0 16px;
    font-size: 14px;
    color: #b00020;
}

.avoine-calc__results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.avoine-calc__result-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    padding-left: 20px !important;
    border: 1px solid #000;
    border-radius: 6px;
}

.avoine-calc__result-label {
    font-size: 12px;
    margin-bottom: 5px;
    color: #333;
}

.avoine-calc__result-value {
    font-size: 23px;
    font-weight: 600;
    color: #000;
}

@media (max-width: 500px) {
    .avoine-calc__results {
        grid-template-columns: 1fr;
    }

    .avoine-calc__input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .avoine-calc__input {
        width: 100%;
    }

    .avoine-calc__button {
        width: 100%;
    }
}
