form { 
    position: relative;
}

form [class$="__row"] {
    margin-bottom: 0.75rem;
}

form [class$="__row"] > div {
    width: 100%;
}

input, select, textarea, select {
    font-family: 'Shippori Antique', sans-serif;
    font-weight: normal;
    
    outline: none;
    border: 1px solid var(--color-lighter-brown);
    background-color: var(--color-bright-white);
    border-radius: var(--border-radius);
    font-size: var(--text-body-size);
    width: 100%;
    padding: 8px 12px; 
    color:var(--color-dark-brown);
    transition: all 300ms ease-in-out;
}

textarea {
    resize: none;
}

select {
    border: 2px solid var(--color-green);
    border-radius: calc(2 * var(--border-radius));
}

input.error {
    border: 1px solid var(--color-error);
}

form label {
    font-size: var(--text-label-size);
    padding-bottom: 0.25rem;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 10px;
}

form label.error {
    color: var(--color-error);
}

form .validation {
    opacity: 0;
    color: var(--color-error);
    transition: all 300ms ease-in-out;
}

form .validation.show {
    opacity: 1;
}

@media screen and (max-width: 481px) {
    form [class$="__row"] {
        flex-direction: column;
    }
}