/* Dashboard Css */
.common_head {
    font-size: 0.84rem;
    font-weight: 600;
    color: #363636;
}

.heading {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000000;
}

.section_text {
    margin-top: 5px;
    margin-bottom: 15px;
    color: #6e6e6e;
}

/* Editor Css */
.main_div {
    max-width: 1250px;
    margin: auto;
}

.set_prv {
    display: flex;
    overflow-y: auto;
    margin-bottom: 60px;
}

.settings {
    width: 50%;
    padding: 10px;
}

.preview {
    width: 50%;
    margin-top: 45px;
    padding: 10px;
    position: sticky;
    top: 0;
}

.view_similar_btn {
    position: absolute;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    white-space: nowrap;
    transition: padding 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.view_similar_btn:hover {
    gap: 5px;
    padding: 2px 10px 2px 8px;
}

.view_similar_btn span {
    max-width: 0;
    opacity: 0;
    transform: translateX(-10px);
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    transition:
        max-width 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.view_similar_btn:hover span {
    max-width: 300px;
    opacity: 1;
    transform: translateX(0);
}

.view_similar_full_btn {
    position: absolute;
    gap: 5px;
    padding: 2px 10px 2px 8px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    white-space: nowrap;
    transition: padding 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.view_similar_full_btn span {
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
}

.color-picker-div {
    display: flex;
    align-items: center;
    width: 100%; 
    position: relative;
}

.drawer_preview {
    height: 550px;
    background: #cacaca;
    margin: -17px;
}

.drawer_preview img {
    width: 660px;
    height: 550px;
}

.drawer {   
    width: 23em;
    background-color: #FFFFFF;
    height: 100%;
    position: absolute;
    top: 0px;
    z-index: 1000;
}

.slideout-mask {
    opacity: 0.2;
    visibility: visible;
    height: 100%;
    position: absolute;
    top: 0px;
    background-color: #000000;
    width: 100%;
}

.heading_div {
    display: flex;
    align-items: center;
    margin: 20px 15px;
    line-height: 1;
}

.color-btn {
    width: 35px;
    height: 35px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 22px;
    margin-left: 10px;
}

.color-picker-pop-up {
    position: absolute; 
    z-index: 99;
    right: 5px;
    top: 100%;
    pointer-events: auto;
    margin-top: 8px;
}

.preview_img {
    background: #d8d7d5;
    border-radius: 5px;
}

.preview_img img {
    height: 450px;
    width: 100%;
    object-fit: contain;
    margin: auto;
    display: block;
}

.error {
    margin-top: -12px;
    display: flex;
    color: #8E1F0B;
}

.error span {
    margin-left: 3px;
}

.error .Polaris-Icon {
    margin: 0;
}

/* Display Conditions Css */
.conditions_tbl {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: calc(30px + 100%);
    margin: -15px;
}
  
.conditions_tbl tr {
    padding: 20px;
    display: block;
    border-bottom: 1px solid #dbdbdb;
}
  
.conditions_tbl tr:nth-child(even){
    background-color: #f2f2f2;
}

.check_tbl {
    width: 35px;
}

.tbl_type {
    font-weight: bold;
    font-size: 15px;
}

.desc_tbl {
    font-weight: normal;
    display: block;
    padding-top: 5px;
    font-size: 13px;
}

.alert {
    background: #fff3cd;
    padding: 15px;
    border: 1px solid #f6eccd;
    color: #635b36;
    margin-bottom: 10px;
    border-radius: 10px;
    display: flex;
    gap: 5px;
}

.alert .Polaris-Icon {
    margin: 0px;
}

.setup-div {
    padding: 15px;
    border-bottom: 1px solid #e3e3e3;
}

.setup-div-active {
    padding: 15px;
    background: rgba(247, 247, 247, 1);
    border-bottom: 1px solid #e3e3e3;
}

.setup-head-p {
    font-weight: bold;
    margin-bottom: 4px;
}

.setup-head-p span {
    font-weight: normal;
    font-size: 13px;
    padding-left: 10px;
    margin-bottom: 15px;
    display: block;
}

.setup-text-p {
    font-size: 13px;
}

/* Customize Design Css */
.tab-section {
    display: flex;
    padding: 10px;
    background: #FFFFFF;
    margin: -24px -24px 28px -24px;
}

.design-header {
    display: flex;
    background: #FFFFFF;
    margin: -24px -24px 0px -24px;
}

.main-design-div {
    display: flex;
    margin: 0px -24px -24px -24px;
}   

.header-tab-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
}

.settings-div {
    width: 29%;
    background: #FFFFFF;
    height: 92vh;
    padding: 15px 15px 75px 15px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none; 
}

.settings-div::-webkit-scrollbar {
  display: none;
}

.settings-sub-heading {
    margin: -15px -15px 10px -15px;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 15px;
    border-top: 1px solid #e5e5e5;
    background: #f2f2f2;
}

.settings-sub-heading-margin {
    margin-top: 15px;
}

.preview-div {
    background: #888888e3;
    width: 71%;
    height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-card {
    width: 50%;
}

.prd-page-preview-card {
    width: 90%;
    height: 90%;
}

.prd-page-btn-div {
    padding: 20px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.prd-page-btn {
    padding: 14px 16px 14px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.warning-banner {
    margin-bottom: 100px;
}

.loader {
    display: block !important;
    width: 60px;
    height: 60px;
    border: 5px solid #e3e3e3;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

@media only screen and (max-width: 992px) {
    .set_prv {
        display: block;
    }

    .settings {
        width: 100%;
        padding: 0px;
    }

    .preview {
        width: 100%;
        padding: 0px;
        margin-top: 30px;
    }

    .drawer {
        width: 17em;
    }
}