@import '~@capillarytech/cap-ui-library/styles/_variables.scss';

.cap-mpush-cta {
    padding: $CAP_SPACE_16 $CAP_SPACE_24;
    border: 1px solid $CAP_G06;
    border-radius: $CAP_SPACE_04;

    .mpush-cta-buttons {
        display: flex;
        flex-direction: row;
        justify-content: space-between;

        .mpush-render-btn-length {
            margin-top: $CAP_SPACE_12;
            width: 90%;
            margin-left: 52%;
            margin-bottom: $CAP_SPACE_12;
        }

        .cta-deep-link-label {
            margin-bottom: 0.625rem;
        }
    }

    #mpush-deep-link-type {
        width: 100%;
        margin-top: $CAP_SPACE_12;
    }

    .mpush-cta-external-link {
        margin-top: $CAP_SPACE_12;
    }

    .mpush-cta-save-delete-btn {
        margin-top: $CAP_SPACE_16;

        .mpush-cta-save-btn {
            margin-right: $CAP_SPACE_04;
        }
        .mpush-cta-delete-btn {
            margin-left: $CAP_SPACE_04;
        }
    }

    .cta-deep-link-keys-value {
        margin: $CAP_SPACE_08 0;
    }
    
}

.cap-mpush-saved-cta {
    border: solid 1px $CAP_G06;
    display: flex;
    justify-content: space-between;
    padding: $CAP_SPACE_08 $CAP_SPACE_12;
    border-radius: $CAP_SPACE_04;
    height: $CAP_SPACE_40;

    .mpush-saved-cta-button-text {
        font-weight: 500;
    }

    .mpush-saved-cta-edit-icon {
        margin-left: 4.286rem;
    }
}
.cta-label {
    margin-bottom: $CAP_SPACE_08;
}
.cta-type-label {
    border-radius: 1rem;
    background-color: $CAP_G08;
    width: $CAP_SPACE_80;
    height: $CAP_SPACE_24 !important;
    align-items: center;
    justify-content: center;
}
.cta-action {
    cursor: pointer;
}
.mpush-cta-row {
    display: flex;
    align-items: center;
}
.cta-action-grp {
    display: flex;
}
.cta-del-icon {
    padding-left: 1rem;
}
.btn-text {
    margin-left: $CAP_SPACE_24;
}