/* === Payment Column Container === */
#sale_sub_btn {
  background: #eee;
  padding: 16px 14px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  border: 1px solid #ccc;
}

/* === Cash Input === */
#sale_sub_btn input[type="number"],
#sale_sub_btn input[type="text"] {
  width: 100%;
  padding: 12px 10px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  text-align: right;
  background: #ffffff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

#sale_sub_btn input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* === Buttons Base === */
#sale_sub_btn .btn {
  width: 100%;
  padding: 16px 0;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  border: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s;
}

#sale_sub_btn .btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 18px rgba(0,0,0,0.16);
}

#sale_sub_btn .btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* === Individual Button Colors === */
#sale_sub_btn .btn-primary {
  background: linear-gradient(135deg, #676873, #676873);
}

#sale_sub_btn .btn-info {
  background: linear-gradient(135deg, #818cf8, #4f46e5);
}

#sale_sub_btn .btn-success {
  background: linear-gradient(135deg, #575f60, #575f60);
}

#sale_sub_btn .btn-danger {
  background: linear-gradient(135deg, #f87171, #ef4444);
}

/* === Fix spacing between buttons === */
#sale_sub_btn .btn + .btn {
  /*margin-top: 10px;*/
}

/* === Mobile responsiveness === */
@media (max-width: 768px) {
  #sale_sub_btn {
    margin-top: 20px;
  }
}


/* === POS Bottom Totals Bar (No HTML change) === */
.table_tot_amount {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  border-collapse: separate;
  border-spacing: 2px;
  background: #ffffff;
  box-shadow: 0 -8px 20px rgba(0,0,0,0.08);
  z-index: 999;
  padding: 0px;
  border-radius: 10px;
}

.table_tot_amount tbody tr.warning {
  background: transparent !important;
}

/* Each cell */
.table_tot_amount td {
  background: #42434b !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px;
  /* padding: 10px 14px !important; */
  text-align: left;
  vertical-align: middle !important;
  font-family: Inter, Segoe UI, Arial;
}

/* Label text (before span) */
.table_tot_amount td {
  font-size: 12px;
  color: #6b7280;
  /* font-weight: 500; */
}

/* Value inside span */
.table_tot_amount td span {
  display: block;
  font-size: 18px;
  /* font-weight: 600; */
  color: #111827;
  margin-top: 2px;
}

/* Emphasize Grand Total (last cell) */
.table_tot_amount td:last-child {
  background: linear-gradient(135deg, #42434b, #42434b) !important;
  border: none !important;
}

.table_tot_amount td:last-child,
.table_tot_amount td:last-child span {
  color: #ffffff !important;
}

.table_tot_amount td:last-child span {
  font-size: 22px;
  /* font-weight: 700; */
}

:root {
  --sidebar-width: 240px; /* adjust if needed */
}
.table_tot_amount {
  left: var(--sidebar-width) !important;
  width: calc(100% - var(--sidebar-width)) !important;
}

.table_tot_amount td span
 {

    color: #fff;

}

/* ===== Main POS Form Card ===== */
#sticker {
  background: #ffffff;
  border-radius: 14px;
  padding: 0px 18px 14px;
  /*box-shadow: 0 10px 25px rgba(0,0,0,0.06);*/
  margin-bottom: 20px;
  padding-left: 0;
}

/* ===== Labels ===== */
#sticker label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

/* ===== Inputs & Selects ===== */
#sticker input,
#sticker select {
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
  padding: 10px 12px !important;
  font-size: 14px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
}

#sticker input:focus,
#sticker select:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
  outline: none;
}

/* ===== Barcode / Empty Message Box ===== */
#sticker .well {
  border-radius: 5px;
  background: #eee;
  border: 1px solid #ddd;
  font-size: 14px;
  color: #6b7280;
  padding: 1%;
}

.well {
    margin-bottom: 10px !important;
}

/* ===== Order Items Table ===== */
#sticker .table {
  border-radius: 12px;
  /*overflow: hidden;*/
  border: 1px solid #e5e7eb;
}

#sticker .table thead th {
  background: #3a3d44 !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13px;
  border: none !important;
}

#sticker .table tbody td {
  font-size: 13px;
  color: #374151;
  /* vertical-align: middle !important; */
}

.select2-container, .select2-drop, .select2-search, .select2-search input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 40px;
    border: 1px solid #D5D5D5 !important;
}

.select2-results .select2-result-label {
    background-color: #ccc;
}

/* ===== Total Amount Row ===== */
#sticker .table_tot_amount td {
  background: #f1f5f9 !important;
  /* font-weight: 600; */
  color: #111827;
}

/* ===== Section Title ===== */
#sticker h4,
#sticker h5 {
  font-weight: 600;
  color: #111827;
}

/* ===== Responsive Fix ===== */
@media (max-width: 768px) {
  #sticker {
    padding: 14px;
  }
}



/* Mobile responsive */

@media (max-width: 992px) {
  .table_tot_amount {
    left: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .table_tot_amount {
    border-spacing: 6px;
  }

  .table_tot_amount td span {
    font-size: 16px;
  }

  .table_tot_amount td:last-child span {
    font-size: 18px;
  }
}

#sale_pymnt_given_amount,
#sale_pymnt_total {
    height: 40px;
    font-size: 18px;
    text-align: right;
    border-radius: 6px !important;
    border: 1px solid #ccc;
    padding: 8px 10px;
}

#customer_des_wap input, select, .select2-drop {
    border-radius: 6px !important;
}

#add_sale, #reset, #return_sale, #add_payment, .pos_button {
    font-size: 20px !important;
    height: 60px !important;
    width: 215px;
}

.table_tot_amount td {
    background-color: #42434b !important;
    color: #fff;
    /* font-weight: bold; */
    padding: 5px !important;
    font-size: 17px !important;
}

#sale_datetime{
    border-radius: 6px !important;
}

.clip-radio {
    position: relative;
    padding-left: 25px;
    font-size: 15px;
}

.clip-radio input[type="radio"] {
    display: none;
}

.clip-radio label {
    cursor: pointer;
    position: relative;
    padding-left: 30px;
}

.clip-radio label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
}

.clip-radio input[type="radio"]:checked + label:before {
    border-color: #007AFF; /* Clip-One primary */
}

.clip-radio input[type="radio"]:checked + label:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #007AFF;
    border-radius: 50%;
}

.color-green {
    background-color: #3a3d44 !important;
    color: #fff;
    padding-top: 10px !important;
    border-radius: 8px !important;
}

.space12 {
    background-color: #064476 !important;
}

#soTable {
    min-height: 290px;
}

.panel
 {
    /*border: 0px solid transparent  !important;*/
}

.core-box {
    margin-bottom: 20px;
    display: inline-block;
    padding-bottom: 10px;
    border: 1px solid #EEEEEE;
    padding: 11px;
    border-radius: 5px;
}

/*#container1{*/
/*    border: 1px solid #EEEEEE !important;*/
/*    border-radius: 5px;*/
/*}*/



