/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

:root {
    /* Below variables for plugin CSS use */
    --dotstore-primary: #27AE60;
    --dotstore-primary-light: #f7fffa;
    --dotstore-remove: #DC2929;

    /* Below variables to override WC admin CSS use in our plugin */
    --wp-admin-theme-color: #27ae60;
}

/* Spacer calculation start */
.spacer-1{display: flex; margin: 5px 0 5px;}
.spacer-2{display: flex; margin: 10px 0 10px;}
.spacer-3{display: flex; margin: 15px 0 15px;}
.spacer-4{display: flex; margin: 20px 0 20px;}
.spacer-5{display: flex; margin: 25px 0 25px;}
.spacer-6{display: flex; margin: 30px 0 30px;}
/* Spacer calculation end */

#dotsstoremain .all-pad{margin:20px 20px 0 0px}
#dotsstoremain .all-pad .dots-settings-inner-main{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;position:relative;-ms-flex-wrap:nowrap;flex-wrap:nowrap;}
#dotsstoremain .all-pad .dots-settings-inner-main .dots-settings-inner{width: 100%;}
.ausm-section-left .notice{margin:0px 0px 5px;}
#dotsstoremain a:focus{outline:none;box-shadow:none;}
.ausm-section-left .ausm-pro-feature{opacity: 0.4;}

/* Configuration Page */
.dots-settings-inner-main .form-table th {width: 285px;}
.dots-settings-inner-main .notice-error, .dots-settings-inner-main .notice-success{margin: 0px 0px 30px;border-radius: 5px}

/** Start: Common CSS */
.hide{display:none;}
.show{display:block;}
.blockUI.blockOverlay::before{height:1em;width:1em;display:block;position:absolute;top:50%;left:50%;margin-left:-0.5em;margin-top:-0.5em;content:"";-webkit-animation:spin 1s ease-in-out infinite;animation:spin 1s ease-in-out infinite;background:url("../images/loader.svg") center center;background-size:cover;line-height:1;text-align:center;font-size:2em;color:rgba(0,0,0,.75);}
@-webkit-keyframes spin{
    100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}
}
@keyframes spin{
    100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}
}
/** End: Common CSS */

