

:root {
  --primary-color: #ff6700;
  --secondary-color: #262626;
  --accent-color: #e74c3c;
  --text-color: #fff;
  --background-color: #333333;
  --font-family: Century Gothic, sans-serif;
  --border-color: #4B413E;
  --information-color: #BDBDBD;
  --info-val-color: #E0E0E0;
}


:root.light-mode {
  --primary-color: #ff6700;
  --secondary-color: #E2E2E2;
  --accent-color: #e74c3c;
  --text-color: #000;
  --background-color: #F1F1F4;
  --font-family: Century Gothic, sans-serif;
  --border-color: #4B413E;
  --information-color: #000;
  --info-val-color: #262626;
}


body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  top: 0;

  -webkit-user-select: none; 
  -moz-user-select: none;   
  -ms-user-select: none;  
  user-select: none;   
}


.numPad {
  font-size: x-large !important;
}

.selections {
  color: var(--text-color);
}

option {
  background-color: var(--secondary-color) !important;
}

select {
  color: var(--text-color) !important;
}

input {
  color: var(--text-color) !important;
}

.text-light-theme {
  color: var(--text-color) !important;
}

.custom-form {
  background: var(--secondary-color) !important;
  color: var(--text-color) !important;
}

.primary_text_color {
    color : var(--primary-color)
}

.homeButtons {
  border: 1px solid var(--secondary-color)
}

.homeButtons:hover {
  border: 1px solid var(--primary-color);
}

.primary-color-btn {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: bold;
  width: auto;
  border: none;
}
 
#text_id_or {
    color : var(--primary-color)
}

.changeTendered {
    color : var(--primary-color);
    font-weight: bold;
}

.salesCompleteBorder {
    border: 1px solid var(--primary-color); 
    max-height: 10%; 
    height: 100%; 
    text-align: center; 
    padding: 9px;
}

#defQty {
    color : var(--primary-color)
}

.primary_color {
    background-color: var(--primary-color);
}


.endOfDayBorder {
    border: 1px solid var(--primary-color); 
    color: var(--primary-color); 
    font-weight: bold;
}


h1, h2, h3, h4, h5, h6 {
    color: var(--text-color) ;
}

.lead {
  color: #fff !important;
}



  .primary_color_table {
    border-color: var(--primary-color);
    color: var(--primary-color);
  }

  .bg-custom-dark {
    background-color: var(--secondary-color);
  }

  .bg-primary {
    background-color: var(--primary-color);
  }

  .payment_btn.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--text-color);
  }


  .color_primary {
    color: var(--primary-color);
  }


  .btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--text-color);
  }

  .btn-primary:active {
    background-color: var(--primary-color);
    border-color: var(--text-color);
  }

  .savedOrdersBorder {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
  }

  .selected {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-weight: bold;
}

  .selectable-row.selected {
    background-color: var(--primary-color);
  }


  .spanUserName {
    color: var(--primary-color);
  }

  .salesHistoryBorder {
    border: 1px solid var(--primary-color); 
    color: var(--primary-color)
  }

  .result-item.selected_result {
    padding: 5px;
    background-color: var(--primary-color);
  }

  .result-item-product.selected_result {
    padding: 5px;
    background-color: var(--primary-color);
  }

  .table_header_row {
    border: 1px solid;
    border-color: var(--primary-color); 
    color: var(--primary-color)
  }

  .payment_btn,
  button {
    background-color: var(--secondary-color);
    border: solid 1px;
    border-color: var(--border-color);
    color: var(--text-color);
    border-radius: 0;
    font-weight: bold;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  }

  .continue {
    background-color: var(--secondary-color);
  }


  .void_btn {
    background-color: #850303;
    margin-top: 40%;
    color: var(--text-color);
    border: solid 1px;
    border-color: var(--border-color);
    border-radius: 0;
    height: 40px;
  }

  .selectBtnPaymentMethod {
    background-color: var(--primary-color);
    color: var(--text-color);
  }

  #fomattedPaidText {
    border: none;
    background: transparent;
    color: var(--text-color);
    border-radius: 0;
    border-bottom: 1px solid var(--text-color);
    outline: none;
  }

  .nav-button:focus,
  .nav-button.keyboard-focus {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
  }

  .nav-button svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
  }

  hr.new2 {
    margin-top: 5px;
    border-top: 1px dashed var(--secondary-color);
    font-weight: bold;
  }

  .primary_button_style.s_btn_product{
    margin-left: 10px;
    color: var(--text-color);
    background: var(--primary-color);
    padding: 5px;
    border: none;
    text-transform: uppercase;
    width: 80px;
  }

  .table_total_amount{
    width: 100%; 
    height: 100%; 
    background: var(--secondary-color); 
    color: var(--primary-color);
  }

  #z_reason {
    background : transparent;
    outline: none;
    padding: 10px;
    color: var(--text-color);
    width: 100%;
  }
  
  
  .headTitle {
    color: var(--text-color);
  }

  .messageBox {
    height: auto;
    width: auto;
    border: 1px solid var(--border-color);
    border-radius: 0;
    background: transparent;
    padding: 10px
  }
  
  .messageBox h2 {
    font-weight: bold;
  }
  
  .input_date_rage {
    margin-top: 10px;
  }
  
  .z-reading, .t-reading {
    border: 1px solid var(--border-color);
    height: auto;
    margin-top: 10px;
  }


  .x-reading {
    border: 1px solid var(--border-color);
    height: auto;
    margin-top: 10px;
  }


  
