.bg__metadata-form {
    .card-form {
        width: 100%;
        display: flex;
        flex-direction: column;

        > .filter {
            padding: 0px 0px 5px;
            display: flex;
            justify-content: start;
            align-items: center;
            margin-bottom: 10px;
            border-bottom: 1px solid $clGreyTint;
            select {
                width: 100%;
                margin: 0 10px;
                border-color: $clGreyTint;
                border-radius: 2px;
                background-color: white;
                padding: 3px 5px;
            }
        }

        .card-fields {
            width: 100%;
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            .card-row {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: start;
                .card-key,
                .card-value {
                    input {
                        min-width: 40px;
                        width: 98%;
                        margin: 2px 0px;
                        padding: 3px;
                        border: 1px solid $clGreyTint;
                        border-radius: 2px;
                        padding: 3px 5px;
                    }
                }
                .card-key {
                    font-weight: bold;
                }
            }
        }

        > .actions {
            display: flex;
            justify-content: space-between;
            margin-top: 5px;
            .add-property {
                cursor: pointer;
                padding: 3px 7px;
                line-height: 20px;
                font-weight: bold;
                text-transform: uppercase;
                opacity: 0.7;
                transition: opacity 0.3s ease-out, color 0.3s ease-out;
                flex-grow: 2;
                &:hover {
                    color: $clPrimary;
                    opacity: 1;
                }
            }

            .save-button,
            .cancel-button {
                border-radius: 2px;
                border: 0;
                padding: 8px 20px;
                font-size: 14px;
                line-height: 17px;
                text-transform: uppercase;
                cursor: pointer;
                transition: background-color 0.3s ease-out;
                font-family: $fontHeading;
            }

            .save-button {
                background-color: $clPrimary;
                color: white;

                &:hover {
                    background-color: lighten($clPrimary, 10%);
                }
            }

            .cancel-button {
                margin-right: 10px;
                background-color: $clGreyTint;
                color: $clDark;

                &:hover {
                    background-color: lighten($clGreyTint, 50%);
                }
            }
        }
    }
}
