button:not(.action) {
    background: none;
    border: none;
    cursor: default;
    padding: 0;

    img {
        width: 100%;
        height: 100%;
        margin: 0;
    }
}

input[list="notesListe"],
input[type="text"],
input[type="password"] {
    width: 100%;
    max-width: 200px;
    max-height: 20px;
}

input[type=submit],
input[type="search"],
button.action {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    background: white;
    border: 2px solid black;
    border-radius: 10px;
    text-transform: uppercase;
    box-sizing: border-box;
}

input[type=submit]:hover,
button.action:hover {
    background: rgb(220, 120, 0);
    cursor: pointer;
}

.current input[type=submit] {
    background: orange;

    &:hover {
        background: rgb(220, 120, 0);
    }
}

.formCommentaire fieldset {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    .commentaireRow {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 80%;
        margin: auto;

        input,
        textarea {
            flex: 1;
            max-width: unset;
        }
    }

    .commentaireRatingRow {
        justify-content: flex-start;
    }
}

.commentaireRating {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.commentaireRating input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.commentaireRating label {
    width: 28px;
    height: 28px;
    background: url("/assets/img/etoilevide.png") center / contain no-repeat;
    cursor: pointer;
}

.commentaireRating label span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.commentaireRating label:hover,
.commentaireRating label:hover ~ label,
.commentaireRating input:checked ~ label {
    background-image: url("/assets/img/etoile.png");
}

fieldset {
    border-radius: 10px;

    legend {
        padding: 0 10px;
    }
}