.print_report_container {
    border: 1px solid var(--background-color);
    background: transparent;
    height: 50px;
    padding: 10px;
    width: 100%;
  }
  
    .optioContent {
        border: 1px solid var(--background-color);
        height: 250px;
        background: transparent;
        margin: 10px;
        padding: 30px;
        justify-content: center;
        align-items: flex-start;
    }
  
    .spanCurrentDate {
        color: var(--primary-color)
    }

    #currentTimeEnd {
        color: var(--primary-color)
    }


    .end_of_day_container {
      justify-content: center;
      align-items: center;
      height: 84%;
      scrollbar-color: transparent;
      overflow-y: auto;
      scrollbar-width: 0; 
      padding-left: 0;
      padding-right: 0;
      width: 75%;
      background: var(--secondary-color);
      margin-left: 10px;
    }


    .unpaid_container_table {
        position: fixed;
        left: 2px;
        bottom: 5%;
        justify-content: center;
        align-items: center;
        height: 83%;
        scrollbar-color: transparent;
        overflow-y: auto;
        scrollbar-width: 0; 
        padding-left: 0;
        padding-right: 0;
        width: 75%;
        background: var(--secondary-color);
        margin-left: 10px;
      }
      
      .cash_count_container {
        position: fixed;
        left: 2px;
        bottom: 5%;
        justify-content: center;
        align-items: center;
        height: 83%;
        scrollbar-color: transparent;
        overflow-y: auto;
        scrollbar-width: 0; 
        padding-left: 0;
        padding-right: 0;
        width: 75%;
        background: var(--secondary-color);
        margin-left: 10px;
      }


      .primary_button_style {
        border: 1px solid var(--border-color);
        width: auto;
        border-radius: 0;
        background: var(--secondary-color);
        /* margin-right: 10px; */
        color: var(--text-color) ;
      }


      .cashCountBorder {
        border: 1px solid var(--primary-color); 
        color: var(--primary-color);
      }

      .textCode {
        color: var(--primary-color);
      }
    
      .btn_search1, .btn_search2, .btn_search3 {
        background-color: var(--primary-color);
      }
    
      .spanDateRange {
          color: var(--primary-color);
      }
    
      .svgIconShare, .svgIconShare1, .svgIconShare2 {
        color: var(--primary-color);
        height: 32px;
        margin-top: -5px;
        margin-left: 20px;
      }



      .endOfDayContent input {
        border: none;
        margin-right: 10px;
        border-radius: 0;
        background: transparent;
        border: 1px solid var(--border-color); 
        color: var(--text-color);
        font-size: small;
        width: auto;
      }
    
      .endOfDayContent button {
        border: 1px solid var(--border-color);
        width: auto;
        border-radius: 0;
        background: var(--secondary-color);
        margin-right: 10px;
        font-size: small;
      }
      

      .t-container {
        border: 1px solid var(--border-color); 
      }

      .customer-container {
        /* border: 1px solid var(--border-color);  */
        padding: 0;
        max-height: 50vh;
        overflow-y: auto;
      }
      
      .customer-container::-webkit-scrollbar {
        width: 5px; /* width of the scrollbar */
      }
      
      .customer-container::-webkit-scrollbar-thumb {
        background-color: var(--background-color); /* color of the scrollbar */
        border-radius: 10px; /* roundness of the scrollbar */
      }


      .div_product_list_ex::-webkit-scrollbar {
        width: 5px; /* width of the scrollbar */
      }

      .div_product_list_ex::-webkit-scrollbar-thumb {
        background-color: var(--background-color); /* color of the scrollbar */
        border-radius: 10px; /* roundness of the scrollbar */
      }
      


      .toast-header {
        justify-content: space-between;
        background: var(--secondary-color);
        color: var(--text-color);
      }
    
      .closeToast {
          background: none;
          border: none;
          box-shadow: none;
      }
    
      .toast.fade.show {
        background: var(--secondary-color);
        color: var(--text-color);
      }


      .spinner-container {
        color: var(--primary-color);
        font-weight: bold;
        display: none;
      }


      .changeQuantityContent {
        height: 200px;
        width: 100%;
        border: 1px solid var(--border-color);
        padding: 10px;
      }
    
    
      .changeDiscountItem {
        height: 200px;
        width: 100%;
        border: 1px solid var(--border-color);
        padding: 10px;
      }
    
    
    
      .creditContent {
        border: 1px solid var(--border-color);
        height: 250px;
      }
    
    
      .select_option {
        border-radius: 0;
        background: transparent;
        border: 1px solid var(--border-color); 
        color: var(--text-color);
        font-size: small;
        width: 100%;
    
        height: 33px;
        padding-left: 10px;
       
        outline: 0;
    }
  

    .user_name {
        color: var(--primary-color);
    }

    .enabled {
        background-color: green; 
    }
    
    .buttonsSubmitCancel button{
        font-size: small;
        width: auto;
       
        color: var(--text-color);
        border: 1px solid var(--border-color);
        border-radius: 0;
        outline: none;
    }
    
    div.d-flex.buttonsSubmitCancel {
        justify-content: right;
    }
    
    .cashInOutForm {
        margin-top: 20px;
    }
    .options-cash-in-out button.selected {
        background-color: var(--primary-color);
        
    }
    
    
    .selectable-InOut-row td {
        padding: 0;
        font-style: italic;
    }
    
    .svg_icon_out {
        color: red;
        margin-right: 5px;
    }
    
    .svg_icon_in {
        color: green;
        margin-right: 5px;
    }
    
    .cashInOutHistoryTable {
        height: auto;
        width: 100%
    }
    
    
    .cashInContainer {
        top: 0;
        height: 160px;
        border: 1px solid var(--border-color);
        margin-bottom: 10px;
        overflow-y: auto;
        scrollbar-width: 0; 
        scrollbar-color: transparent;
    }
    
    
    .cashInContainer::-webkit-scrollbar {
        width: 0;
    }
    
    .cashInContainer::-webkit-scrollbar-thumb {
        background-color: transparent;
    }
    
    .col-lg-12.d-flex.options-cash-in-out {
    
        height: 50px;
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 10px;
    }
    
    .cash_in_cash_out {
        height: auto;
        border: 1px solid var(--border-color);
        padding: 10px;
        background: transparent;
        margin: 5px;
    }
    
    .options-cash-in-out button {
        width: 190px;
        height: 50px;
        border: 1px solid var(--border-color);
        border-radius: 0;
        background: var(--secondary-color);
        font-weight: bold;
       
    }
    
    
    .options-cash-in-out {
        justify-content: center;
    }
    
    .input_amount input{
        border: 1px solid var(--border-color);
        border-radius: 0;
        background: var(--secondary-color);
        font-size: small;
        padding: 10px;
        margin-bottom: 10px;
    }
    
    
    .input_amount textarea{
        color: var(--text-color);
        padding: 10px;
        font-size: small;
        outline: 0;
        border: 1px solid var(--border-color);
        border-radius: 0;
        background: var(--secondary-color);
        height: 50px;
        margin-bottom: 10px;
    }
    



