.unn-rc-form { --gap: .75rem; }

.unn-rc-grid {

    display: grid;

    grid-template-columns: repeat(4, minmax(0,1fr));

    gap: var(--gap);

    align-items: end;

}

.unn-rc-field {

    display: flex;

    flex-direction: column;

}

.unn-rc-label {

    font-size: .9rem;

    margin-bottom: .35rem;

}

.unn-rc-actions {

    grid-column: span 1 / span 1;

}

.unn-rc-actions .unn-rc-btn {

    width: 100%;

    padding: .75rem 1rem;

    cursor: pointer;

}



/* Responsive */

@media (max-width: 850px) {

    .unn-rc-grid {

        grid-template-columns: 1fr 1fr;

    }

    .unn-rc-actions {

        grid-column: span 2 / span 2;

    }

}

@media (max-width: 550px) {

    .unn-rc-grid {

        grid-template-columns: 1fr;

    }

    .unn-rc-actions {

        grid-column: auto;

    }

}