/* Start: shipping cofigure table */
.ausm-main-table h2,.ausm-getting-started h2{background:#0073aa;border:1px solid #ddd;color:#fff;margin:0;padding:16px;font-size:20px;text-align:left;font-weight:400;}
#dotsstoremain .form-table tr th,#dotsstoremain .form-table tr td{font-size: 14px;line-height: 20px;font-weight: 400;padding: 15px 20px;position: relative;color: #333;}
.ausm-main-table .usps-shipping-method-table tbody tr td input:not([type=button]):not([type=checkbox]):not([type=radio]):not(.select2-search__field), .ausm-main-table .usps-shipping-method-table tr td textarea, .ausm-main-table .usps-shipping-method-table tbody tr td select{width: 100%;max-width: 620px;min-width: 320px;}
.ausm-main-table a{text-decoration:none;color: var(--dotstore-primary);}


/* Toggle switch CSS */
.ausm-section-left .switch{position:relative;display:inline-block;width:35px;height:19px;}
.ausm-section-left .switch input{display: none;}
.ausm-section-left input:checked + .slider{background-color:var(--dotstore-primary);}
.ausm-section-left .slider.round{border-radius:34px}
.ausm-section-left .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#c3c3c3;-webkit-transition: .4s;-o-transition: .4s;transition: .4s;margin: 0;}
.ausm-section-left input:checked + .slider:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}
.ausm-section-left .slider.round:before{border-radius:50%}
.ausm-section-left .slider:before{position:absolute;content:"";height:15px;width:15px;left:2px;bottom:2px;background-color:#fff;-webkit-transition: .4s;-o-transition: .4s;transition: .4s;}
/* End: shipping cofigure table */

/* Start: services setting table */
.ausm-main-table .ausm_services th.sort, .ausm-main-table .ausm_api_services th.sort{ width: 5%;}
.ausm-main-table .ausm_services th.service-column, .ausm-main-table .ausm_api_services th.service-column{ width: 50%;}
.input-group-text{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0.375rem 0.75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#def0de; /* #e9ecef */border:1px solid #ced4da;border-radius:0.25rem;}
.input-group-text.enabled{background-color:#def0de; /* #e9ecef */}
.input-group-text.disabled{background-color:#e9ecef; /* #def0de */}
.sub_services li .price-field,.sub_services li .percentage-field{display:block;padding:0.375rem 0.75rem;line-height:1.5;border-radius:0.25rem;position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;border:1px solid #ced4da;}
.sub_services li{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;width:100%;}
.sub_services li label{font-size:15px;line-height:2.5;}
.input-group-prepend{margin-right:-2px;display:-webkit-box;display:-ms-flexbox;display:flex;}
.input-group-prepend .input-group-text,.sub_services li .percentage-field{border-top-right-radius:0;border-bottom-right-radius:0;}
.input-group-append{margin-left:-2px;display:-webkit-box;display:-ms-flexbox;display:flex;}
.input-group-append .input-group-text,.sub_services li .price-field{border-top-left-radius:0;border-bottom-left-radius:0;}
.ausm_services .ui-state-highlight, .ausm_api_services .ui-state-highlight{background-color:#b8d9e9;}
.ausm_services .movable, .ausm_api_services .movable{cursor:move;vertical-align:middle;text-align:center;}
/* End: services setting table */

.ausm_client_id_input_div,
.ausm_client_secret_input_div {
    position: relative; 
    display: inline-block; 
    width: 50%;
    max-width: 620px;
    min-width: 320px;
}
.ausm_client_id_input_div .ausm_client_id_input,
.ausm_client_secret_input_div .ausm_client_secret_input {
    width: 100%; 
    padding-right: 45px;
}
.dots-settings-inner-main .ausm_client_id_input_div button.ausm_toggle_client_id,
.dots-settings-inner-main .ausm_client_secret_input_div button.ausm_toggle_client_secret {
    position: absolute; 
    right: 5px; 
    top: 50%; 
    transform: translateY(-50%); 
    padding: 2px 6px !important; 
    line-height: 1;
    border: 0;
    min-height: auto;
}
.dots-settings-inner-main .ausm_client_id_input_div button.ausm_toggle_client_id .dashicons,
.dots-settings-inner-main .ausm_client_secret_input_div button.ausm_toggle_client_secret .dashicons {
    font-size: 20px; 
    line-height: 1;
}



/* Tooltip CSS (tiptip JS) */
.ausm-section-left .ausm-table-tooltip .woocommerce-help-tip{position:absolute;top:50%;right:-20px;transform:translateY(-50%);margin:0;}
.ausm-section-left .woocommerce-help-tip{color:#8b8b8b;display:inline-block;font-size:18px;font-style:normal;height:16px;line-height:16px;position:relative;vertical-align:middle;width:16px;margin-left:5px;margin-top: -4px;}
.ausm-section-left .woocommerce-help-tip::after{font-family:Dashicons;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\f223";cursor:help;}   
#tiptip_holder{display:none;z-index:8675309;position:absolute;top:0;left:0}
#tiptip_holder.tip_top{padding-bottom:5px}
#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#333}
#tiptip_holder.tip_bottom{padding-top:5px}
#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#333}
#tiptip_holder.tip_right{padding-left:5px}
#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#333}
#tiptip_holder.tip_left{padding-right:5px}
#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#333}
#tiptip_content,.chart-tooltip,.wc_error_tip{color:#fff;font-size:.8em;max-width:150px;background:#333;text-align:center;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2)}
#tiptip_content code,.chart-tooltip code,.wc_error_tip code{padding:1px;background:#888}
#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}

/* Start: Premium feature show CSS */
@-webkit-keyframes ausmModalEffect{
	0%{top:-8%;}
	100%{top:0;}
}
@keyframes ausmModalEffect{
	0%{top:-8%;}
	100%{top:0;}
}
.upgrade-to-pro-modal-main, .upgrade-to-pro-modal-main *{box-sizing:border-box;}
body.ausm-modal-visible{overflow:hidden;}
.upgrade-to-pro-modal-main{display:inline-block;width:100%;visibility:hidden;opacity:0;position:fixed;z-index:99999;top:0;left:0;height:100%;background:hsla(0,0%,0%,0.5);overflow:auto;padding:90px 20px 50px;}
.ausm-modal-visible .upgrade-to-pro-modal-main{visibility:visible;opacity:1;}
.upgrade-to-pro-modal-main .upgrade-to-pro-modal-outer{width:100%;height:100%;display:table;}
.upgrade-to-pro-modal-main .pro-modal-inner{display:table-cell;vertical-align:middle;}
.upgrade-to-pro-modal-main .pro-modal-wrapper{z-index:99999;width:100%;background-color:#fff;max-width:550px;margin:0 auto;border-radius:15px;padding:191px 30px 30px;visibility:hidden;opacity:0;position:relative;-webkit-transition:all ease-in-out 0.3s;-o-transition:all ease-in-out 0.3s;transition:all ease-in-out 0.3s;}
.ausm-modal-visible .upgrade-to-pro-modal-main .pro-modal-wrapper{visibility:visible;opacity:1;-webkit-animation-name:ausmModalEffect;animation-name:ausmModalEffect;-webkit-animation-duration:0.3s;animation-duration:0.3s;}
.upgrade-to-pro-modal-main .pro-modal-header{position:relative;}
.upgrade-to-pro-modal-main .pro-modal-header img{width:calc(100% + 62px);height:auto;max-width:calc(100% + 62px);position:absolute;top:-242px;left:-31px;}
.upgrade-to-pro-modal-main .modal-close-btn{position:absolute;top:-184px;right:-22px;cursor:pointer;font-size:22px;line-height:16px;padding:7px 0;width:30px;height:30px;color:#fff;background-color:transparent;border-radius:50%;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear;}
.upgrade-to-pro-modal-main .modal-close-btn:hover{background-color:#229c56;}
.upgrade-to-pro-modal-main .pro-modal-header p{margin:0;font-size:17px;font-weight:500;color:#3c434a;}
#dotsstoremain .upgrade-to-pro-modal-main .wcpoa-pro-label{margin:0 7px 0 0;}
.upgrade-to-pro-modal-main .pro-modal-body p{font-size:16px;line-height:24px;margin:0 0 14px 0;color:#000;}
.upgrade-to-pro-modal-main .pro-modal-body .pro-feature-title{margin:0 0 20px;font-size:20px;line-height:normal;font-weight:700;}
.upgrade-to-pro-modal-main .pro-modal-footer{text-align:center;margin:32px 0 0;}
.upgrade-to-pro-modal-main .pro-feature-trial-btn{padding:10px 30px 12px;line-height:1.5;color:#1f2b24;border-radius:10px;text-decoration:none;background-color:var(--dotstore-secondary);border:2px solid var(--dotstore-secondary);font-size:20px;font-weight:500;white-space:normal;cursor:pointer;display:inline-block;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear}
.upgrade-to-pro-modal-main .pro-feature-trial-btn:hover{background-color:transparent;}
.upgrade-to-pro-modal-main .pro-feature-list{margin:22px 0 0 10px;}
.upgrade-to-pro-modal-main .pro-feature-list li{font-size:15px;line-height:22px;color:#000;padding:0 0 12px 20px;position:relative;margin:0;}
.upgrade-to-pro-modal-main .pro-feature-list li::before{content:'';background-color:var(--dotstore-primary);display:inline-block;font-size:0px;width:10px;margin-left:0em;position:absolute;left:0px;top:7px;height:10px;border-radius:50%;}
.upgrade-to-pro-modal-main .pro-feature-list li:last-child{padding-bottom:0}
/* End: Premium feature show CSS */

/* Getting started page new style */
.dots-getting-started-main{width:100%;background-color:#fff;-webkit-box-shadow:0 4px 14px rgb(0 0 0 / 2%);box-shadow:0 4px 14px rgb(0 0 0 / 2%);border-radius:5px;padding:10px;max-width:1350px;margin:0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
.dots-getting-started-main > div{width:50%;display:inline-block;padding:20px;}
.dots-getting-started-main .getting-started-video{position:relative;padding:30% 0 0;overflow:hidden;}
.dots-getting-started-main .getting-started-video iframe{border:20px solid #FFFFFF;-webkit-box-shadow:0 0 60px 0 rgb(0 0 0 / 10%);box-shadow:0 0 60px 0 rgb(0 0 0 / 10%);position:absolute;top:0;left:0;height:100%;width:100%;}
.dots-getting-started-main .getting-started-image img{width: 100%;}
.dots-getting-started-main .getting-started-content span{color:#000;font-size:16px;line-height:normal;}
.dots-getting-started-main .getting-started-content span.bonus-tip{line-height:150%;}
.dots-getting-started-main .getting-started-content h3{font-size:24px;line-height:normal;color:#000;margin:8px 0 25px;}
.dots-getting-started-main .getting-started-content h3 img.premium_title_icon{width: 24px;height: 20px;margin-right: 10px;}
.dots-getting-started-main .getting-started-content p{font-size:15px;line-height:25px;color:#000;margin:0 0 20px;}
.dots-getting-started-main .getting-started-actions{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:15px;margin-top:32px;}
.dots-getting-started-main .getting-started-actions a{font-size:14px;line-height:normal;-webkit-transition:ease all 0.5s;-o-transition:ease all 0.5s;transition:ease all 0.5s;}
.dots-getting-started-main .getting-started-actions .quick-start{color:#fff;background-color:var(--dotstore-primary);padding:14px 16px 11px;border-radius:5px;border:2px solid var(--dotstore-primary);}
.dots-getting-started-main .getting-started-actions .quick-start span{color:#fff;display:inline-block;margin:1px 0 0 3px}
.dots-getting-started-main .getting-started-actions .quick-start:hover{background-color:transparent;color:var(--dotstore-primary);}
.dots-getting-started-main .getting-started-actions .quick-start:hover span{color:var(--dotstore-primary);}
.dots-getting-started-main .getting-started-actions .setup-guide{text-decoration:underline;color:var(--dotstore-primary);}
.dots-getting-started-main .getting-started-actions .setup-guide span{text-decoration:none;margin:-0.5px 4px 0 0;font-size:18px;line-height:normal;color:var(--dotstore-primary);}
.dots-getting-started-main .getting-started-actions .setup-guide:hover,.dots-getting-started-main .getting-started-actions .setup-guide:hover span{color:#000;}
.dots-getting-started-main .premium-actions a{border:2px solid var(--dotstore-secondary);border-radius:10px;padding:12px 30px;line-height:30px;font-weight:500;display:inline-block;text-decoration:none;font-size:18px;background-color:var(--dotstore-secondary);color:#1f2b24;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear;}
.dots-getting-started-main .premium-actions a:hover{background-color:transparent;}
.getting-started-feature-list ul{margin:10px 0 0 10px;}
.getting-started-feature-list ul li{font-size:15px;line-height:22px;color:#000;padding:0 0 12px 20px;position:relative;margin:0;}
.getting-started-feature-list ul li::before{content:'';background-color:var(--dotstore-primary);display:inline-block;font-size:0px;width:10px;margin-left:0em;position:absolute;left:0px;top:7px;height:10px;border-radius:50%;}
.getting-started-feature-list ul li:last-child{padding-bottom:0}
.dots-getting-started-main .getting-started-actions .getting-started-upgrade {font-size: 20px;text-decoration: underline;line-height: 150%;}
.dots-getting-started-main .getting-started-actions .ds-offer{color: var(--dotstore-primary);}

/* Other Free Plugin section --- */
.dots-other-plugin-main{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;background-color:#fff;-webkit-box-shadow:0 4px 14px rgb(0 0 0 / 2%);box-shadow:0 4px 14px rgb(0 0 0 / 2%);border-radius:5px;padding:30px;justify-content: center;max-width:1350px;margin:0 auto;}
.dots-other-plugin-main h3{font-size: 26px;margin-top: 0;}
.dsmrkt-free-plugins {display: flex;flex-direction: row;flex-wrap: wrap;justify-content: flex-start;gap: 30px;width: 100%;}
.dsmrkt-free-plugins .dsmrkt-free-plugin {width: 100%;max-width: calc(100% / 3 - 20px);display: flex;flex-direction: column;justify-content: space-between;border-radius: 5px;overflow: hidden;border: 1px solid #cbcbcb;}
.dsmrkt-free-plugin-body{display: flex;align-items: flex-start;font-size: 14px;min-height: 150px;}
.dsmrkt-free-plugin-image {width: 25%;display: flex;justify-content: center;align-items: center;padding: 10px;}
.dsmrkt-free-plugin-image img {width: 100%;height: 100%;object-fit: contain;}
.dsmrkt-free-plugin-details {width: 75%;padding: 10px;}
.dsmrkt-free-plugin-details h4 {font-size: 15px;font-weight: bold;margin: 5px 0;}
.dsmrkt-free-plugin-details p {font-size: 14px;color: #666;margin: 8px 0;}
.dsmrkt-free-plugin-details .star-rating{display: inline-block;}
.dsmrkt-free-plugin-details .vers.column-rating {line-height: 22px;}
.dsmrkt-free-plugin-footer {display: flex;justify-content: space-between;align-items: center;padding: 10px;font-size: 13px;background: #efefef;}
.dsmrkt-free-plugin-footer-left {display: flex;flex-wrap: wrap;justify-content: flex-start;flex-direction: column;gap: 5px;}
.dsmrkt-free-plugin-footer-right {display: flex;flex-wrap: wrap;width: 30%;justify-content: flex-end;}
.dsmrkt-free-plugin-footer .status {font-weight: normal;}
.dsmrkt-free-plugin-footer .status .active {color: var(--dotstore-primary);}
.dsmrkt-free-plugin-footer .help {padding: 8px 12px;background: var(--dotstore-primary);color: white;border: none;border-radius: 5px;cursor: pointer;}
.dsmrkt-free-plugin-footer .help:hover {opacity: 0.8;}

.ausm-section-left .ausm-pro-label{position:relative;cursor:pointer;display:inline-block;margin:1px 0 0 6px;}
.ausm-section-left .ausm-pro-label::before{content:"🔒";display:inline-block;font-size:15px;line-height:normal;}