form {
    > div, fieldset {
        margin-bottom: 1.5rem;
    }
    fieldset {
        padding: 0;
        display: flex;
        gap: 3rem;
        border: none;

        div.grow {
            flex-grow: 1;

            input[type=text] {
                width: 100%;
            }
        }
    }

    input[type=text], input[type=date], textarea {
        font-size: 1.4rem;
        border: 2px solid #dee1e2;
        border-radius: 6px;
        line-height: 1.5;
        padding: 3px 10px;
        transition: box-shadow 100ms ease-in, border 100ms ease-in, background-color 100ms ease-in;
        color: rgb(14, 14, 16);
        background: #dee1e2;
        display: block;


        &:hover {
            border-color: #ccc;
        }

        &:focus {
            border-color: #9147ff;
            background: white;
        }
    }

    textarea {
        width: 100%;
        min-height: 14rem;
    }
}

button, input[type=submit], .button {
    display: inline-block;
    outline: none;
    cursor: pointer;
    padding: 0 12px;
    background-color: #0070d2;
    border-radius: 0.25rem;
    border: 1px solid #0070d2;
    color: #fff;
    font-size: 1rem;
    line-height: 30px;
    font-weight: 400;
    text-align: center;

    &:hover {
        background-color: #005fb2;
        border-color: #005fb2;
    }

    &.warning {
        background-color: var(--primary);
        border-color: var(--logo);

        &:hover {
            background-color: var(--logo);
        }
    }
}