/**
 * Placeholder thickness minimized
 * */
.form-control::placeholder {
  color: rgba(168, 170, 173, 0.75);
  opacity: 1;
}
/**
 * Change Group Button size - (Right Side Buttons)
 * */
 .cc-group-btn-size{
  padding: .375rem .15rem;
 }

 /**
  * Print page minimum width
 */
 .min-width-600{
  min-width: 600px;
 }

 /**
 * Autocomplete css
 * */
 .ui-autocomplete {
  max-height: 160px;
  overflow-y: auto;
  overflow-x: hidden; /* prevent horizontal scrollbar */
}

/**
 * Autocomplete Loader for input box
 * */
.ui-autocomplete-loading {
  background: white url("autocomplete-loader/ui-anim_basic_16x16.gif") right center no-repeat;
}

/**
 * Cursor not allowed
 * */
 .cursor-not-allowed{
  cursor:not-allowed;
 }

 /**
  * Input box border color change to primary class color
  * */
.custom-border-primary {
    border-color: #007bff !important; /* Replace with your desired color */
}

/**
 * Page Loader , Spinner
 * */
 #spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#spinner-content {
    text-align: center;
}
#loading-message {
    color: white;
    margin-top: 15px;
    font-size: 18px;
}

/**
 * Highlight last added table row
 * */
tr.highlight {
  animation: popIn 0.5s ease-out;
}
@keyframes popIn {
  0% {
    transform: scale(1.05);
    background-color: rgb(0 140 255 / 5%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  100% {
    transform: scale(1);
    background-color: rgb(0 140 255 / 5%);
    box-shadow: none;
  }
}

/**
* no code 
* */
.text-transform-none{
text-transform: none;
}

/**
* input group input box, in one group i need to show some of the select or 
* input box 30 %
* */
.cu-flex-30{
  flex: 0 0 30% !important;
}

.cu-w-500-px{
  width: 500px !important;
}

/**
 * POS Page Items Selected Table Resize
 * */
 .resizable-vertical {
  resize: vertical;
  overflow: auto; /* Required for the resize property to work */
  min-height: 270px; 
}

/**
 * Invoice/POS cart inputs must stay readable
 * */
 #invoiceItemsTable input.form-control,
 #invoiceItemsTable textarea.form-control,
 #invoiceItemsTable select.form-select {
    padding: 0.35rem 0.45rem;
    font-size: 13px;
    min-height: 34px;
    border-radius: 6px !important;
    line-height: 1.2;
 }

 #invoiceItemsTable input[name^="quantity"],
 #invoiceItemsTable input[name^="sale_price"],
 #invoiceItemsTable input[name^="purchase_price"],
 #invoiceItemsTable input[name^="total"],
 #invoiceItemsTable input[name^="mrp"],
 #invoiceItemsTable input[name^="size"] {
    min-width: 72px;
    text-overflow: clip;
 }

/* Perfect Traders theme */
:root {
  --pt-ink: #1c2b36;
  --pt-rust: #c45c26;
  --pt-rust-dark: #a3491d;
  --pt-sand: #f4efe6;
  --pt-card: #ffffff;
  --pt-line: #e6ddd0;
  --pt-muted: #6d7278;
}

html, body {
  font-family: "Plus Jakarta Sans", Roboto, sans-serif !important;
}

body {
  background: var(--pt-sand) !important;
  color: var(--pt-ink);
}

.sidebar-wrapper {
  background: #16232c !important;
  box-shadow: 8px 0 24px rgba(22, 35, 44, 0.18) !important;
}

.sidebar-wrapper .sidebar-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-wrapper .logo-text {
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.sidebar-wrapper .toggle-icon,
.sidebar-wrapper .metismenu a,
.sidebar-wrapper .metismenu .menu-title,
.sidebar-wrapper .metismenu .parent-icon {
  color: #d7dde2 !important;
}

.sidebar-wrapper .metismenu ul {
  background: #121c22 !important;
}

.sidebar-wrapper .metismenu a:hover,
.sidebar-wrapper .metismenu a:focus,
.sidebar-wrapper .metismenu li.mm-active > a,
.sidebar-wrapper .metismenu ul a:hover {
  color: #fff !important;
  background: rgba(196, 92, 38, 0.18);
}

.pt-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e07a3d 0%, var(--pt-rust) 55%, #8d3d16 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.topbar {
  background: #fff !important;
  border-bottom: 1px solid var(--pt-line);
  box-shadow: 0 1px 8px rgba(28, 43, 54, 0.04);
}

.page-content {
  padding-top: 1.25rem;
}

.card {
  border: 1px solid var(--pt-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(28, 43, 54, 0.04) !important;
}

.card-header {
  background: transparent !important;
  border-bottom: 1px solid var(--pt-line) !important;
}

.btn-primary,
.btn-outline-primary:hover,
.page-link.active {
  background-color: var(--pt-rust) !important;
  border-color: var(--pt-rust) !important;
}

.btn-primary:hover {
  background-color: var(--pt-rust-dark) !important;
  border-color: var(--pt-rust-dark) !important;
}

.btn-outline-primary {
  color: var(--pt-rust) !important;
  border-color: var(--pt-rust) !important;
}

.btn-success {
  background-color: #2f7d4a !important;
  border-color: #2f7d4a !important;
}

.form-control,
.form-select,
.select2-container--bootstrap-5 .select2-selection {
  border-color: #ddd4c6 !important;
  border-radius: 10px !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--pt-rust) !important;
  box-shadow: 0 0 0 0.2rem rgba(196, 92, 38, 0.15) !important;
}

.table thead th {
  background: #f8f3ea !important;
  color: var(--pt-ink);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.page-footer {
  background: transparent !important;
  color: var(--pt-muted);
}

.pt-welcome {
  background: linear-gradient(135deg, #1c2b36 0%, #2b4252 55%, #c45c26 140%);
  color: #fff;
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 1.25rem;
}

.pt-welcome h4 {
  margin: 0 0 4px;
  font-weight: 700;
}

.pt-welcome p {
  margin: 0;
  opacity: 0.82;
}

.pt-stat-card {
  border: 0 !important;
  overflow: hidden;
}

.pt-header-brand {
  font-weight: 700;
  color: var(--pt-ink);
  line-height: 1.1;
}

.pt-header-brand small {
  display: block;
  font-weight: 500;
  color: var(--pt-muted);
  font-size: 11px;
}

.pt-auth-page {
  min-height: 100vh;
  background: var(--pt-sand);
}

.pt-auth-hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(224, 122, 61, 0.35), transparent 28%),
    linear-gradient(160deg, #16232c 0%, #1c2b36 48%, #8d3d16 160%);
  color: #fff;
  padding: 64px;
}

.pt-auth-hero h1 {
  font-weight: 700;
  font-size: 42px;
  margin-bottom: 12px;
}

.pt-auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(28, 43, 54, 0.12);
  padding: 36px 32px;
}

.pt-demo-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f3ea;
  border: 1px solid var(--pt-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}