/* Start Common CSS */
* {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a,
a:visited,
a:active,
a:focus,
a:hover {
  text-decoration: none;
  outline: none;
  color: var(--bg-secondary);
}

*::-moz-focus-inner {
  border: 0;
}

/********* Material Design Input CSS ********/

::placeholder {
  color: transparent !important;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: transparent !important;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: transparent !important;
}

::-webkit-input-placeholder {
  color: transparent !important;
}

.show-placeholder::placeholder {
  color: #aaa !important;
  opacity: 1;
  /* Firefox */
}

.show-placeholder:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #aaa !important;
}

.show-placeholder::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #aaa !important;
}

.show-placeholder::-webkit-input-placeholder {
  color: #aaa !important;
}

.bg-white {
  background: #fff;
}

.col-parts-5 {
  border-right: 5px solid #fff;
  width: 20%;
  float: left;
}

.col-parts-5.last {
  border-right: 0;
}

.col-parts-4 {
  border-right: 5px solid #fff;
  width: 25%;
  float: left;
}

.col-parts-4.last {
  border-right: 0;
}

.counter-amount {
  font-size: 16px !important;
}

.form-group {
  display: flex;
  flex-flow: column-reverse;
  position: relative;
  margin-bottom: 25px;
}

.required-star {
  color: #e74c3c !important;
  margin-left: 2px;
  font-size: 14px;
}

/**
* Add a transition to the label and input.
* I'm not even sure that touch-action: manipulation works on
* inputs, but hey, it's new and cool and could remove the
* pesky delay.
*/
label.input-label,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
  transition: all 0.2s;
  touch-action: manipulation;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea {
  appearance: none;
  -webkit-appearance: none;
  cursor: text;
}

label.input-label {
  letter-spacing: 0.05em;
  font-weight: 100 !important;
  margin-bottom: 0;
  color: #aaa;
  /* Prevent label from blocking clicks/focus on the underlying input */
  pointer-events: none;
  cursor: text;
  user-select: none;
  -webkit-user-select: none;
}

label.input-label.special {
  color: #00f;
}

.form-group.has-error label.input-label {
  color: #e74c3c;
}

/**
* Translate down and scale the label up to cover the placeholder,
* when following an input (with placeholder-shown support).
* Also make sure the label is only on one row, at max 2/3rds of the
* field—to make sure it scales properly and doesn't wrap.
*/
input:placeholder-shown+label.input-label,
input:placeholder-shown+label+label.input-label,
select:placeholder-shown+label.input-label,
select:placeholder-shown+label+label.input-label,
textarea:placeholder-shown+label.input-label,
textarea:placeholder-shown+label+label.input-label {
  padding: 0 6px;
  cursor: text;
  max-width: 84%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform-origin: left bottom;
  transform: translate(0, 2.4rem) scale(1.2);
  color: #888;
}

/**
* By default, the placeholder should be transparent. Also, it should
* inherit the transition.
*/
::-webkit-input-placeholder {
  opacity: 0;
  transition: inherit;
}

/**
* Show the placeholder when the input is focused.
*/
input:focus::-webkit-input-placeholder,
select:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
  opacity: 1;
}

/**
* When the element is focused, remove the label transform.
* Also, do this when the placeholder is _not_ shown, i.e. when
* there's something in the input at all.
*/
input:not(:placeholder-shown)+label.input-label,
input:not(:placeholder-shown)+label+label.input-label,
input:focus+label.input-label,
input:focus+label+label.input-label,
select:not(:placeholder-shown)+label.input-label,
select:not(:placeholder-shown)+label+label.input-label,
select:focus+label.input-label,
select:focus+label+label.input-label,
select.has-value+label.input-label,
select.has-value+label+label.input-label,
textarea:not(:placeholder-shown)+label.input-label,
textarea:not(:placeholder-shown)+label+label.input-label,
textarea:focus+label.input-label,
textarea:focus+label+label.input-label,
.spm-validation-message+label.input-label {
  padding: 0;
  transform: translate(0, 0.5rem) scale(1);
  color: var(--bg-secondary);
}

/********* Material Design Input CSS ********/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

textarea {
  resize: none;
  box-sizing: border-box;
  min-height: 31px;
  overflow-x: hidden;
}

button,
.btn {
  border-width: 2px;
}

.form-control {
  padding: 6px 6px 2px 6px;
  border: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid #ccc !important;
  border-radius: 0;
  background: transparent;
  height: 30px;
}

.form-control:focus {
  border-bottom: 1px solid #00f !important;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  color: #888 !important;
  background: transparent !important;
}

.table-fixed {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 5px;
}

.table-fixed tbody tr {
  background: #fff;
}

.table-fixed tbody tr.header-row {
  background: #fff !important;
}

.table-fixed tbody tr.default-entry {
  background: #fafafa !important;
}

.text-danger {
  color: #e74c3c;
}

.dark-text {
  color: #34495e;
}

.white-text {
  color: #fff;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.no-borders {
  border: none !important;
}

.double-lined {
  text-decoration-line: underline;
  text-decoration-style: double;
  text-decoration-skip-ink: none;
}

.separator-row {
  height: 5px;
  padding: 0 !important;
  background: transparent !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
  outline: none !important;
  color: #000 !important;
}

