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


.DataFeedByTTG_credentials_modal {
    position:absolute; 
    width:99%; 
    height:100%;
    overflow-x: hidden;
    display: none;
    background: #f0f0f1;
    z-index: 9999;
}

.DataFeedByTTG_error_page {
    position:absolute; 
    width:99%; 
    height:100%;
    overflow-x: hidden;
    display: none;
    background: #f0f0f1;
    z-index: 9999;
}
.DataFeedByTTG_error_container {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px 30px;
    border-radius: 8px;
    width: 100%;
}
.DataFeedByTTG_error_title {
    color: #333;
    font-size: 20px;
    margin-bottom: 20px;
}
.DataFeedByTTG_error_message {
    color: #555;
    font-size: 14px;
    max-width: 700px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.DataFeedByTTG_loader {
    position:absolute; 
    overflow-x: hidden;
    width:99%; 
    height:100%;
    display: flex;
    justify-content: center;
    align-items: start;
    background: #f0f0f1;
    z-index: 9999;
}

.DataFeedByTTG_loader span {
    width: 120px;
    margin-top: 30vh;
    aspect-ratio: 1;
    border-radius: 50%;
    -webkit-mask:linear-gradient(0deg,#000 55%,#0000 0) bottom/100% 18.18%;
    background:
    linear-gradient(#f03355 0 0) bottom/100% 0% no-repeat
    #ddd;
    animation: DataFeedByTTG_loaderAnimation 2s infinite steps(7);
}

@keyframes DataFeedByTTG_loaderAnimation {
    100% {background-size:100% 115%}
}

.DataFeedByTTG_credentials_modal_warning {

    max-width: 800px;
    background: #fff;
    border: 1px solid #f03355;
    border-left-width: 6px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    font-size: 13px;
    padding: 10px 10px;
}

.DataFeedByTTG_credentials_modal_warning h4 {
    margin-top: 0px;
}

.DataFeedByTTG_distributor_search_wrapper {
    display:flex; 
    flex-direction:column;
    margin-top:20px;
}

#DataFeedByTTG_distributor_search, #DataFeedByTTG_category_search {
    width:100%;
    padding:10px;
}

.DataFeedByTTG_section {
    margin-bottom: 15px;
}

.DataFeedByTTG_distributor_mw_700px {
    max-width: 700px !important;
}
.DataFeedByTTG_distributor_mw_1200px {
    max-width: 700px !important;
}

.DataFeedByTTG_distributor_mw_600px {
    max-width: 600px !important;
}

.DataFeedByTTG_distributor_mw_500px {
    max-width: 500px !important;
}

.DataFeedByTTG_distributor_mw_400px {
    max-width: 400px !important;
}

.DataFeedByTTG_distributor_w_100 {
    max-width: 100% !important;
    width: 100% !important;
}

.DataFeedByTTG_distributor_w_50 {
    width: 50% !important;
}

.DataFeedByTTG_distributor_w_33 {
    width: 33.333% !important;
}

.DataFeedByTTG_distributor_w_66 {
    width: 66.6666% !important;
}

.DataFeedByTTG_distributor_w_25 {
    width: 25% !important;
}

.DataFeedByTTG_card_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #cecece;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 1;
}

.DataFeedByTTG_unset_max_w {

    max-width: unset !important;
}

.DataFeedByTTG_margin_sides {
    margin-left: 10px !important;
    margin-right: 10px !important;
}

.DataFeedByTTG_d_flex {
    display: flex;
}

.DataFeedByTTG_d_flex_column {
    flex-direction: column;
}

.DataFeedByTTG_d_flex_between_and_center {
    justify-content: space-between;
    align-items: center;
}

.DataFeedByTTG_d_flex_align_center {
    align-items: center;
}

.DataFeedByTTG_no_margin {

    margin:0 !important;
}

.DataFeedByTTG_add_new_restriction_form {

    margin-bottom: 30px;
    background: #fff;
    padding: 25px 15px 25px 15px;
}

.DataFeedByTTG_gap_20px {

    gap: 20px;
}



.DataFeedByTTG_mt_0 {
    margin-top:0px !important;
}

.DataFeedByTTG_mb_2 {
    margin-bottom:10px !important;
}

.DataFeedByTTG_mb_0 {
    margin-bottom:0px !important;
}

.DataFeedByTTG_mt_20px {
    margin-top:20px !important;
}

.DataFeedByTTG_mt_30px {
    margin-top:30px !important;
}

.DataFeedByTTG_fs_15px {
    font-size:15px;
}

.DataFeedByTTG_p_15px {
    padding:15px;
}


.DataFeedByTTG_hover_zoom_effect:hover img {

    transition: all .2s ease;
    transform: scale(1.1);
}

#DataFeedByTTG_pricing_rules_grid th.gridjs-th ,#DataFeedByTTG_product_feed_table th.gridjs-th {
    padding: 10px !important;
}

