.form-container {
    position: relative;
    width: 100%;
}

.form-container label {
    position: absolute;
    top: 0;
    left: 1.6rem;
    transform: translateY(-50%);
    padding: 0 0.5rem;
    font-size: 1rem;
    background: #ffffff;
}

.form-container input {
    padding: 1rem 1.5rem !important;
    font-size: 1rem;
    border: 1px solid #505050 !important;
}

input[type="text"] {
    font-family: 'Montserrat';
    font-weight: 320;
    padding: 1rem;
    border: none;
    border-radius: 1rem;
    color: #505050;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

textarea {
    box-sizing: border-box;
    font-family: 'Montserrat';
    font-weight: 320;
    padding: 1rem;
    border: 1px solid #505050;
    border-radius: 1rem;
    color: #505050;
    font-size: 0.9rem;
    width: 100%;
    height: 12rem;
    resize: none;
}

.modal-content-text-review {
    width: 94%;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 95%;
    scroll-snap-align: start;
}

.review-button {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    border: none;
    border-radius: 0.5rem;
    background: #eeeeee;
    color: #8c8c8c;
    width: 50%;
}

.review-button svg {
    width: 20px;
    color: currentColor;
}

.button-review-submit {
    font-family: 'Montserrat';
    width: 100%;
    background: #3B82F6;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 0.5rem;
    font-weight: 600;
}

.field-item-title {
    font-weight: 600;
    font-size: 1.2rem;
}

.field-item {
    display: flex;
    flex-direction: column;
}

.rating {
    margin: -0.5rem 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    font-size: 30px;
    color: #ccc;
}

.rating label:before {
    content: '★';
}

.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label {
    color: #ffc107;
}

@media (max-width: 540px) {
    .review-button {
        width: 100%;
    }
}