input:focus,
select:focus,
textarea:focus {
  outline: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

.has-error .form-control:focus {
  border-bottom: 1px solid #e74c3c !important;
}

label.error {
  color: #e74c3c;
  font-weight: 100 !important;
  position: absolute;
  bottom: -26px;
  left: 0;
}

.checkbox label.error {
  display: none !important;
}

.checkbox {
  font-size: 14px;
}

.display-block {
  display: block;
}

.display-inline {
  display: inline;
}

.display-inline-block {
  display: inline-block;
}

.text-thin {
  font-weight: 100;
}

.text-bold {
  font-weight: bold;
}

.text-link {
  color: #3498db;
}

.form-tip {
  padding: 5px;
}

.inline-block {
  display: inline-block;
}

.table-responsive {
  margin-bottom: 0 !important;
}

.text-limited {
  display: inline-block;
  width: 80px;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.no-border-radius {
  border-radius: 10px !important;
}

.container {
  padding-bottom: 20px;
  padding-top: 50px;
}

.special-row {
  margin-left: 0;
  margin-right: 0;
}

.align-middle>* {
  vertical-align: middle;
}

.vertical-top {
  vertical-align: top;
}

.vertical-bottom {
  vertical-align: bottom;
}

.limited-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
  width: 100%;
}

.limited-text-header .inv-id {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
  width: calc(100% - 30px);
}

.margin-auto {
  margin: 0 auto;
}

.theme-label {
  padding: 0;
  color: #000;
  border-radius: 4px;
  font-weight: 100;
}

.theme-label-container {
  margin-top: 30px;
  margin-bottom: 5px;
}

.full-width {
  width: 100%;
}

.fit-content {
  overflow: hidden;
}

.full-label {
  width: 100%;
}

ul.ui-autocomplete {
  z-index: 9;
  max-height: 150px;
  max-width: 300px;
  overflow-y: scroll;
}

ul.ui-autocomplete.modal-auto {
  z-index: 99999;
}

.special-margin {
  margin: 10px 0 0 0 !important;
}

.error-page {
  width: 96%;
  padding: 10px 2%;
  margin: 0 auto;
  text-align: center;
}

.error-page h1 {
  font-size: 48px;
}

.error-page h3 {
  font-size: 16px;
  margin-bottom: 50px;
}

.error-page p {
  width: 100%;
  text-align: center;
}

.error-page p a {
  color: #eee;
  font-size: 13px;
  padding: 10px 15px;
  text-decoration: none;
  -webkit-border-radius: .3em;
  -moz-border-radius: .3em;
  border-radius: .3em;
}

.error-page p a:hover {
  color: #fff;
}

.table.pricing-table,
.table.pricing-table>tbody>tr>td>label {
  font-size: 16px;
}

.table.pricing-table>thead>tr>th>label.label-success,
.table.pricing-table>tbody>tr>td>label.label-success {
  background-color: rgba(46, 204, 113, 0.5) !important;
  color: #000 !important;
}

.table.pricing-table>thead>tr>th>label.label-danger,
.table.pricing-table>tbody>tr>td>label.label-danger {
  background-color: rgba(231, 76, 60, 1.0) !important;
  color: #fff !important;
}

.table.pricing-table>thead>tr>th>label.label-warning,
.table.pricing-table>tbody>tr>td>label.label-warning {
  background-color: rgba(52, 73, 94, 0.5) !important;
  color: #fff !important;
  width: 100%;
  display: block;
  padding: 10px;
}

.table.pricing-table>thead>tr {
  height: 60px;
}

.table.pricing-table>tbody>tr {
  height: 40px;
}

.table.pricing-table>thead>tr>th {
  border-bottom: none;
  border-top: none;
  text-align: center;
  height: 60px;
  line-height: 60px;
  vertical-align: middle;
  padding: 0 10px;
  font-size: 20px;
}

.table.pricing-table>tbody>tr>td {
  border-bottom: none;
  border-top: none;
  text-align: center;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
}

.table.pricing-table>tbody>tr>td.item-col.half-height {
  line-height: 20px;
}

.table.pricing-table>tbody>tr>td.item-col {
  text-align: left;
}

.sm-hidden .table.pricing-table>tbody>tr>td.item-col {
  text-align: center;
  background: #f3f3f3;
}

.table.pricing-table>tbody>tr>td.item-col small {
  font-size: 12px;
  color: #2c3e50;
}

.full-pricing {
  padding: 20px;
  color: #fff;
}

.table.pricing-table>tbody>tr>td.avg-count,
.table.pricing-table>tbody>tr>td.tot-count {
  text-align: right;
}

.table.pricing-table .text-right {
  text-align: right !important;
}

.no-border {
  border: none;
}

.no-margin {
  margin: 0;
}

.no-margin-im {
  margin: 0 !important;
}

.no-margin-top {
  margin-top: 0;
}

.no-margin-bottom {
  margin-bottom: 0;
}

.no-padding {
  padding: 0;
}

.no-padding-im {
  padding: 0 !important;
}

.beta-feedback {
  position: fixed;
  bottom: 0;
  right: 15px;
  width: 220px;
}

.feedback-header {
  background: #34495e;
  color: #f2f2f2;
  text-align: center;
}

.feedback-header:hover {
  background: #2c3e50;
  color: #fff;
  cursor: pointer;
}

.feedback-header-title {
  margin: 0;
  padding: 8px 3px;
}

.relative {
  position: relative;
}

/* End Common CSS */

/* Start AJAX Page Loading CSS */

#loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: #fff;
  text-align: center;
  line-height: 100vh;
  vertical-align: middle;
}

/* End AJAX Page Loading CSS */

/* Start Front End Validation CSS */

.has-error input {
  border-color: #e74c3c !important;
}

.alert-msg-container {
  display: none;
  position: fixed;
  top: 10px;
  z-index: 19;
  background: transparent;
  text-align: center;
  left: 50%;
  transform: translate(-50%);
}

.alert-msg {
  font-size: 16px;
  margin: 0 auto;
  padding: 5px 35px 5px 15px;
  display: inline-block;
}

.success-msg-display {
  width: 100%;
  height: 350px;
  padding: 10px;
}

/* End Front End Validation CSS */

/* Start Font Sizes */

.font-11 {
  font-size: 11px;
}

.font-12 {
  font-size: 12px;
}

.font-14 {
  font-size: 14px;
}

.font-16 {
  font-size: 16px;
}

.font-18 {
  font-size: 18px;
}

.font-20 {
  font-size: 20px;
}

.font-10 {
  font-size: 10px;
}

.font-22 {
  font-size: 22px;
}

.font-24 {
  font-size: 24px;
}

.font-26 {
  font-size: 26px;
}

.font-28 {
  font-size: 28px;
}

.font-28 {
  font-size: 28px;
}

.font-30 {
  font-size: 30px;
}

.font-36 {
  font-size: 36px;
}

.font-42 {
  font-size: 42px;
}

.font-48 {
  font-size: 48px;
}

.font-56 {
  font-size: 56px;
}

.font-60 {
  font-size: 60px;
}

.font-72 {
  font-size: 72px;
}

.font-80 {
  font-size: 80px;
}

.font-120 {
  font-size: 120px;
}

.font-small {
  font-size: 85%;
}

/* End Font Sizes */

/* Start Top Margins */

.margin-top-0 {
  margin-top: 0;
}

.margin-top-5 {
  margin-top: 5px;
}

.margin-top-10 {
  margin-top: 10px;
}

.margin-top-15 {
  margin-top: 15px;
}

.margin-top-20 {
  margin-top: 20px;
}

.margin-top-25 {
  margin-top: 25px;
}

.margin-top-30 {
  margin-top: 30px;
}

.margin-top-35 {
  margin-top: 35px;
}

.margin-top-40 {
  margin-top: 40px;
}

.margin-top-45 {
  margin-top: 45px;
}

.margin-top-50 {
  margin-top: 50px;
}

/* End Top Margins */

/* Start Bottom Margins */

.margin-bottom-0 {
  margin-bottom: 0;
}

.margin-bottom-2 {
  margin-bottom: 2px;
}

.margin-bottom-5 {
  margin-bottom: 5px;
}

.margin-bottom-10 {
  margin-bottom: 10px;
}

.margin-bottom-15 {
  margin-bottom: 15px;
}