/* Responsive styles */
@media screen and (max-width: 1200px) {
    .pos-barcode {
      padding: 8px;
    }
  
  
    .table-container {
      
      max-height: 78.5vh;
      max-width: 74.7vw;
      height: 100%;
      width: 100%;
      overflow-y: auto;
      background: var(--secondary-color);
      position: absolute;
      margin: 0;
      bottom: 0;
      top: 113px;
    }
  
  }
  
  @media screen and (max-width: 992px) {
    .pos-barcode {
        padding: 6px;
    }
  
    .row {
      padding: auto;
     
    }
  
    .table-container-total {
      position: absolute;
      bottom: 0;
      max-width: 74.7%;
      width: 100%;
      background: var(--secondary-color);
      color: var(--primary-color);
      margin: 0;
      height: auto;
    }
  
    .row {
      padding: auto;
    }
  
    .table-container {
      max-height: 78.5vh;
      max-width: 74.7vw;
      height: 100%;
      width: 100%;
      overflow-y: auto;
      background: var(--secondary-color);
      position: absolute;
      margin: 0;
      bottom: 0;
      top: 113px;
    }
  }

  .border_rad_5 {
    border-radius: 5px !important;
  }

  .border_rad_10 {
    border-radius: 10px !important;
  }

  .border_rad_20 {
    border-radius: 20px !important;
  }