/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */
body,
body * {
    box-sizing: border-box;
}

.no-wrap {
    flex-wrap: nowrap !important;
}

.label-setting,
.vi-ui.form .field > label.label-setting {
    line-height: 1.3;
    font-weight: 600;
    color: #1d2327;
    font-size: 14px;
}

.explanatory-text {
    color: #868686;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    margin-top: 5px;
    margin-left: 0;
    display: inline-block;
    width: 100%;
}

.detail_wrap_setting .column_field {
    max-width: 700px;
}

#viwcr-preview-emails-button,
#viwcr_btn_update_email_data {
    line-height: 30px;
    padding: 0;
}

.viwcr_wrap_scan_coupons.vi_progress {
    height: auto;
}

.viwcr_action_scan_coupon {
    margin: 0 0 9px;
}

#vi_update_coupon_progress {
    margin-top: 20px;
}

/*text editor iframe*/
.wp-editor-container textarea.wp-editor-area,
.wp-editor-container iframe {
    min-height: 200px;
}

/*preview emails*/
.preview-html-hidden {
    display: none !important;
}

.preview-emails-html-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.preview-emails-html-container .preview-emails-html-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 1, 1, 0.3);
}

.preview-emails-html-container .preview-emails-html {
    position: relative;
    z-index: 99;
    width: 50%;
    max-height: 90%;
    overflow: auto;
}
.viwcr_label {
    display: inline-block;
    line-height: 1;
    vertical-align: baseline;
    margin: 0 .3em 0.3em 0;
    padding: .4em .833em;
    min-width: 3em;
    text-align: center;
    background-color: #e8e8e8;
    background-image: none;
    color: rgba(0, 0, 0, .6);
    text-transform: none;
    font-weight: 700;
    font-size: 0.8em;
    border: 0 solid transparent;
    border-radius: .28571429rem;
    -webkit-transition: background .1s ease;
    transition: background .1s ease;
}
.viwcr_label.green {
    background-color: #21ba45 !important;
    border-color: #21ba45 !important;
    color: #fff !important;
}
.viwcr_label.red {
    background-color: #db2828 !important;
    border-color: #db2828 !important;
    color: #fff !important;
}
.viwcr_label.blue {
    background-color: #2185d0 !important;
    border-color: #2185d0 !important;
    color: #fff !important;
}

#visibility, #preview-action:has( a.button[href*="viwcr_email_template"] ) {
    display: none !important;
}

#wpfooter{
    position:static !important;
}