.margin-bottom-20 {
  margin-bottom: 20px;
}

.margin-bottom-25 {
  margin-bottom: 25px;
}

.margin-bottom-30 {
  margin-bottom: 30px;
}

.margin-bottom-35 {
  margin-bottom: 35px;
}

.margin-bottom-40 {
  margin-bottom: 40px;
}

.margin-bottom-45 {
  margin-bottom: 45px;
}

.margin-bottom-50 {
  margin-bottom: 50px;
}

/* End Bottom Margins */

/* Start Left Margins */

.margin-left-0 {
  margin-left: 0;
}

.margin-left-5 {
  margin-left: 5px;
}

.margin-left-10 {
  margin-left: 10px;
}

.margin-left-15 {
  margin-left: 15px;
}

.margin-left-20 {
  margin-left: 20px;
}

.margin-left-23 {
  margin-left: 23px;
}

.margin-left-25 {
  margin-left: 25px;
}

.margin-left-30 {
  margin-left: 30px;
}

.margin-left-35 {
  margin-left: 35px;
}

.margin-left-40 {
  margin-left: 40px;
}

.margin-left-45 {
  margin-left: 45px;
}

.margin-left-50 {
  margin-left: 50px;
}

/* End Left Margins */

/* Start Right Margins */

.margin-right-0 {
  margin-right: 0;
}

.margin-right-5 {
  margin-right: 5px;
}

.margin-right-10 {
  margin-right: 10px;
}

.margin-right-15 {
  margin-right: 15px;
}

.margin-right-20 {
  margin-right: 20px;
}

.margin-right-25 {
  margin-right: 25px;
}

.margin-right-30 {
  margin-right: 30px;
}

.margin-right-35 {
  margin-right: 35px;
}

.margin-right-40 {
  margin-right: 40px;
}

.margin-right-45 {
  margin-right: 45px;
}

.margin-right-50 {
  margin-right: 50px;
}

/* End Right Margins */

/* Start Top Padding */

.padding-top-5 {
  padding-top: 5px;
}

.padding-top-10 {
  padding-top: 10px;
}

.padding-top-15 {
  padding-top: 15px;
}

.padding-top-20 {
  padding-top: 20px;
}

.padding-top-25 {
  padding-top: 25px;
}

.padding-top-30 {
  padding-top: 30px;
}

.padding-top-35 {
  padding-top: 35px;
}

.padding-top-40 {
  padding-top: 40px;
}

.padding-top-45 {
  padding-top: 45px;
}

.padding-top-50 {
  padding-top: 50px;
}

/* End Top Padding */

.margin-5 {
  margin: 5px;
}

.margin-10 {
  margin: 10px;
}

.padding-5 {
  padding: 5px;
}

.padding-10 {
  padding: 10px;
}

/* Start hover pointer effect */

.hover-pointer:hover {
  cursor: pointer;
}

/* End hover pointer effect */

/* Start custom button CSS */

/* btn-custom */

.btn {
  background-image: none !important;
  outline: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.btn-primary {
  color: var(--text-active);
  background-color: var(--bg-primary);
  border-color: var(--bg-primary);
}

.btn-primary.active,
.btn-primary.focus,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.open>.dropdown-toggle.btn-primary {
  color: #fff;
  background-color: var(--bg-secondary);
  border-color: var(--bg-secondary);
}

.btn-success {
  color: #fff;
  background-color: #2A8D6F;
  border-color: #2A8D6F;
}

.btn-success.active,
.btn-success.focus,
.btn-success:active,
.btn-success:focus,
.btn-success:hover,
.open>.dropdown-toggle.btn-success {
  color: #fff;
  background-color: #3DBF8E;
  border-color: #3DBF8E;
}

.btn-danger {
  color: #fff;
  background-color: #BB2517;
  border-color: #BB2517;
}

.btn-danger.active,
.btn-danger.focus,
.btn-danger:active,
.btn-danger:focus,
.btn-danger:hover,
.open>.dropdown-toggle.btn-danger {
  color: #fff;
  background-color: #F45C4F;
  border-color: #F45C4F;
}


.btn-danger-alt {
  color: #d9534f;
  background-color: transparent;
  border-color: #d43f3a;
}

.btn-danger-alt:hover {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}

.btn-success-alt {
  color: #5cb85c;
  background-color: #fff;
  border-color: #4cae4c;
}

.btn-success-alt:hover {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}

.alert-reg-msg {
  color: #e74c3c;
  letter-spacing: 0.4px;
  line-height: 24px;
}

.display-none {
  display: none;
}

#profile-image {
  position: relative;
  overflow: hidden;
}

#profile-image i {
  position: absolute;
  font-size: 2em;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  line-height: 70px;
  background: rgba(200, 200, 200, 0.5);
  padding: 5px;
  border-radius: 500px;
  color: #555;
}

#profile-image i.fa-edit {
  display: none;
}

#profile-image:hover i.fa-edit {
  display: block;
}

.paper.print-view {
  font-family: Verdana, Helvetica, Arial, sans-serif;
}

.theme-color-picker {
  margin: 25px auto;
  width: 60px;
  height: 60px;
  opacity: 0.5;
  border-radius: 60px;
  position: relative;
}

.overlay-check {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 22px;
  color: #fff;
}

.theme-color-picker.active {
  opacity: 1;
}

.theme-color-picker:hover {
  cursor: pointer;
  opacity: 1;
}