#DataFeedByTTG_pricing_rules_grid td.gridjs-td ,#DataFeedByTTG_product_feed_table td.gridjs-td {
    padding: 4px 10px;
}

.DataFeedByTTG_refresh_logs_table {
    margin: 0 !important;
}


#DataFeedByTTG_category_mapping_wrapper .not-full input::placeholder {
    color: red;
}

.selectize-input {
    border: 1px solid #8c8f94 !important;
}

.DataFeedByTTG_distributor_action_links {
    display: flex;
    justify-content: space-between;
}

.DataFeedByTTG-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
    z-index: 20;
  }
  
  .DataFeedByTTG-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be adjusted */
    max-width: 600px; /* Max width */
  }
  
  .DataFeedByTTG-modal-close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    -webkit-transition: color 0.2s ease;
    -moz-transition: color 0.2s ease;
    -o-transition: color 0.2s ease;
    transition: color 0.2s ease;
  }
  
  .DataFeedByTTG-close-btn:hover,
  .DataFeedByTTG-close-btn:focus {
    color: black;
    text-decoration: none;
  }
  
  .DataFeedByTTG-modal.show {
    display: block;
    opacity: 1;
  }

  .DataFeedByTTG-w100{
    width: 100%;
  }

  .DataFeedByTTG-cursor-pointer{
    cursor: pointer;
  }
  


  .DataFeedByTTG-text-right{
    text-align: right;
  }
  

  #DataFeedByTTG_category_mapping_wrapper .selectize-dropdown-emptyoptionlabel {
    text-align: start;
    color:red !important;
  }

.DataFeedByTTG_category_mappings_table tr:hover {
    background-color: #e0e0e0;
}


.DataFeedByTTG_toggle-container {
    margin: 0px 0px;
}

.DataFeedByTTG_switch {
    position: relative;
    display: inline-block;
    width: 50px;  /* Smaller width */
    height: 28px; /* Smaller height */
}

.DataFeedByTTG_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.DataFeedByTTG_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 28px; /* Smaller radius */
}

.DataFeedByTTG_slider:before {
    position: absolute;
    content: "";
    height: 20px;  /* Smaller thumb */
    width: 20px;   /* Smaller thumb */
    border-radius: 50%;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .DataFeedByTTG_slider {
    background-color: #2271b1;
}

input:checked + .DataFeedByTTG_slider:before {
    transform: translateX(22px);  /* Adjusted for smaller size */
}


#DataFeedByTTG_pricing_rules_grid .ghost-drag td {

    background: #d1f2ff;
 }

.DataFeedByTTG_delete_button{
    color: #d02a2a !important;
    border-color: #d02a2a !important;
}

.gridjs.gridjs-container {
    min-height: 300px;
}   


.DataFeedByTTG-qty-group {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

/* Common styles for – and + buttons */
.DataFeedByTTG-dec-qty,
.DataFeedByTTG-inc-qty {
  background: none;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: #333;
}
.DataFeedByTTG-dec-qty:hover,
.DataFeedByTTG-inc-qty:hover {
  background: #f0f0f0;
}

/* Centered numeric input */
.DataFeedByTTG-item-qty {
  width: 40px;
  height: 28px;
  min-height: 28px !important;
  border: none !important;
  text-align: center;
  font-size: 14px;
  line-height: 1;
  /* remove native spinner in Firefox */
  -moz-appearance: textfield;
}


/* remove native spinner in WebKit */
.DataFeedByTTG-item-qty::-webkit-outer-spin-button,
.DataFeedByTTG-item-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* “Add order” button */
.DataFeedByTTG-add-to-order, .DataFeedByTTG-remove-from-order {
    height: 30.21px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}
.DataFeedByTTG-add-to-order:hover, .DataFeedByTTG-remove-from-order:hover {
  background: #f0f0f0;
}

/* Example container to space controls */
.DataFeedByTTG-controls {
display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0px;
    flex-wrap: wrap;
    justify-content: center;
}

.DataFeedByTTG_flex_end {
    display: flex;
    justify-content: flex-end;
}