.hire-form {
    transition: opacity 200ms ease;
    overflow-y: auto;
}


.hire-form__details {
    margin-block-start: 2em;

    >* {
        margin: 0;

        +* {
            margin-block-start: 1em;
        }
    }
}

.hire-form-modal .hire-form__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0em;
    min-width: auto;
    box-shadow: none;
}

.hire-form__close .icon--cross {
    height: 2rem;
    width: 2rem;
}


nu-modal .hire-form {
    position: relative;
    max-width: 120ch;
    max-height: 100%;
    margin-inline: auto;
    padding: min(5%, 3rem);
    width: 100%;
    border: 3px solid var(--brown);
    border-radius: var(--radius, 1rem);
    background-color: var(--lighter-grey);
}


nu-modal .hire-form__products {
    margin-bottom: 2rem;
}


.product-select {
    display: flex;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
}


@media (max-width: 450px) {
    .product-select>.radio-button {
        flex-grow: 1;
    }

    .product-select>.radio-button>label {
        width: 100%;
    }
}