.emerald {
  background: linear-gradient(to right, #2ecc71 50%, #27ae60 50%);
}

.alizarin {
  background: linear-gradient(to right, #e74c3c 50%, #c0392b 50%);
}

.amethyst {
  background: linear-gradient(to right, #9b59b6 50%, #8e44ad 50%);
}

/* .carrot {
  background: #e67e22;
} */

.peter_river {
  background: linear-gradient(to right, #3498db 50%, #2980b9 50%);
}

.sun_flower {
  background: linear-gradient(to right, #f1c40f 50%, #f39c12 50%);
}

.turquoise {
  background: linear-gradient(to right, #16a085 50%, #1abc9c 50%);
}

/* .concrete {
  background: #95a5a6;
} */

.modern_professional {
  background: linear-gradient(to right, #0A1931 50%, #0077B6 50%);
}

.elgant_trusted {
  background: linear-gradient(to right, #003300 50%, #c89b3c 50%);
}

.high_contrast_energetic {
  background: linear-gradient(to right, #1b1b1b 50%, #16A085 50%);
}

.luxury_noir {
  background: linear-gradient(to right, #121212 50%, #B76E79 50%);
}

.cyber_violet {
  background: linear-gradient(to right, #0D0221 50%, #9B59B6 50%);
}

.tech_noir_electric {
  background: linear-gradient(to right, #050A30 50%, #f39c12 50%);
}

.business-logo {
  max-width: 250px;
  margin: 25px auto 0 auto;
}

.business-logo:hover {
  opacity: 0.5;
  cursor: pointer;
}

.input-overlay {
  position: absolute;
  width: calc(100% - 34px);
  top: 27px;
  left: 17px;
  height: 30px;
  background: #fff;
  line-height: 30px;
  padding: 0 5px;
  border-radius: 4px;
  vertical-align: middle;
  display: none;
}

.input-overlay.fixed {
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
  margin: 5px 0;
}

.input-overlay i.fa-times-circle {
  float: right;
  font-size: 1.2em;
  line-height: 30px;
  color: #95a5a6;
}

.input-overlay i.fa-times-circle:hover {
  cursor: pointer;
  color: #555;
}

.input-overlay span {
  width: calc(100% - 25px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  float: left;
}

.input-overlay span img {
  margin-top: 5px;
}

.progress-bar-container {
  display: none;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 7;
}

.processing-msg {
  border-radius: 0;
  font-size: 18px;
  width: 400px;
  margin: 250px auto 0 auto;
  display: none;
  text-align: left;
  padding-left: 15px;
}

.per-comp {
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
  margin: 200px auto 0 auto;
  height: 40px;
  color: #fff;
}

.progress.file-upload {
  height: 8px;
  margin: 50px auto 0 auto;
  width: 400px;
}

.rotate {
  transform: rotate(-90deg);
  /* Legacy vendor prefixes that you probably don't need... */
  /* Safari */
  -webkit-transform: rotate(-90deg);
  /* Firefox */
  -moz-transform: rotate(-90deg);
  /* IE */
  -ms-transform: rotate(-90deg);
  /* Opera */
  -o-transform: rotate(-90deg);
  /* Internet Explorer */
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.with-client-id {
  display: block;
  margin-top: -0.4em;
}

.with-client-id+sub {
  bottom: 0.75em;
}

.helper-text {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 4px;
}

.mode-switch {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.mode-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  margin: 0;
}

.mode-option:hover {
  border-color: var(--bg-primary);
  background: #f8f9fa;
}

.mode-option.active {
  background: var(--bg-primary);
  border-color: var(--bg-primary);
  color: #fff;
}

.mode-option input[type="radio"] {
  display: none;
}

.mode-option .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d0d0;
  margin-right: 8px;
  transition: all 0.2s ease;
}

.mode-option.active .dot {
  background: #fff;
}

.section {
  background: #fff;
  padding: 20px;
  margin-top: 15px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title .badge {
  background: var(--bg-primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.field-row {
  margin-bottom: 15px;
}

.field label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
  font-weight: 500;
}

.field-suffix {
  position: relative;
  display: flex;
  align-items: center;
}

.field-suffix input[type="number"]:focus,
.field-suffix input[type="text"]:focus {
  border-color: var(--bg-primary);
  outline: none;
}

.field-suffix input[disabled] {
  cursor: not-allowed;
}

.field-suffix span {
  position: absolute;
  left: 50%;
  font-size: 13px;
  color: #777;
  font-weight: 500;
  pointer-events: none;
}

.tax-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 15px;
  margin-top: 15px;
  background: #fff;
}

.tax-table thead th {
  color: #555;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 10px;
  border-bottom: 2px solid #e0e0e0;
  text-align: left;
}

.tax-table tbody tr {
  transition: background 0.2s ease;
}

.tax-table tbody td {
  padding: 6px 6px 2px 6px;
  border-bottom: 1px solid #ccc;
}

.tax-table tbody td:has(input:focus) {
  border-bottom: 1px solid #00f !important;
}

.tax-table .tax-label {
  font-weight: 700;
  color: #2c3e50;
  font-size: 14px;
}

.tax-table .tax-label.muted {
  color: #999;
  font-style: italic;
}

.tax-table input[type="text"],
.tax-table input[type="number"] {
  width: 100%;
  border: none;
  font-size: 13px;
  transition: 0.2s ease;
}

.tax-table input[type="text"]:focus,
.tax-table input[type="number"]:focus {
  border-color: var(--bg-primary) !important;
  outline: none;
}

.tax-table .btn-remove-bracket {
  background: transparent;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.tax-table .btn-remove-bracket:hover {
  background: #fee;
  color: #c0392b;
}

.tax-table label.error,
.tax-table label.tax-validation-error {
  display: block;
  color: #e74c3c;
  font-size: 11px;
  margin-top: 4px;
  font-weight: normal;
}

.tax-table input.error {
  border-color: #e74c3c !important;
}

.tax-table td:has(input.error) {
  border-bottom-color: #e74c3c !important;
}

.sub-tax-bracket {
  color: #e74c3c;
}

.flat-tax-rate {
  color: #00f !important;
  margin-bottom: 0 !important;
}

.tax-free-rate {
  cursor: not-allowed !important;
}

.corporate-tax-rate {
  width: 50%;
}

#corporate-tax-section {
  width: 50%;
}

.no-bottom-boder {
  border-bottom: none !important;
}

.helper-text label {
  bottom: 16px !important;
  left: 35px !important;
}

/* End custom button CSS */

/* Start responsive CSS */

@media only screen and (max-width: 991px) {
  .xs-hidden {
    display: none !important;
  }

  .font-120 {
    font-size: 80px;
  }

  .beta-feedback {
    bottom: 135px;
    right: -95px;
    transform: rotate(90deg);
    /* Safari */
    -webkit-transform: rotate(90deg);
    /* Firefox */
    -moz-transform: rotate(90deg);
    /* IE */
    -ms-transform: rotate(90deg);
    /* Opera */
    -o-transform: rotate(90deg);
    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  }

  .feedback-header-title i {
    transform: rotate(90deg);
    /* Safari */
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);
    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  }
}

@media only screen and (max-width: 767px) {
  .mobile-hidden {
    display: none !important;
  }

  .no-borders-xs {
    border: none !important;
  }

  .line-height-20-xs {
    line-height: 20px !important;
  }

  .line-height-30-xs {
    line-height: 30px !important;
  }
}

@media only screen and (min-width: 768px) {
  .sm-hidden {
    display: none;
  }

  .error-page h1 {
    font-size: 100px;
    margin-top: 20px;
    margin-bottom: 0;
  }

  .error-page h3 {
    font-size: 30px;
    margin-bottom: 25px;
  }

  ul.ui-autocomplete {
    max-width: 500px;
  }
}

@media only screen and (min-width: 992px) {
  .theme-label-container {
    text-align: left !important;
  }

  .error-page h1 {
    font-size: 200px;
  }

  .error-page h3 {
    font-size: 48px;
  }

  .more-options {
    border: none !important;
    background: transparent !important;
    color: #aaa !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .more-options i.fa {
    font-size: 19px !important;
    line-height: 38px;
  }

  .more-options:hover {
    color: #777 !important;
  }

}

@media only screen and (max-width: 520px) {
  .font-120 {
    font-size: 48px;
  }
}

@media only screen and (max-width: 499px) {
  .more-options i.fa {
    font-size: 13px !important;
  }

  .global-add .more-options i.fa {
    font-size: 19px !important;
  }
}

@media only screen and (max-width: 480px) {
  .col-xxs-1 {
    width: 8.333333333333333%;
  }

  .col-xxs-2 {
    width: 16.66666666666667%;
  }

  .col-xxs-3 {
    width: 25%;
  }

  .col-xxs-4 {
    width: 33.33333333333333%;
  }

  .col-xxs-5 {
    width: 41.66666666666667%;
  }

  .col-xxs-6 {
    width: 50%;
  }

  .col-xxs-7 {
    width: 58.333333333333333%;
  }

  .col-xxs-8 {
    width: 66.66666666666667%;
  }

  .col-xxs-9 {
    width: 75%;
  }

  .col-xxs-10 {
    width: 83.33333333333333%;
  }

  .col-xxs-11 {
    width: 91.66666666666667%;
  }

  .col-xxs-12 {
    width: 100%;
  }

  .xms-hidden {
    display: none !important;
  }
}

@media only screen and (max-width: 240px) {
  .font-120 {
    font-size: 36px;
  }

  .xxs-hidden {
    display: none !important;
  }
}

@media only screen and (max-width: 767px) {

  .btn-new-acc.mobile-only {
    position: static !important;
    top: auto !important;
    right: auto !important;
    margin-left: 10px;
    vertical-align: middle;
    min-width: 35px;
    min-height: 30px;
    z-index: 10;
  }

  .header-row h4.relative {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* End responsive CSS */

/* Theme Color Picker CSS */

.btn-data-proc:hover {
  border: 2px solid var(--bg-primary)
}

.breadcumb .current,
.business-logo-container,
.desktop-nav .user-logo-container,
.first-creation i,
.links-tab ul li a,
.main-side-bar ul li a,
.mobile-nav .user-logo-container {
  color: var(--text-active);
}

#app-loading,
.bottom-display,
.btn-data-proc:hover,
.business-drop-down ul li.head-item,
.error-page p a,
.links-tab ul li.active a,
.links-tab ul li:hover a,
.more-options-panel ul li:hover,
.multi-select li:hover,
.paper .ui-sortable-helper .inv-line-item-mover,
.theme-background,
.user-drop-down ul li.head-item {
  background: var(--bg-primary) !important
}

.paper .ui-sortable-helper input {
  border-color: var(--bg-primary)
}

.main-side-bar ul li.active a {
  background-color: var(--bg-secondary);
}

.main-side-bar ul li:hover a {
  background: var(--bg-secondary)
}

.business-drop-down ul li.head-item {
  border-top: 1px solid var(--bg-primary)
}

a.theme-link:hover {
  color: var(--bg-secondary)
}

#loading,
.settings-box .url-link,
.theme-text {
  color: var(--bg-primary)
}

.theme-border {
  border-color: var(--bg-primary)
}

.btn-custom,
.btn-custom:active,
.btn-custom:focus,
.btn-custom:visited {
  border: 2px solid var(--bg-primary);
  color: var(--bg-primary);
  background: 0 0;
  transition: .2s all ease
}

.btn-custom a,
.btn-custom:active a,
.btn-custom:focus a,
.btn-custom:visited a {
  color: var(--bg-primary);
}

.btn-custom.clicked,
.btn-custom:hover {
  background: var(--bg-primary);
  border: 2px solid var(--bg-primary);
  color: #fff
}

.btn-custom:hover a {
  color: #fff
}

.btn-custom:hover {
  transition: .2s all ease
}

.btn-custom-alt,
.btn-custom-alt:active,
.btn-custom-alt:focus,
.btn-custom-alt:visited {
  background: var(--bg-primary);
  border: 2px solid var(--bg-primary);
  color: #fff;
  transition: .2s all ease
}

.btn-custom-alt:hover {
  background: var(--bg-secondary);
  border: 2px solid var(--bg-secondary);
  color: #fff;
  transition: .2s all ease
}

.btn-custom-alt.clicked {
  background: var(--bg-secondary);
}

.ui-widget-header {
  border: 1px solid var(--bg-secondary);
  background: var(--bg-secondary)
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
  border: 1px solid var(--bg-secondary) !important;
  background: var(--bg-secondary) !important;
}

.wim-modal-header {
  background: var(--bg-primary);
}

.cat-head li.active {
  background: var(--bg-primary);
}

#filter-section {
  border-color: var(--bg-primary);
}

.business-logo-container .fa.angle {
  color: var(--text-active);
}

.user-logo-container .fa.angle {
  color: var(--bg-primary);
}

.settings-box span {
  color: var(--bg-secondary);
}

.notifications.url-link {
  color: var(--bg-primary);
}

.label-info {
  background-color: #0077B6;
  color: #fff;
}

.label-success {
  background-color: #2A8D6F;
  color: #fff;
}

@media only screen and (max-width: 576px) {
  .cat-head li.active {
    color: var(--bg-primary) !important;
    border-bottom: 2px solid var(--bg-primary) !important;
  }
}

@media only print {
  * {
    color: var(--bg-primary) !important;
  }
}

/* End Theme Color Picker CSS */

/* ===== POS System — Modern Cloud POS ===== */

.pos-wrap * { box-sizing: border-box; }

.pos-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f0f2f7;
  overflow: hidden;
  z-index: 999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* ── Header ─────────────────────────────────── */
.pos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-primary);
  color: #fff;
  padding: 0 20px;
  height: 56px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
  z-index: 10;
}

.pos-header-left {
  display: flex;
  flex-direction: column;
  min-width: 160px;
}

.pos-clock-display {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  line-height: 1.1;
}

.pos-date-display {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.pos-header-center {
  text-align: center;
}

.pos-header-center strong {
  font-size: 15px;
  letter-spacing: 0.3px;
  color: #fff;
}

.pos-header-icon {
  margin-right: 8px;
  opacity: 0.85;
}

.pos-invoice-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 8px;
}

.pos-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
  justify-content: flex-end;
}

.pos-kbhint {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
}

.pos-kbhint kbd {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 9px;
  font-family: inherit;
}

.pos-close-btn {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 7px;
  padding: 5px 14px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s;
}

.pos-close-btn:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

/* ── Body ─────────────────────────────────────── */
.pos-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ── Left Panel ─────────────────────────────── */
.pos-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 12px;
  overflow: hidden;
  background: #fff;
  border-right: 1px solid #e4e6ef;
}

/* ── Search ──────────────────────────────────── */
.pos-search-box {
  flex-shrink: 0;
  margin-bottom: 14px;
}

.pos-search-inner {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #e4e6ef;
  border-radius: 12px;
  padding: 0 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.pos-search-inner:focus-within {
  border-color: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(10,25,49,0.09);
}

.pos-search-icon {
  font-size: 22px;
  color: var(--bg-primary);
  margin-right: 12px;
  flex-shrink: 0;
  opacity: 0.75;
}

.pos-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 14px 0;
  color: #1a1d2e;
  background: transparent;
  font-weight: 500;
}

.pos-search-input::placeholder {
  color: #b5b9ca;
  font-weight: 400;
}

.pos-search-spin {
  color: var(--bg-primary);
  font-size: 14px;
  margin-left: 8px;
}

.pos-search-hint {
  font-size: 10.5px;
  color: #b0b5c5;
  margin-top: 6px;
  padding-left: 6px;
}

.pos-search-hint kbd {
  background: #f0f2f7;
  border: 1px solid #dde0ea;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 9px;
  color: #666;
  font-family: inherit;
}

/* ── Item Wrapper + Grid ──────────────────────── */
.pos-item-wrapper {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.pos-item-grid {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  grid-auto-rows: min-content;
  gap: 10px;
  align-content: start;
  padding: 2px 8px 8px 2px;
}

.pos-item-grid::-webkit-scrollbar { width: 5px; }
.pos-item-grid::-webkit-scrollbar-track { background: transparent; }
.pos-item-grid::-webkit-scrollbar-thumb { background: #e0e3ec; border-radius: 4px; }

.pos-item-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #c8ccd8;
  pointer-events: none;
}

.pos-item-empty i {
  font-size: 50px;
  margin-bottom: 12px;
  opacity: 0.35;
}

.pos-item-empty p {
  margin: 0;
  font-size: 13.5px;
  opacity: 0.65;
}

.pos-item-card {
  background: #fff;
  border: 1.5px solid #e8ebf4;
  border-radius: 10px;
  padding: 12px 12px 10px;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
  user-select: none;
  z-index: 0;
  min-height: 72px;
  box-sizing: border-box;
}

.pos-item-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--bg-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

.pos-item-card:hover,
.pos-item-card.pos-item-highlighted {
  border-color: var(--bg-primary);
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  z-index: 1;
}

.pos-item-card:hover::after,
.pos-item-card.pos-item-highlighted::after {
  transform: scaleX(1);
}

.pos-item-card:active {
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.pos-item-qty-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--bg-primary);
  color: var(--text-active, #fff);
  font-size: 9.5px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 10px;
  padding: 0 5px;
}

.pos-item-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #2c2f3e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
  padding-right: 22px;
}

.pos-item-code {
  font-size: 10px;
  color: #9ea3b7;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.pos-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-primary);
  margin-top: 6px;
}

.pos-item-low-stock {
  font-size: 9px;
  font-weight: 700;
  color: #e07a00;
  background: #fff8ec;
  border-radius: 4px;
  padding: 1px 5px;
  margin-top: 4px;
  display: inline-block;
  letter-spacing: 0.2px;
}

/* ── Right Panel ─────────────────────────────── */
.pos-right {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #f7f8fc;
  overflow: hidden;
}

.pos-section {
  padding: 8px 14px;
  border-bottom: 1px solid #eceff5;
  flex-shrink: 0;
}

.pos-section-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #9ea3b7;
  margin-bottom: 6px;
  letter-spacing: 0.8px;
  overflow: hidden;
}

.pos-key-hint {
  background: rgba(0,0,0,0.06);
  color: #999;
  border: 1px solid #dde0ea;
  border-radius: 3px;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 4px;
  font-family: inherit;
  font-style: normal;
}

.pos-input {
  border-radius: 7px !important;
  border: 1.5px solid #e4e6ef !important;
  font-size: 13px;
  height: 36px !important;
  transition: border-color 0.15s;
  box-shadow: none !important;
}

.pos-input:focus {
  border-color: var(--bg-primary) !important;
  box-shadow: 0 0 0 2px rgba(10,25,49,0.07) !important;
}

/* Customer */
.pos-customer-section { background: #fff; }

.pos-required-star {
  color: #e05252;
  font-size: 12px;
  margin-left: 2px;
}

.pos-quick-add-cust-btn {
  float: right;
  background: none;
  border: 1.5px solid var(--bg-primary);
  border-radius: 5px;
  color: var(--bg-primary);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 7px;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.pos-quick-add-cust-btn:hover {
  background: var(--bg-primary);
  color: var(--text-active, #fff);
}

.pos-input-error {
  border-color: #e05252 !important;
  box-shadow: 0 0 0 2px rgba(224,82,82,0.15) !important;
  animation: pos-shake 0.35s ease;
}

@keyframes pos-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  60%       { transform: translateX(4px); }
  80%       { transform: translateX(-3px); }
}

.pos-customer-wrap { position: relative; }

/* Selected customer chip */
.pos-cust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eef5ff;
  border: 1.5px solid #4a7ee0;
  border-radius: 7px;
  padding: 6px 8px 6px 11px;
  width: 100%;
  box-sizing: border-box;
  min-height: 34px;
}
.pos-cust-chip-icon {
  color: #4a7ee0;
  font-size: 16px;
  flex-shrink: 0;
}
.pos-cust-chip-name {
  flex: 1;
  font-weight: 600;
  font-size: 13px;
  color: #2c3e7a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pos-cust-chip-clear {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0 2px;
  color: #a0aabf;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: color 0.15s;
}
.pos-cust-chip-clear:hover { color: #c0392b; }

.pos-cust-dropdown {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid var(--bg-primary);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  max-height: 200px;
  overflow-y: auto;
  z-index: 500;
  list-style: none;
  margin: 4px 0 0;
  padding: 4px 0;
}

.pos-cust-dropdown li {
  padding: 9px 14px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.1s;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2c2f3e;
}

.pos-cust-dropdown li:hover {
  background: #f0f4ff;
  color: var(--bg-primary);
}

/* Cart */
.pos-cart-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.pos-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 4px;
  flex-shrink: 0;
}

.pos-clear-btn {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 7px;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
}

.pos-clear-btn:hover {
  color: #e05252;
  background: #fff0f0;
}

.pos-cart-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.pos-cart-scroll::-webkit-scrollbar { width: 4px; }
.pos-cart-scroll::-webkit-scrollbar-thumb { background: #e8ebf0; border-radius: 4px; }

.pos-cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.pos-cart-table thead tr {
  border-bottom: 1.5px solid #f0f2f5;
}

.pos-cart-table th {
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #9ea3b7;
  letter-spacing: 0.4px;
  background: #fafbfd;
  white-space: nowrap;
}

.pos-col-item  { text-align: left; }
.pos-col-qty   { text-align: center; width: 64px; }
.pos-col-price { text-align: right; width: 88px; }
.pos-col-total { text-align: right; width: 78px; }
.pos-col-del   { width: 26px; }

.pos-cart-table tbody tr {
  border-bottom: 1px solid #f4f6fb;
  transition: background 0.1s;
}

.pos-cart-table tbody tr:hover,
.pos-cart-table tbody tr.pos-row-active {
  background: #f4f6ff;
}

.pos-cart-table tbody tr.pos-row-flash {
  animation: pos-cart-flash 0.6s ease;
}

@keyframes pos-cart-flash {
  0%   { background: rgba(34,197,94,0.22); }
  60%  { background: rgba(34,197,94,0.10); }
  100% { background: transparent; }
}

.pos-cart-table td {
  padding: 5px 8px;
  vertical-align: middle;
  color: #2c2f3e;
}

.pos-cart-item-name {
  display: block;
  max-width: 108px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 12px;
}

.pos-cart-empty-row td {
  padding: 30px 8px;
  color: #c0c5d5;
  font-size: 13px;
  text-align: center;
}

.pos-qty-input,
.pos-price-input {
  border: 1.5px solid #e4e6ef;
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 12px;
  text-align: right;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
  color: #2c2f3e;
}

.pos-qty-input:focus,
.pos-price-input:focus {
  border-color: var(--bg-primary);
  box-shadow: 0 0 0 2px rgba(10,25,49,0.09);
  outline: none;
}

.pos-qty-input   { width: 56px; }
.pos-price-input { width: 78px; }

.pos-remove-item {
  color: #d5d8e5;
  cursor: pointer;
  font-size: 12px;
  transition: color 0.15s;
  padding: 2px 3px;
  border-radius: 4px;
}

.pos-remove-item:hover { color: #e05252; }

/* Totals */
.pos-totals {
  padding: 8px 14px;
  background: #fff;
  border-top: 1.5px solid #eceff5;
  border-bottom: 1.5px solid #eceff5;
  flex-shrink: 0;
}

.pos-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 2px 0;
  color: #666;
}

.pos-discount-row { color: #888; }
.pos-tax-row { color: #888; }
.pos-shipping-row { color: #888; }

.pos-discount-pct-label {
  font-size: 10px;
  background: #fff3cd;
  color: #856404;
  padding: 1px 7px;
  border-radius: 10px;
  margin-left: 4px;
}

.pos-discount-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pos-calc-trigger-btn {
  background: none;
  border: 1.5px solid #dde0ea;
  border-radius: 7px;
  color: #9ea3b7;
  cursor: pointer;
  padding: 2px 7px;
  font-size: 11px;
  transition: all 0.15s;
  height: 26px;
}

.pos-calc-trigger-btn:hover {
  border-color: var(--bg-primary);
  color: var(--bg-primary);
  background: #f0f4ff;
}

/* Unified TDS input for discount / tax / shipping fields */
.pos-tds-inp {
  width: 80px;
  border: 1.5px solid #e4e6ef;
  border-radius: 7px;
  padding: 3px 7px;
  font-size: 12px;
  text-align: right;
  color: #2c2f3e;
  transition: border-color 0.15s;
  height: 26px;
}

.pos-tds-inp:focus {
  border-color: var(--bg-primary);
  outline: none;
}

.pos-tds-pct {
  width: 62px;
}

.pos-tds-sep {
  font-size: 10px;
  color: #b0b5c5;
}

.pos-tds-result {
  font-size: 11px;
  color: #555;
  min-width: 72px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pos-grand-total {
  font-size: 15px;
  color: #1a1d2e;
  margin-top: 5px;
  padding-top: 6px;
  border-top: 2px solid #eceff5;
}

.pos-grand-total .pos-total-val {
  color: var(--bg-primary);
  font-size: 16px;
}

/* Payment */
.pos-payment-section { background: #f7f8fc; }

.pos-method-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.pos-method-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 7px 4px;
  border: 1.5px solid #e4e6ef;
  background: #fff;
  color: #888;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.pos-method-btn i { font-size: 14px; }

.pos-method-btn.active {
  background: var(--bg-primary);
  color: var(--text-active, #fff);
  border-color: var(--bg-primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.14);
}

.pos-method-btn:hover:not(.active) {
  background: #f0f4ff;
  border-color: var(--bg-primary);
  color: var(--bg-primary);
}

/* Tendered */
.pos-tendered-section { background: #fff; }

.pos-tendered-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.pos-tendered-col { flex: 1; }

.pos-change-col { min-width: 100px; }

.pos-curr-addon {
  background: #f7f8fc;
  border: 1.5px solid #e4e6ef;
  border-right: none;
  border-radius: 7px 0 0 7px;
  color: #888;
  font-size: 11px;
  padding: 0 8px;
  height: 34px;
  line-height: 32px;
}

.pos-tendered-inp {
  border: 1.5px solid #e4e6ef;
  border-left: none;
  border-radius: 0 7px 7px 0;
  height: 34px;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  padding: 0 10px;
  transition: border-color 0.15s;
  width: 100%;
}

.pos-tendered-inp:focus {
  border-color: var(--bg-primary);
  outline: none;
}

.pos-change-display { text-align: right; }

.pos-change-display span {
  font-size: 15px;
  font-weight: 800;
  color: #2A8D6F;
  letter-spacing: 0.5px;
}

.pos-quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.pos-quick-amt-btn {
  background: #f3f4f8;
  border: 1.5px solid #e4e6ef;
  border-radius: 6px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
}

.pos-quick-amt-btn:hover {
  background: var(--bg-primary);
  color: var(--text-active, #fff);
  border-color: var(--bg-primary);
}

/* Charge */
.pos-charge-wrap {
  padding: 10px 14px 12px;
  background: #f7f8fc;
  flex-shrink: 0;
}

.pos-charge-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-primary);
  color: var(--text-active, #fff);
  border: none;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  letter-spacing: 0.3px;
}

.pos-charge-btn i { font-size: 16px; }

.pos-charge-btn:hover:not(:disabled) {
  opacity: 0.90;
  box-shadow: 0 6px 22px rgba(0,0,0,0.22);
  transform: translateY(-1px);
}

.pos-charge-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.16);
}

.pos-charge-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pos-charge-label { font-weight: 600; }

/* Keyboard Shortcut Bar */
.pos-kb-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #1a1d2e;
  padding: 5px 20px;
  flex-shrink: 0;
  overflow-x: auto;
}

.pos-kb-bar::-webkit-scrollbar { display: none; }

.pos-kb-item {
  font-size: 10px;
  color: #5a5e72;
  white-space: nowrap;
}

.pos-kb-item kbd {
  background: #252838;
  color: #7a7d8e;
  border: 1px solid #363a52;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 9px;
  font-family: inherit;
  margin-right: 2px;
}

/* ── Sale Complete Modal ─────────────────────── */
.pos-receipt-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}

.pos-receipt-overlay.hidden { display: none; }

.pos-receipt-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px 44px 36px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 16px 50px rgba(0,0,0,0.22);
  text-align: center;
}

.pos-receipt-icon {
  font-size: 58px;
  color: #2A8D6F;
  margin-bottom: 16px;
  line-height: 1;
}

.pos-receipt-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: #1a1d2e;
  margin: 0 0 8px;
}

.pos-receipt-box p {
  font-size: 14px;
  color: #7a7d8e;
  margin: 0 0 24px;
}

.pos-receipt-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.pos-receipt-btn-print {
  background: #f3f4f8;
  color: #555;
  border: 1.5px solid #e4e6ef;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.pos-receipt-btn-print:hover { background: #e8eaf0; }

.pos-receipt-btn-new {
  background: var(--bg-primary);
  color: var(--text-active, #fff);
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
  transition: opacity 0.15s;
}

.pos-receipt-btn-new kbd {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  padding: 0 4px;
  font-size: 9px;
  font-family: inherit;
  margin-left: 4px;
}

.pos-receipt-btn-new:hover { opacity: 0.88; }

/* ── Calculator Popup ────────────────────────── */
.pos-calc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.pos-calc-overlay.hidden { display: none; }

.pos-calc-box {
  background: #1a1d2e;
  border-radius: 16px;
  width: 320px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  overflow: hidden;
}

.pos-calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.pos-calc-header span {
  font-size: 11px;
  font-weight: 700;
  color: #7a7d8e;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.pos-calc-close-btn {
  background: none;
  border: none;
  color: #5a5e72;
  cursor: pointer;
  font-size: 15px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s;
}

.pos-calc-close-btn:hover { color: #fff; }

.pos-calc-display {
  padding: 14px 20px 10px;
  text-align: right;
  min-height: 70px;
  background: #13151f;
}

.pos-calc-expr {
  font-size: 11px;
  color: #4a4e64;
  min-height: 16px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  margin-bottom: 4px;
}

.pos-calc-result {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  word-break: break-all;
}

.pos-calc-discount-section {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pos-calc-disc-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #4a4e64;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: block;
  margin-bottom: 7px;
}

.pos-calc-disc-btns {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.pos-calc-disc-btn {
  flex: 1;
  min-width: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: #7a7d8e;
  border-radius: 6px;
  padding: 5px 0;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.pos-calc-disc-btn:hover,
.pos-calc-disc-btn.pos-calc-disc-active {
  background: var(--bg-primary);
  color: var(--text-active, #fff);
  border-color: var(--bg-primary);
}

.pos-calc-keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 10px 12px;
  background: #13151f;
}

.pos-calc-key {
  background: #252838;
  border: none;
  color: #e8eaf0;
  border-radius: 9px;
  height: 54px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.1s, transform 0.08s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pos-calc-key:hover  { background: #32364e; }
.pos-calc-key:active { background: #454966; transform: scale(0.95); }

.pos-calc-key-op {
  background: #20233b;
  color: #7a80c0;
  font-size: 18px;
}

.pos-calc-key-op:hover { background: #282c44; }

.pos-calc-key-back {
  background: #252838;
  color: #7a7d8e;
  font-size: 14px;
}

.pos-calc-key-clear {
  background: #3d2020;
  color: #e05252;
}

.pos-calc-key-clear:hover { background: #4d2a2a; }

.pos-calc-key-eq {
  background: var(--bg-primary);
  color: var(--text-active, #fff);
  font-size: 20px;
}

.pos-calc-key-eq:hover { opacity: 0.88; }

.pos-calc-key-pct {
  background: #20233b;
  color: #7a80c0;
}

.pos-calc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px 14px;
  background: #1a1d2e;
}

.pos-calc-apply-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: #9ea3b7;
  border-radius: 8px;
  padding: 9px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}

.pos-calc-apply-btn:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.pos-calc-apply-disc {
  border-color: rgba(255,193,7,0.3);
  color: #ffc107;
}

.pos-calc-apply-disc:hover {
  background: rgba(255,193,7,0.14);
  color: #ffd740;
}

/* ── Quick Customer Create Overlay ─────────────── */
.pos-quick-cust-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}

.pos-quick-cust-overlay.hidden { display: none; }

.pos-quick-cust-box {
  background: #fff;
  border-radius: 14px;
  width: 480px;
  max-width: 92vw;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  overflow: hidden;
}

.pos-quick-cust-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-primary);
  color: #fff;
}

.pos-quick-cust-header span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.pos-quick-cust-body {
  padding: 18px 18px 12px;
}

.pos-quick-cust-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.pos-quick-cust-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pos-qc-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #9ea3b7;
  letter-spacing: 0.6px;
  margin: 0;
}

.pos-qc-input {
  height: 38px !important;
  font-size: 13px !important;
}

.pos-quick-cust-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 12px 18px 16px;
  border-top: 1px solid #f0f2f7;
}

/* ── POS Toast Notification ──────────────────── */
#pos-toast {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 10010;
  min-width: 280px;
  max-width: 540px;
  padding: 13px 22px 13px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 6px 28px rgba(0,0,0,0.28);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
  word-break: break-word;
}
#pos-toast.pos-toast-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-14px);
  pointer-events: none;
}
#pos-toast.pos-toast-error {
  background: #c0392b;
  color: #fff;
  border-left: 6px solid #7b241c;
}
#pos-toast.pos-toast-success {
  background: #179a4a;
  color: #fff;
  border-left: 6px solid #0e5c2d;
}
#pos-toast.pos-toast-warning {
  background: #d68910;
  color: #fff;
  border-left: 6px solid #7e5109;
}

/* ══════════════════════════════════════════════════════════
   Barcode Print Modal
   ══════════════════════════════════════════════════════════ */
#barcode-print-modal .wim-modal-body {
  padding: 18px 22px 8px;
}
#barcode-print-modal .input-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
  display: block;
}
#bc-preview-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid #e5e8f0;
  border-radius: 8px;
  padding: 12px;
  background: #f7f8fb;
  min-height: 80px;
  max-height: 260px;
  overflow-y: auto;
  align-items: flex-start;
}
#bc-preview-wrap .bc-prev-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: 1px dashed #c8ccd8;
  border-radius: 5px;
  padding: 5px 6px 4px;
  background: #fff;
  font-family: Arial, sans-serif;
}
#bc-preview-wrap .bc-prev-label svg {
  display: block;
}
#bc-warning {
  font-size: 11.5px;
  color: #c0392b;
  margin-top: 4px;
}


/* ===== End POS Styles ===== */