:root{
    --preview-color-label: #5AA8DD;
    --preview-color-bg: var(--bs-custom-color-gray-2);
    --preview-color-fg: #2E3B3A;
}

.TemplateField_allExistingCards {
    border:1px solid #d1d7e1;
    border-radius:.25rem;
    margin:1.5rem -.5rem 1rem;
    padding:1rem .5rem 0
}
.ImageInput_input,
.ImageInput_wrap {
    cursor:pointer;
    overflow:hidden;
    position:relative
}
.ImageInput_input {
    bottom:0;
    height:100%;
    left:0;
    position:absolute;
    right:0;
    top:0;
    width:100%
}
.ImageInput_editorIcon {
    border:none;
    margin-left:-6px;
    padding:1px;
    transition:all .2s
}
.ImageInput_editorIcon:hover {
    border:1px solid gray;
    border-radius:1px;
    cursor:pointer;
    transform:scale(1.5)
}
.ImageInput_preview {
    bottom:0;
    cursor:pointer;
    left:0;
    line-height:0;
    pointer-events:none;
    position:absolute;
    right:0;
    top:0
}
.ImageInput_preview_ img {
    max-height:100%;
    max-width:100%;
    object-fit:contain
}
.ImageEditor_editor {
    font-family:sans-serif;
    padding:16px
}
.ImageEditor_Crop-Controls {
    margin-bottom:10px
}
.ImageEditor_Crop-Controls>* {
    margin-bottom:3px
}
img {
    max-width:100%
}
.ImageEditor_container {
    border:1px solid #000
}
.ImageEditor_download {
    border:none;
    padding:1px
}
.ImageEditor_download:hover {
    cursor:pointer
}
.HistoryListTable_alignment {
    text-align:center!important
}
.DesignPreview_container {
    color:var(--preview-color-fg);
    height:100%;
    font-family: 'SF Pro Display', sans-serif;
}
.DPApple_root {
    background:var(--preview-color-bg);
    font-size:16px;
    height:422px;
    overflow:hidden;
    position:relative;
    width:310px;
    /* aspect-ratio: 310/422; */
}
.coupon-bg{
    -webkit-mask-image: url('../img/mask.png');
    mask-image: url('../img/mask.png');
    mask-size: contain;
}
.DPApple_bg {
    bottom:-10px;
    left:-10px;
    overflow:hidden;
    position:absolute;
    right:-10px;
    top:-10px
}
.DPApple_container {
    align-items:flex-start;
    display:flex;
    flex-direction:column;
    height:100%;
    justify-content:flex-start;
    line-height:1;
    overflow-y:auto;
    position:relative
}
.DPApple_header,
.DPApple_primary {
    width:100%
}
.DPApple_secondary {
    padding-top:7px;
    width:100%
}
.DPApple_bottom {
    margin-top:auto;
    width:100%
}
.DPApple_cropCoupon {
    bottom:0;
    left:0;
    pointer-events:none;
    position:absolute;
    right:0;
    top:0
}
.DPApple_cropCoupon svg {
    left:0;
    position:absolute;
    right:0;
    width:100%;
    fill: var(--bs-custom-color-gray-1);
}
.DPApple_cropCoupon svg:first-child {
    top:0;
}
.DPApple_cropCoupon svg:last-child {
    bottom:0
}
.DPApple_cropTicket {
    bottom:0;
    left:0;
    pointer-events:none;
    position:absolute;
    right:0;
    top:0
}
.DPApple_cropTicket svg {
    left:50%;
    position:absolute;
    top:-1px;
    transform:translate(-50%)
}
.DPHeader_root {
    align-items:flex-start;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    padding-top:5px
}
.DPHeader_logo {
    padding:5px 0 5px 10px
}
.DPHeader_logoCont {
    height:50px;
    position:relative
}
.DPHeader_logoImg {
    height:100%;
    object-fit:contain;
    object-position:left;
    position:relative
}
.DPHeader_text {
    align-items:flex-start;
    display:flex;
    flex-direction:row;
    justify-content:flex-end;
    padding:10px 18px 0 0;
    text-align:right;
    white-space:nowrap;
    width:100%
}
.DPHeader_headerText {
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis
}
.DPHeader_fieldsText {
    align-items:stretch;
    display:flex;
    flex-direction:row;
    justify-content:flex-end;
    min-width:0;
    width:100%
}
.DPHeader_field {
    align-items:flex-end;
    display:flex;
    flex-direction:column;
    justify-content:space-between
}
.DPHeader_fieldLabel {
    color:var(--preview-color-label);
    text-transform:uppercase
}
.DPHeader_fieldLabel,
.DPHeader_fieldValue {
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis
}
.DPHeader_highlight:hover {
    cursor:pointer
}
.DPFieldsRow_root {
    padding:0 18px
}
.DPFieldsRow_text {
    align-items:flex-start;
    display:flex;
    flex-direction:row;
    justify-content:flex-end;
    white-space:nowrap;
    width:100%
}
.DPFieldsRow_fieldsText {
    align-items:stretch;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    min-width:0
}
.DPFieldsRow_field {
    align-items:flex-start;
    display:flex;
    flex-direction:column;
    justify-content:space-between
}
.DPFieldsRow_field:last-child:not(:first-child) {
    align-items:flex-end
}
.DPFieldsRow_fieldLabel {
    color:var(--preview-color-label);
    text-transform:uppercase
}
.DPFieldsRow_highlight:hover {
    cursor:pointer
}
.DPPrimary_layout1Root {
    position:relative
}
.DPPrimary_layout1Bg {
    background-size: cover !important;
    background-position: center !important;
    height:123px;
    width:310px
}
.DPPrimary_layout1Fg {
    align-items:center;
    bottom:0;
    display:flex;
    flex-direction:row;
    justify-content:center;
    left:0;
    padding:0 18px;
    position:absolute;
    right:0;
    top:0
}
.DPPrimary_layout1Fields {
    align-items:stretch;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    width:100%
}
.DPPrimary_layout1Field {
    align-items:flex-start;
    display:flex;
    flex-direction:column;
    justify-content:space-between
}
.DPPrimary_layout1Field:last-child:not(:first-child) {
    align-items:flex-end
}
.DPPrimary_layout1FieldLabel {
    color:var(--preview-color-label);
    text-transform:uppercase
}
.DPPrimary_layout2 {
    padding:9px 18px 0;
    position:relative
}
.DPPrimary_layout2Cont {
    min-height:32px;
    position:relative
}
.DPPrimary_layout2Icon {
    align-items:center;
    bottom:0;
    display:flex;
    flex-direction:row;
    justify-content:center;
    left:0;
    position:absolute;
    right:0;
    top:0
}
.DPPrimary_layout2Icon svg {
    height:auto;
    width:32px
}
.DPPrimary_layout2Fields {
    align-items:stretch;
    display:flex;
    flex-direction:row;
    justify-content:space-between
}
.DPPrimary_layout2Field {
    align-items:flex-start;
    display:flex;
    flex-direction:column;
    justify-content:space-between
}
.DPPrimary_layout2Field:last-child:not(:first-child) {
    align-items:flex-end
}
.DPPrimary_layout2FieldLabel {
    color:var(--preview-color-label);
    text-transform:uppercase
}
.DPPrimary_layout2Crop {
    left:0;
    pointer-events:none;
    position:absolute;
    right:0;
    top:100%
}
.DPPrimary_layout2Crop svg {
    height:16px;
    position:absolute;
    top:0;
    transform:translateY(-50%);
    width:auto
}
.DPPrimary_layout2Crop svg:first-child {
    left:-1px
}
.DPPrimary_layout2Crop svg:last-child {
    right:-1px;
    transform:translateY(-50%) scaleX(-1)
}
.DPPrimary_layout3Root {
    align-items:center;
    display:flex;
    flex-direction:row;
    justify-content:space-between
}
.DPPrimary_layout3Fields {
    align-items:stretch;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    padding-left:18px;
    width:100%
}
.DPPrimary_layout3Field {
    align-items:flex-start;
    display:flex;
    flex-direction:column;
    justify-content:space-between
}
.DPPrimary_layout3Field:last-child:not(:first-child) {
    align-items:flex-end
}
.DPPrimary_layout3FieldLabel {
    color:var(--preview-color-label);
    text-transform:uppercase
}
.DPPrimary_layout3Image {
    padding-left:10px;
    padding-right:15px
}
.DPPrimary_layout3ImageRender {
    height:90px;
    min-width:90px;
    width:90px
}
.DPPrimary_highlight:hover {
    cursor:pointer
}
.DPBarcode_image {
    display:block;
    margin:0 auto
}
.DPBarcode_highlight:hover {
    cursor:pointer
}
.DPFooter_root {
    margin-bottom:5px
}
.DPFooter_img {
    display:block;
    height:15px;
    margin:0 auto;
    object-fit:contain;
    width:286px
}
.card-editor_sidebar {
    background:transparent!important;
    color:initial!important;
    height:auto!important;
    margin-right:17px
}
.card-editor_header {
    align-items:center;
    display:flex;
    margin-bottom:5px
}
.card-editor_headerTitle {
    font-size:18px;
    margin-bottom:0
}
body.dark-theme .editor-toggler {
    color:#fff
}
.SimpleImageInput_preview {
    cursor:pointer;
    height:200px;
    line-height:0;
    pointer-events:none;
    position:relative;
    width:200px
}
.SimpleImageInput_preview img {
    height:100%;
    max-height:100%;
    max-width:100%;
    object-fit:contain;
    object-position:center;
    width:100%
}
.BlockWithTitle_formBlock {
    border:1px solid var(--cui-nav-tabs-border-color,#c4c9d0);
    border-radius:5px;
    margin:30px 0 10px;
    padding:25px 14px 20px;
    position:relative
}
.BlockWithTitle_formBlockTitle {
    background:#fff;
    font-size:16px;
    margin-bottom:0;
    margin-left:-5px;
    padding:0 5px;
    position:absolute;
    top:-13px
}
.BlockWithTitle_formBlock.BlockWithTitle_withoutTitle {
    margin:0 0 10px;
    padding:20px 14px
}
.dark-theme .BlockWithTitle_formBlock {
    border:1px solid #707070
}
.dark-theme .BlockWithTitle_formBlockTitle {
    background:var(--cui-card-bg)
}
.WizardRenderer_root {
    background:var(--wizard-renderer-bg-color,transparent);
    border-radius:10px;
    color:var(--wizard-renderer-text-color);
    padding:.5rem 1rem
}
.WizardRenderer_root .form-label {
    color:var(--wizard-renderer-labels-color)
}
.WizardRenderer_root .btn:disabled {
    border-color:inherit!important
}
.WizardRenderer_phoneContainer {
    align-items:flex-start;
    display:flex
}
.WizardRenderer_phoneContainer .PhoneInputCountry {
    border:1px solid var(--cui-input-border-color,#b1b7c1);
    border-radius:.25rem 0 0 .25rem;
    margin-right:0;
    padding:0 5px
}
.WizardRenderer_phoneContainer .PhoneInputCountrySelect:disabled {
    opacity:0!important
}
.WizardRenderer_phoneGetCode {
    margin-left:10px;
    white-space:nowrap
}
.WizardRenderer_phoneCodeContainer {
    margin:10px auto;
    max-width:max-content;
    min-width:220px
}
.WizardRenderer_codeInput {
    align-items:center;
    display:flex;
    justify-content:flex-start;
    margin:0 auto
}
.WizardRenderer_codeInput input {
    border:1px solid var(--cui-input-border-color,#b1b7c1);
    border-radius:5px;
    box-shadow:none;
    font-size:18px;
    height:40px;
    margin-right:10px;
    outline:none;
    text-align:center;
    width:30px
}
.WizardRenderer_codeInput input:last-child {
    margin-right:0
}
@media screen and (max-width:500px) {
    .WizardRenderer_phoneContainer {
        flex-direction:column
    }
    .WizardRenderer_phoneContainer .WizardRenderer_phoneGetCode {
        margin-left:0;
        margin-top:10px
    }
}
.constructor_header {
    flex-wrap:wrap;
    justify-content:space-between
}
.constructor_headerRight,
.constructor_header {
    align-items:flex-end;
    display:flex
}
.constructor_headerAfter {
    margin-left:10px;
    margin-top:10px
}
@media screen and (max-width:1100px) {
    .constructor_headerRight {
        flex-wrap:wrap
    }
}
@media screen and (max-width:500px) {
    .constructor_headerLeft {
        width:100%
    }
    .constructor_headerLeft .btn-group {
        flex-direction:column!important;
        width:100%
    }
    .constructor_headerRight {
        flex-wrap:wrap;
        margin-top:10px
    }
}

.DPApple_root p{
    margin: 0;
}