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

.cap-inapp-cta {
    margin-top: $CAP_SPACE_16;
    margin-left: 1.6rem;
    padding: $CAP_SPACE_16 $CAP_SPACE_24;
    border: 1px solid $CAP_G06;
    border-radius: $CAP_SPACE_04;

    .inapp-cta-buttons {
        margin-top: $CAP_SPACE_12;

        .cap-inapp-cta-type-container {
            .component-with-label {
                width: 100%;
            }
        }

        #inapp-cta-type {
            width: 95%;
        }

        .inapp-cta-button-text {
            width: 100%;
        }

        .inapp-render-btn-length {
            width: 90%;
            margin-left: 74%;
        }
    }

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

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

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

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

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

    .inapp-saved-cta-button-text {
        font-weight: 500;
        padding-left: '15px'
    }

    .inapp-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;
}
.inapp-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;
}
.btn-icon {
    color: $CAP_G06;
}