/**
 * 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; 
}

/**
 * No Padding for invoice tables
 * */
 #invoiceItemsTable input.form-control {
    padding-left: 0rem;
    padding-right: 0rem;
    font-size: 18px;
}

/* Bootstrap Stepper Custom Styles */
.bs-stepper {
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
}

.bs-stepper .bs-stepper-header {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.bs-stepper .step-trigger {
    padding: 10px 20px;
}

.bs-stepper .bs-stepper-content {
    padding: 20px;
}

.bs-stepper .step-trigger:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.bs-stepper .step.active .bs-stepper-circle {
    background-color: #007bff;
}

.bs-stepper .step.active .bs-stepper-label {
    color: #007bff;
}

.bs-stepper .line {
    background-color: #e9ecef;
    height: 2px;
}

.bs-stepper .content:not(.active) {
    display: none;
}

.bs-stepper .content.active {
    display: block;
}

.bs-stepper .step.done .bs-stepper-circle {
    background-color: #28a745;
}

@media (max-width: 768px) {
    .bs-stepper-header {
        flex-wrap: wrap;
    }
    
    .bs-stepper .line {
        flex-basis: 20px;
    }
}

/**
 * Company Switcher Styles
 * */
.company-switcher-dropdown {
    min-width: 280px !important;
    border: none !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    border-radius: 0.5rem !important;
}

.company-switcher-item {
    transition: all 0.2s ease-in-out;
    border-radius: 0.375rem;
    margin: 0.125rem 0.5rem;
}

.company-switcher-item:hover {
    background-color: rgba(13, 110, 253, 0.1) !important;
    transform: translateX(2px);
}

.company-switcher-item.active {
    background-color: rgba(13, 110, 253, 0.1) !important;
    border-left: 3px solid #0d6efd;
}

.company-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    font-weight: 600;
}

.company-switcher-badge {
    font-size: 0.6em;
    padding: 0.25em 0.4em;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.company-switcher-trigger {
    position: relative;
    transition: all 0.2s ease-in-out;
}

.company-switcher-trigger:hover {
    color: #0d6efd !important;
    transform: translateY(-1px);
}

.company-name-truncate {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dark mode support */
[data-bs-theme="dark"] .company-switcher-item:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .company-switcher-item.active {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-left-color: #6ea8fe;
}

/**
 * Select2 vertical alignment fix
 * */
.select2-container--bootstrap-5 .select2-selection {
    display: flex !important;
    align-items: center !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
    padding-right: 0 !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__placeholder {
    line-height: 1.5 !important;
}
