body {
  height: auto;
}

/* Estilos para Stock Bajo en dropdown de chosen */
.chosen-results .low-stock-option {
  background-color: #fff3cd !important;
  color: #856404;
  font-weight: bold;
}

.chosen-results .low-stock-option:hover {
  background-color: #ffeaa7 !important;
}

/* Estilos para Sin Stock en dropdown de chosen */
.chosen-results .no-stock-option {
  background-color: #f8d7da !important;
  color: #721c24;
  font-weight: bold;
}

.chosen-results .no-stock-option:hover {
  background-color: #f5c2c7 !important;
}

/* Para elementos que contienen texto "Stock Bajo" - fallback */
.chosen-drop .chosen-results li[title*="Stock Bajo"] {
  background-color: #fff3cd !important;
  color: #856404;
  font-weight: bold;
}

/* Para elementos que contienen texto "Sin Stock" - fallback */
.chosen-drop .chosen-results li[title*="Sin Stock"] {
  background-color: #f8d7da !important;
  color: #721c24;
  font-weight: bold;
}

html {
  height: 100%;
  padding-bottom: 0px;
}

.content {
  scroll-behavior: smooth;
}

label {
  font-weight: normal;
}

.kind-column {
  display: flex;
  flex-wrap: wrap;
  height: 62px;
  justify-content: space-between;
  align-content: space-between;
}

.login-form {
  top: 30%;
  transform: translateY(-40%);
}

body.login-content:before {
  background: #cce7ff;
}

.form-group {
  margin-bottom: 16px;
}

.iv-map {
  height: 700px;
  margin-bottom: 30px;
}
.iv-map .image-container {
  width: 100%;
  height: 120px;
  background-position: center;
  background-size: cover;
}

.cursor-pointer {
  cursor: pointer;
}

.logo-container {
  height: 90px;
  background: url(../img/logo.svg) no-repeat left top;
  background-size: 80%;
  background-position-x: 20px;
  background-position-y: 20px;
}

.bgm-green {
  background-color: #21f4c3 !important;
}

.btn.bgm-green {
  color: black !important;
}

.bgm-bluegray {
  background-color: #76abff !important;
}

.bgm-pink {
  background-color: #ec4f4a !important;
}

#sidebar .main-menu {
    list-style: none;
    padding-left: 0;
    margin: 0 0 0 0;
}

.sub-menu.toggled > ul > li > a > i {
  margin-right: 8px !important;
}

#sidebar .main-menu > li > a {
  font-weight: 400;
}


.gm-style-iw {
  width: 350px !important;
  top: 15px !important;
  left: 0px !important;
  background-color: #fff;
  box-shadow: 0 1px 6px rgba(178, 178, 178, 0.6);
  border: 1px solid rgba(72, 181, 233, 0.6);
  border-radius: 2px 2px 10px 10px;
}
#iw-container {
  margin-bottom: 10px;
}
#iw-container .iw-title {
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 22px;
  font-weight: 400;
  padding: 10px;
  background-color: #4346da;
  color: white;
  margin: 0;
  border-radius: 2px 2px 0 0;
}
#iw-container .iw-content {
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  margin-right: 1px;
  padding: 15px 5px 20px 15px;
  max-height: 140px;
  overflow-y: auto;
  overflow-x: hidden;
}
.iw-content img {
  float: right;
  margin: 0 5px 5px 10px;
}
.iw-subTitle {
  font-size: 16px;
  font-weight: 700;
  padding: 5px 0;
}
.iw-bottom-gradient {
  position: absolute;
  width: 326px;
  height: 25px;
  bottom: 10px;
  right: 18px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}

.order-point {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  display: inline-block;
  line-height: 10px;
}

/***/
.leaflet-popup .leaflet-popup-content-wrapper {
  font-family: "Work Sans";
  border-radius: 0px;
  padding: 0px;
  padding-bottom: 1px;
  width: 301px;
}
.leaflet-popup .leaflet-popup-close-button,
.display-none {
  display: none;
}
.leaflet-popup .leaflet-popup-content {
  margin: 0px;
}

.leaflet-popup .order-image-container {
  height: 120px;
  background-size: cover;
  background-position-y: 30%;
}
.leaflet-popup .lv-title {
  font-size: 14px;
}

.leaflet-popup .col-xs-2 {
  width: 14.28%;
}

.leaflet-popup .col-md-2 {
  width: 14.28%;
}

.map-filter {
  width: 200px;
}

.lv-avatar.large {
  width: 150px;
  height: 150px;
  line-height: 150px;
}

.d-flex {
  display: flex !important;
}

textarea.addendum-text-area {
  height: 80px !important;
  padding: 5px 0 !important;
}

#remit-details-table div.ng-table-pager {
    display: none;
}

.dashboard-buttons-container {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: -52px;
  margin-bottom: 24px
}

.dashboard-card-title {
  margin-right: 14%;
}

.badge-pill {
  align-items: center;
  border: 1px solid #4346da;
  border-radius: 10rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16), 0 2px 10px rgba(0, 0, 0, 0.12);
  color: #4346da;
  display: flex;
  font-size: 16px;
  font-weight: 400;
  gap: 8px;
  line-height: 1;
  padding: 8px 16px;
  text-align: center;
}

.badge-pill i {
  font-size: 20px;
}

.pills-container {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-wrap: wrap;
}

.banner-buttons-container {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  justify-content: flex-end;
}

.banner-buttons-container a {
  font-size: 14px;
  font-weight: 500;
  text-wrap: nowrap;
  height: auto;
}

div.banner-warning {
  background-color: #FEF0E7;
}

div.banner-error {
  background-color: #FFCDD2;
}

div.banner-success {
  background-color: #E3FCF4;
}

div.banner-pwa {
  background-color: white;
  gap: 16px !important;
}

.banner-pwa-icon svg {
  fill: #4346da;
}

.banner-pwa-close-button {
  background: none;
  border: none;
  font-size: 20px;
  color: #666;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-pwa-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 600px;
  margin: 0 auto;
}

.install-app-icon {
  display: flex;
  align-items: center;
}

.install-app-icon svg {
  fill: white;
  width: 16px;
  height: 16px;
}

.banner-container {
  background-color: #e5ebfa;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 16px;
}

.banner-text-container {
  display: flex;
  flex: 2;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}

.report-header-container {
  display: flex;
  justify-content: space-between;
}

.report-header-container div {
  flex-wrap: wrap;
}

.bank-options-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px 0;
}

.bank-option {
  padding: 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.bank-option:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.bank-info {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.bank-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
}

.bank-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.bank-details {
  flex: 1;
}

.bank-details h4 {
  margin: 0 0 5px 0;
  font-weight: 500;
}

.bank-details p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.payment-summary {
  background-color: #f9f9f9;
  border-radius: 4px;
  height: 100%;
}

.summary-row {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.summary-label {
  font-weight: 500;
  margin-bottom: 5px;
}

.summary-value {
  font-size: 16px;
}

.invoice-list {
  width: 100%;
}

.invoice-item {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.invoice-item:last-child {
  border-bottom: none;
}

.action-buttons {
  margin-top: 25px;
}

.action-buttons .btn {
  margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .payment-summary {
    margin-top: 20px;
  }
  
  .col-sm-12 {
    width: 100%;
  }
}

/* Radio button styling */
.radio-container {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0;
  cursor: pointer;
}

.radio-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  margin-right: 10px;
  position: relative;
  height: 30px;
}

.radio {
  position: relative;
  margin: 0;
}

.radio input[type="radio"] {
  opacity: 0;
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
}

.radio .input-helper {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  z-index: 1;
}

.radio .input-helper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #5e9ca3;
  border-radius: 50%;
  transition: all 0.2s;
  box-sizing: border-box;
}

.radio .input-helper:after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  background-color: #5e9ca3;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s;
  box-sizing: border-box;
}

.radio input[type="radio"]:checked ~ .input-helper:after {
  transform: scale(1);
}

.disabled-banner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
}

@media (min-width: 960px) {
  div.banner-container {
    flex-direction: row;
    gap: 56px;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .dashboard-buttons-container {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
    margin-top: -86px;
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .leaflet-popup .leaflet-popup-content-wrapper {
    width: 210px !important;
  }

  .leaflet-popup .extra-info {
    visibility: hidden !important;
    height: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
  }

  .leaflet-popup .listview:not(.lv-lg):not(.lv-message) .lv-item {
    padding-left: 0px !important;
    padding-right: 12px !important;
  }

  .map-filter {
    width: 60px !important;
  }

  .map-filter .radio, .map-filter .checkbox {
    margin-bottom: 3px;
  }

  .dashboard-buttons-container {
    margin-top: 16px;
    margin-bottom: 16px;
    flex-direction: column;
  }

  h5.sloggan div.dashboard-buttons-container button {
    width: 100%;
  }

}

.fill-map {
  min-height: 100%;
  height: 100%;
  padding: 0px
}

#dashboard-map {
  height: 100%;
}


.menu-zmdi {
  vertical-align: super;
}

.menu-zmdi > a {
  color: white;
  margin: 3px 5px 3px 5px;
  text-align: center;
}

#profile-main .pmb-block {
  padding-top: 10px;
}

dl {
  margin-bottom: 5px;
}

.t-view[data-tv-type="activity"]:before {
  content: "\f24f";
  background: #00bcd4;
  box-shadow: 0 0 0 1px #00bcd4;
}
.t-view[data-tv-type="activity"]:after {
  background: #00bcd4;
}

.t-view[data-tv-type="remove"]:before {
  content: "\f252";
  background: #af313c;
  box-shadow: 0 0 0 1px #af313c;
}
.t-view[data-tv-type="remove"]:after {
  background: #af313c;
}

#top-search-wrap {
  background: white;
}

.lead-small {
  font-size: 20px;
}

.img-disabled {
  opacity: 0.4;
}

.listview .lv-supplies {
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}
.listview .lv-supplies > li {
  display: inline-block;
  padding: 2px 10px 3px;
  font-size: 12px;
  margin-top: 5px;
  margin-right: 2px;
  width: 30px;
  text-align: center;
}
.listview .lv-supplies > li:not(.info):not(.primary):not(.warning):not(.danger):not(.icon) {
  padding-left: 8px;
  padding-right: 8px;
  border: 1px solid #dedede;
  background: #ffffff;
  color: #5e5e5e;
}
.listview .lv-supplies > li.info {
  padding-left: 8px;
  padding-right: 8px;
  border: 1px solid #00bcd4;
  background: #ffffff;
  color: #00bcd4;
}
.listview .lv-supplies > li.primary {
  padding-left: 8px;
  padding-right: 8px;
  border: 1px solid #2196f3;
  background: #ffffff;
  color: #2196f3;
}
.listview .lv-supplies > li.warning {
  padding-left: 8px;
  padding-right: 8px;
  border: 1px solid #ffb74d;
  background: #ffffff;
  color: #ffb74d;
}
.listview .lv-supplies > li.danger {
  padding-left: 8px;
  padding-right: 8px;
  border: 1px solid #f44336;
  background: #ffffff;
  color: #f44336;
}

.listview .lv-supplies > li.icon {
  border: none;
  padding: 0px;
}

.listview .lv-supplies .lv-supplies-action {
  position: absolute;
  color: #FFF;
  font-style: normal;
  padding: 1px 5px;
  border-radius: 2px;
  right: 3px;
  top: -3px;
  font-size: 10px;
  font-weight: bold;
  -webkit-animation-name: wobble;
  animation-name: wobble;
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.map-supplies {
  height: 200px;
}

#notifications {
  position: fixed;
  background: #fff;
  padding: 20px 0;
  width: 300px;
  box-shadow: 0 0 10px rgba(51, 51, 51, 0.38);
  height: calc(100% - 65px);
  right: -320px;
  top: 65px;
  -webkit-transition: all;
  -o-transition: all;
  transition: all;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  z-index: 10;
  opacity: 0;
  filter: alpha(opacity=0);
  overflow: auto;
}
#notifications.toggled {
  right: 0;
  opacity: 1;
  filter: alpha(opacity=100);
}
.lv-img-xs {
   width: 18px;
   height: 18px;
}
.lv-body-notifications {
  overflow: auto;
  height: 430px;
}

.chosen-container {
  font-size: 15px;
  padding-top: 7px;
}

.notification .btn-shadow-off {
  box-shadow: none;
}

.dashboard-menu {
  position: absolute;
  margin-top: 10px;
  background: white;
  z-index: 1;
  right: 0;
  opacity: 0.9;
  filter: alpha(opacity=90);/* For IE8 and earlier */
}

.assignment-dropdown-menu {
  height: 430px;
  overflow-y: auto;
  overflow-x: hidden;
}

.assignment-list {
  width: 280px
}

.text-white {
  color: white;
}

.m-btn2 {
  z-index: 1;
  bottom: 100px;
  right: 40px;
  position: fixed !important;
}

.btn-float2 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 45px !important;
}
.btn-float2:not(.m-btn2) {
  position: absolute !important;
}
.btn-float2 i {
  font-size: 23px;
  -webkit-transition: all;
  -o-transition: all;
  transition: all;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}

.tm-close {
  font-size: 30px;
  color: white;
}

.alert {
  color: black;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
}

.easy-pie.main-pie .percent:not([class*="c-"]) {
  color: rgba(0,0,0,0.9) !important;
}

.dashboard-pie-chart .epc-item {
  padding: 0;
}

.dashboard-tabs > div > ul {
  border:rgba(12, 0, 51, 0.1);
}

.nav-tabs {
  border-bottom: 1.5px solid #4346da;
}

.dashboard-tabs {
  margin-bottom: 21px;
}

.alert-button-link {
  float: right;
  color: #4346da !important;
}

.alert.alert-danger.alert-dismissable.growl-animated {
  color: white;
  padding-top: 18px;
}
.alert.alert-danger.alert-dismissable.growl-animated button {
  color: white;
}

.alert.alert-success.alert-dismissable.growl-animated {
  color: white;
  padding-top: 18px;
}
.alert.alert-success.alert-dismissable.growl-animated button {
  color: white;
}


.nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus {
  border-bottom: 1.5px solid #4346da;
}

.dashboard-tabs div.tab-content {
  border-bottom: 1.5px solid #4346da;
  border-left: 1.5px solid #4346da;
  border-right: 1.5px solid #4346da;
  padding: 25px;
}

.dashboard-tabs .nav-tabs > li > a:hover {
  font-family: 'Work Sans', sans-serif;
  font-weight: bold;
  color: #4346da;
}

.dashboard-tabs .nav-tabs > li.active > a:focus {
  font-family: 'Work Sans', sans-serif;
  font-weight: bold;
  color: #4346da;
}


div#dashboard-invoices td.width-10 {
  width: 10%;
}

.break-item-description {
  word-break: break-all;
}

.invoice-history .t-view[data-tv-type="text"]:before {
  content: "";
  background: #4854da;
  box-shadow: 0 0 0 1px #4854da;
}

.invoice-history .t-view[data-tv-type="text"]:after {
  background: #4854da;
}

.history-timeline:last-child .t-view:after {
  display: none;
}

.invoice-history .t-view:before,
.invoice-history .t-view:after {
  top: 30px !important;
}

.invoice-history .t-view:before {
  left: -66px !important;
  width: 32px !important;
  height: 32px !important;
  font-family: "Material-Design-Iconic-Font";
  font-size: 18px;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  align-items: center;
}

.invoice-history .t-view.sent:before {
  content: "\f194" !important;
}

.invoice-history .t-view.sent-dgi:before {
  content: "\f303" !important;
}

.invoice-history .t-view.accepted:before {
  content: "\f26b" !important;
}

.invoice-history .t-view.rejected:before {
  content: "\f134" !important;
  background: #e4245d;
}

.invoice-history .t-view.waiting:before {
  content: "\f333" !important;
}

.invoice-history .t-view.whatsapp-icon:before {
  content: "\f405" !important;
  color: white;
  background: #25D366;
}

.history-timeline .t-view {
  margin-bottom: 0px;
}

.invoice-history .timeline {
  padding-top: 20px;
}

.invoice-history .t-view {
  border: none;
}

.invoice-history .t-view.bottom-border {
  border-bottom: 1px solid #eee;
}

.label-success {
  color: #252240 !important;
}

.contexts-container {
  display: flex !important;
  gap: 5px;
}

.m-b-16 {
  margin-bottom: 16px !important;
}

.m-t-16 {
  margin-top: 16px !important;
}

.table-label-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
}

.background-danger {
  border-bottom: 0.1px solid #e4245d;
  background: #f2dede !important;
}

.table-cfe-id {
  width: fit-content;
  text-wrap: nowrap;
}

/* Animación pulse para el círculo azul */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    -webkit-box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  70% {
    -webkit-transform: scale(1.05);
    -webkit-box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    -webkit-transform: scale(1);
    -webkit-box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* Círculo azul con animación pulse */
.tab-pulse-indicator {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background-color: rgb(59 130 246);
  border-radius: 50%;
  animation: pulse 2s infinite;
  -webkit-animation: pulse 2s infinite;
  z-index: 10;
}

/* Posición relativa para el contenedor de la pestaña */
.dashboard-tabs .nav-tabs > li > a {
  position: relative;
}

.client-account-header-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

.invoice-accordion .panel-heading {
  background-color: white !important;

}

.invoice-accordion .panel-heading h4.panel-title a {
  margin: 0;
  line-height: 100%;
  font-size: 17px;
  font-weight: 400;
  position: relative;
  padding: 0;
}

/* Icono del acordeón */
.invoice-accordion .panel-heading h4.panel-title a::after {
  content: '+'; /* Signo más cuando está cerrado */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg) scale(1);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  font-size: 24px;
  color: #666;
  opacity: 1;
}

/* Signo + cuando el acordeón está cerrado */
.invoice-accordion .panel-group .panel:not(.panel-open) .panel-heading h4.panel-title a::after,
.invoice-accordion .panel-heading[aria-expanded="false"] h4.panel-title a::after {
  content: '+';
  transform: translateY(-50%) rotate(0deg) scale(1);
  opacity: 1;
}

/* Signo - cuando el acordeón está abierto */
.invoice-accordion .panel-group .panel.panel-open .panel-heading h4.panel-title a::after,
.invoice-accordion .panel-heading[aria-expanded="true"] h4.panel-title a::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg) scale(1.1);
  opacity: 1;
  color: #444;
}

/* Animación adicional para el hover */
.invoice-accordion .panel-heading h4.panel-title a:hover::after {
  transform: translateY(-50%) rotate(0deg) scale(1.15);
  color: #333;
}

/* Animación suave para el contenido del acordeón */
.invoice-accordion .collapsing {
  transition-duration: 0.6s !important;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Animación suave para el panel-collapse */
.invoice-accordion .panel-collapse {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Suavizar la transición del panel-body */
.invoice-accordion .panel-body {
  transition: padding 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.associate-receipts-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.associate-receipts-buttons label.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media print {
  html, body {
    font-size: 12px;
    margin: 15px;
  }
  h1 { font-size: 20pt !important; }
  h2 { font-size: 18pt !important; }
  h3 { font-size: 16pt !important; }
  small { font-size: 14pt !important; }
}

.cfe img {
  height: 128px;
  width: 128px;
}

.variables{
  --brand-primary:             #4346da;
  --brand-success:             #21f4c3;
  --brand-info:                #cce7ff;
  --brand-warning:             #ffc000;
  --brand-danger:              #e4245d;
  --app-gray:                  #0c0033;
}

.me-alert-info {
  color: #cce7ff;
  background-color: #cce7ff;
}

.me-alert-warning {
  color: #ffc000;
  background-color: #ffc000;
}

.me-alert-danger {
  color: #e4245d;
  background-color: #e4245d;
}

.me-alert-success {
  color: #21f4c3;
  background-color: #21f4c3;
}

.background-clear {
  background-color: transparent !important;
}

.white {
  color: white !important;
}

.table-icon {
  height: 30px;
  width: 30px;
}

[data-toggle=buttons]:not(.btn-group--colors)>.btn.active {
    background-color: #4346da;
    color: #FFF;
}

.card-shadow {
  border-radius: 3px;
  box-shadow: 0 8px 16px 0 rgba(12, 0, 51, 0.1);
}

.aligned-left {
  text-align: left;
}

.right {
  float:right;
}

.pymo-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.card-body+.listview {
  margin-top: -.9rem;
}

/* .accepted {
  color: #00ed90;
}

.dashboard {
  color: #fe4c3a;
}

.processing {
  color: #00c5e4;
} */

.listview:not(.listview--block) .listview__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.listview__item {
  padding: 1.25rem 2.2rem;
  transition: background-color .3s;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.listview:not(.listview--inverse) .listview__item--active, .listview:not(.listview--inverse).listview--hover .listview__item:hover, .listview:not(.listview--inverse).listview--striped .listview__item:nth-child(even) {
  background-color: #f9f9f9;
}
.listview:not(.listview--block) .listview__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.listview__item {
  padding: 1.25rem 2.2rem;
  transition: background-color .3s;
}

.listview__actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-header.custom-padding {
  padding: 23px 25px 0px 25px;
}

.item-padding {
  padding: 16px 24px;
}

.listview__content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
}

.listview__heading {
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
  position: relative;
}

.listview__heading+p {
  margin: .2rem 0 0;
  font-size: .95rem;
}

.listview__content > p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: black;
  margin-bottom: 0;
  font-weight: 300;
}

.listview__attrs {
  -webkit-box-flex: 1;
  -ms-flex: 1 100%;
  flex: 1 100%;
  margin-top: .5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.listview__attrs>span {
  padding: .55rem .7rem;
  border: 1px solid #e9ecef;
  display: inline-block;
  line-height: 100%;
  font-size: .9rem;
  margin: .2rem .25rem .055rem 0;
  background-color: #FFF;
}

.listview__img {
  height: 3rem;
  border-radius: 50%;
  vertical-align: top;
  margin: 0 1.2rem 0 0;
}

.shadow-border-radius {
  border-radius: 3px;
  box-shadow: 0 8px 16px 0 rgba(12, 0, 51, 0.1);
}

.welcome {
  font-family: 'Work Sans', sans-serif;
  font-size: 24px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
}

.sloggan {
  font-family: 'Work Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  color: #333;
  margin-top: -4px;
}

.card-subtitle {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #333;
}

.icon-container {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.gray-light-border-bottom {
  border-bottom: 1px solid #ddd;
  height: 20px;
}

.show-button {
  border: none;
  background: none;
  padding: 0;
  text-decoration: underline;
  color: blue;
}

.checkbox-container {
 display: flex;
 flex-direction: column;
 justify-content: center;
 height: 80px;
}

#credit-notes-form,
#debit-notes-form {
  width: 100% !important;
}

.checkbox.rounding {
  margin-top: 0;
}

.billed-list-header {
  flex: 1;
  display: flex;
  align-content: center;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.billed-list-header > div {
  margin-top: 10px;
}

.horizontal-padding {
  padding-left: 20px;
  padding-right: 20px;
}

.p-t-20 {
  padding-top: 20px;
}

.flex-table-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.grid-daily-totals {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
}

.eye-color, .eye-color.active, .eye-color.focus {
  color: #adadad;
}

.eye-color:hover {
  color: #000 !important;
}

.daily-h3-display {
  display: flex;
  justify-content: flex-end;
}

.subtitle {
  font-family: "Work Sans";
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  color: #000;
}

.title {
  font-family: "Work Sans" !important;
  font-size: 24px !important;
  font-weight: normal !important;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  color: #000 !important;
}

.daily-count {
  width: 100%;
  display: grid;
}

.label-dark {
  background-color: #252240;
}

table.daily-report > tbody > tr > td {
  padding: 10px !important;
}

table.daily-report > thead > tr > th:first-child {
  padding-left: 10px !important;
}

div.company-invoices-config {
  display: flex;
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.alert-info-icon {
  color: #2196F3;
}

.alert-warning-icon {
  color: #FFC000;
}

.alert-emergency-danger-icon {
  color: #E4245D;
}

.overflow-visible {
  overflow-y: scroll !important;
}

.disable-button {
  pointer-events: none;
}

.not-allowed {
  cursor: not-allowed;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  background-color: white;
}

.break-label {
  display: block;
  word-break: break-word;
  white-space: normal;
  max-width: 75%;
}

@media (min-width: 1200px) {
  .full-width-table {
    min-width: calc(100% - 100px) !important;
  }
  .no-padding {
    padding: 0 !important;
  }
}

.category-item {
  display: flex;
  justify-content: center;
}

.category-chosen #category_chosen,
.tax-chosen #tax_chosen,
.cfe-type-chosen #cfe_type_chosen {
  width: 100% !important;
}

.filter-date .date-picker.input-group > div {
  padding-right: 0px !important;
}

.accountant-tbody {
  font-size: 12px !important;
}

.receipt-notes-header {
  white-space: pre;
}

#dashboard-invoices > div {
  display: none;
}

#dashboard-invoices > table td {
  padding-top: 5px !important;
  padding-right: 5px !important;
  padding-bottom: 5px !important;
}

.d-inline-block {
  display: inline-block;
}

.repeat-creation {
  display: inline-block;
  margin-left: 30px;
}

.switch-display {
  display: flex;
}

.popover-cursor * {
  cursor: pointer;
}

.dashboard-documents {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

.invoice-details-container .nav-tabs > li {
  margin-bottom: -2px;
}

.accountant-table th {
  font-size: 13px;
}

.accountant-table tbody tr td > div > span.label.accountant-doc-type {
  display: block;
  word-wrap: break-word;
  white-space: normal;
  max-width: 80px;
}

.addendum-info {
  word-break: break-word;
  white-space: pre-wrap;
}

.mp-link:hover {
  color: #4346da !important;
  text-decoration: underline;
}

.payment-status-msg > .alert.me-alert-success,
.payment-status-msg > .alert.me-alert-danger {
  max-width: 15%;
  margin: 0 auto;
  text-align: center;
  border-radius: 10px;
  padding: 5px;
}

.width-80-center {
  width: 80%;
  margin: 0 auto;
}

.width-90-center {
  width: 90%;
  margin: 0 auto;
}

.header-container {
  height:40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}

.help-text {
  display:flex;
  width:100%;
  margin-bottom:20px;
}

.help-text small {
  font-size: 14px;
}

.empty-state-padding {
  padding: 30px 10px;
  width: 100%;
}

.empty-state-padding h2 {
  color: #5E5E5E;
  text-align: center;
  font-size: 14px;

}

.clear-gray-bg {
  background-color: #f7f7f7;
}

.dashboard-total-right {
  margin-right: 10px;
  display: inline-block;
}

.dashboard-total-both {
  margin-left: 10px;
  margin-right: 10px;
  display: inline-block;
}

.dashboard-total-left {
  margin-left: 10px;
  display: inline-block;
}

.user-tabset {
  padding: 25px 25px 0;
}

.user-tabset > ul {
  border: none
}

.user-tabset .nav-tabs > li.active > a {
  background-color: transparent;
  border: none;
}

.picture-container {
  display: flex;
  justify-content: center;
  position: relative;
}

#uploader {
  cursor: pointer;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: 1;
  width: 100%;
}

#company-logo-uploader {
  display: none;
  position: absolute;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.30);
  padding: 5px 5px 4px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

#company-logo-uploader span {
  padding-left: 5px;
}

#uploader:hover + #company-logo-uploader {
  display: flex;
}

#configuration-header {
  padding: 30px 0 0;
}

.billed-pills {
  min-width: 30%;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-grow: 1;
  flex-wrap: wrap;
}

.billed-pills span {
  white-space: nowrap;
}

.billed-date-filter {
  min-width: 33%;
  flex-grow: 1;
}

.billed-filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.due-date-days {
  font-weight: 600;
  font-size: 12px;
}

/* Invoice items grid */

@media (min-width: 911px) {
  #items-form {
    display: grid;
    grid-template-columns: 15% auto;
    grid-template-rows: auto auto;
    grid-row-gap: 20px;
  }

  form#items-form > .switch-button {
    grid-column-start: 1;
    grid-row-start: 1;
    grid-row-end: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
    width: 170px;
  }

  .switch-button > .btn-group > button {
    width: 170px;
  }

  form#items-form > .first-row {
    grid-column-start: 2;
    display: grid;
    grid-template-columns: 30% 30% 6% 6% 20%;
    grid-column-gap: 2%;
  }


  form#items-form > .first-row-alternative {
    grid-template-columns: 40% 10% 10% 30% !important;
  }

  .description-form {
    grid-column-start: 2;
    width: 98%;
  }

  .description-form-alternative {
    grid-column-start: 1;
    grid-column-end: 5;
    margin-top: 20px;
    width: 100%;
  }

  .description-form-alternative.description-form-newItem {
    grid-column-end: 4;
  }

  .form-select > div {
    width: 100% !important;
  }

  .form-button {
    grid-column-start: 2;
    margin-left: auto;
    margin-right: 2%;
  }

  /**************** Credit notes and Debit notes form *****************/

  .notes-new {
    display: grid;
    grid-template-columns: 10% 30% 15% 10% 30%;
    grid-column-gap: 1%;
    justify-content: center;
  }

  .notes-new #client_chosen {
    width: 100%;
  }

  .notes-new .notes-description {
    grid-column-start: 1;
    grid-column-end: 4;
  }

  .notes-new .receipt-description {
    grid-column-start: 1;
    grid-column-end: 3;
  }

  .notes-buttons {
    margin-top: 16px;
    margin-left: 16px;
  }

  .invoice-details-row {
    display: grid;
    grid-template-columns: 40% 25% 15% 12%;
    grid-column-gap: 2%;
    grid-template-rows: repeat(3, auto);
    grid-row-gap: 8px;
    justify-content: center;
  }

  .invoice-details-row > :before {
    display: none;
  }

  .invoice-details-row > :nth-child(1) {
    grid-column-start: 1;
  }

  .invoice-details-row .last {
    grid-column-start: 3;
  }

  .date-container {
    display: flex;
    gap: 8px;
  }

  .date-container .date-picker .input-group-addon {
    vertical-align: middle;
    padding-bottom: 15px;
  }

  .date-container > div {
    flex: 1;
  }

  /******************* Credit and Debit notes details **************/

  .details-notes {
    display: grid;
    grid-template-columns: repeat(3, auto);
  }

  .details-columns {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: repeat(6,auto);
    justify-content: center;
    grid-column-gap: 3%;
  }

  .details-columns.first {
    grid-column-start: 1;
  }

  .company-info {
    display: grid;
    grid-template-columns: repeat(2, 47%);
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 3%;
  }

  .company-checks {
    display: grid;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-template-columns: repeat(4, auto);
    grid-template-rows: auto;
  }

  .daily-count {
    grid-template-columns: 30% 65%;
    grid-column-gap: 5%;
  }

  .m-h-450 {
    min-height: 450px !important;
  }

  .p-absolute-desktop {
    position: absolute;
  }

  .b-0 {
    bottom: 0 !important;
  }

  .tax-reg-input {
    width: 50% !important;
  }

  .tax-reg-container {
    display: flex;
    flex-direction: column;
  }

  .tax-reg-container .tax-reg-inputs-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
}

@media (max-width: 900px) {

  .timeline {
      padding-left: 30px !important;
  }

  #items-form {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: repeat(4, auto);
    grid-row-gap: 20px;
    padding: 0 15px;
  }

  form#items-form > .switch-button {
    grid-column-start: 1;
    grid-row-start: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0;
    width: min-content;
  }

  form#items-form > .first-row {
    grid-row-start: 2;
    display: grid;
    grid-template-rows: repeat(5, auto);
    grid-row-gap: 20px;
  }

  form#items-form > .first-row-alternative {
    grid-template-rows: repeat(4, auto) !important;
  }

  .description-form-alternative.description-form-newItem {
    grid-row-start: 2;
    width: 100%;
  }

  .description-form,
  .description-form-alternative {
    grid-row-start: 3;
    width: 100%;
  }

  .form-select > div,
  .invoice-details-row > div {
    width: 100% !important;
  }

  .form-button {
    grid-row-start: 4;
    display: block;
    margin-left: auto;
  }

  /**************** Credit notes and Debit notes form *****************/

  .notes-new {
    display: grid;
    grid-template-columns: 100%;
    grid-row-gap: 20px;
    padding: 0 15px;
  }

  .notes-new #client_chosen {
    width: 100%;
  }

  .notes-buttons {
    margin-top: 16px;
    margin-left: 16px;
    text-align: center;
  }

  .invoice-details-row {
    display: grid;
    grid-template-columns: 100%;
    padding: 0 15px;
  }

  .invoice-details-row > :before {
    display: none;
  }

  .invoice-details-row .rounding > div {
    padding-top: 0 !important;
  }
  .invoice-details-row .last {
    margin-top: 15px;
  }

  div.toggle-switch.pull-right {
    float: left !important;
  }

  .daily-count {
    grid-template-columns: 100%;
  }

  .overflow-table-block {
    display: block;
    overflow: auto;
  }

  .card {
    min-width: 0px !important;
    width: 100%;
  }

  .invoice-details-container .tab-content {
    padding: 0 !important;
  }

  .invoice-details-container {
    overflow: scroll;
  }

  .labels-container .label-break {
    margin-top: 5px !important;
    display: block;
    word-break: break-word;
    white-space: normal;
  }

  .invoice-history .t-view.margin-bottom-0 {
    margin-bottom: 0px;
  }

  .t-view.none-shadow {
    box-shadow: none;
  }

  .invoice-history .timeline {
    margin: 0 !important;
  }

  .invoice-history .t-view:before {
    top: 0 !important;
    left: 0px !important;;
    width: 35px !important;;
    height: 35px !important;;
  }

  .history-timeline .tv-body {
    padding-top: 0 !important;
    margin-left: 10%;
  }

  .invoice-history .t-view:after {
    left: 17px !important;
    top: -1px !important;
  }

  .invoice-history .t-view.bottom-border {
    border: none !important;
  }

  .disp-flex-responsive {
    display: flex;
  }

  .dashboard-documents {
    flex-direction: column;
  }

  #dashboard-invoices {
    overflow-y: scroll;
  }

  #dashboard-invoices > table > thead > tr > th:first-child,
  .dashboard-cfe-info {
    padding-left: 5px !important;
  }

  h5.sloggan {
    display: flex;
    flex-direction: column;
  }

  h5.sloggan button {
    margin-top: 10px !important;
    float: left;
    width: 50%;
  }

  .m-t-15-mobile {
    margin-top: 15px;
  }

}

@media (max-width: 768px){
  .timeline {
    padding-left: 8px !important;
  }

  .pl-0-mobile {
    padding-left: 0 !important;
  }

  .pr-0-mobile {
    padding-right: 0 !important;
  }

  .width-80-center {
    width: 100% !important;
    padding: 0 16px;
  }

  .display-none-mobile {
    display: none !important;
  }

  .dashboard-total-right,
  .dashboard-total-left,
  .dashboard-total-both {
    margin: 0 !important;
  }
}

@media (min-width: 911px) and (max-width: 1300px)  {
  form#items-form > .first-row {
    grid-column-start: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    grid-column-gap: 25px !important;
    grid-row-gap: 25px !important;
    grid-template-rows: 1fr 1fr 1fr;
  }

  #items-form {
    grid-template-columns: auto !important;
    grid-column-gap: 1% !important;
  }

  .description-form-alternative {
    grid-column-start: 1 !important;
    grid-column-end: 3 !important;
    grid-row-start: 3 !important;
    margin-top: 0px !important;
  }

  .mobile-m-t-0 {
    margin-top: 0 !important;
  }

  .form-button {
    grid-column-start: 1 !important;
    margin-right: 0 !important;
    margin-top: 20px;
  }

  form#items-form > .switch-button {
    width: 340px !important;
  }

  .two-columns {
    grid-column: auto / span 2 !important;
  }

  .four-columns {
    grid-column: auto / span 4 !important;
  }
}

@media print {

  @page {
    size: A4; /* DIN A4 standard, Europe */
    margin:0;
    margin-top: 15mm;
    margin-bottom: 30mm;
  }

  html, body {
    width: 210mm;
    height: 292mm;
    margin: 0 0 0 5px;
  }

  body {
    padding-top:15mm;
  }

  body #content {
    padding: 0;
  }

  /* Accountant print styles */

  .container {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  ul.actions {
    display: none;
  }

  div.block-header *,
  small.accountant-small,
  .subtitle {
    font-size: 12pt !important;
  }

  div.accountant-totals {
    float: none !important;
    width: 100%;
    padding: 0;
  }

  div.accountant-totals > div {
    min-height: 0 !important;
  }

  div.accountant-totals > div > div {
    text-align: left !important;
    padding: 0 !important;
  }

  table.accountant-table th {
    padding: 0 1px !important;
    text-align: center;
  }

  table.accountant-table, table.accountant-table th, table.accountant-table tr, table.accountant-table tr.accountant-tr > td,
  table.daily-count-table, table.daily-count-table th, table.daily-count-table tr, td.daily-count-td {
    border: 1px solid black !important;
  }

  table.accountant-table > tbody.accountant-tbody > tr.accountant-tr > td {
    padding: 0 !important;
    text-align: center;
    font-size: 80%;
  }

  table.accountant-table > tbody.accountant-tbody > tr.accountant-tr > td span {
    border: none !important;
    background: none !important;
  }

  table.accountant-table > tbody.accountant-tbody > tr.accountant-tr > td span span, h3.float-n span {
    float: none !important;
    word-spacing: -5px;
  }

  table.daily-report > tbody > tr > td {
    padding: 0px !important;
  }

  table.daily-report > thead > tr > th:first-child {
    padding-left: 0px !important;
  }

  h2.horizontal-padding {
    padding: 0;
  }

  h3.float-n span, h3.text-white {
    font-size: 12pt !important;
  }

  table.accountant-table > thead > tr > th,
  h2.text-white,
  small.accountant-small,
  h2.company-name {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
  }

  th.currency span,
  br.d-n,
  th.rounding span,
  .print-d-n {
    display: none;
  }

  .d-inline * {
    display: inline;
  }

  th.rounding:after {
    content: "RED";
  }

  div.flex-table-cell, td.client {
    padding: 2px 0px 2px 3px !important;
    width: 60px;
  }

  h2.text-white {
    font-size: 17pt !important;
    margin-bottom: 8px !important;
  }

  td.discount, td.taxes-amount, td.taxes-name, td.accountant-total {
    width: 10%;
  }

  div.flex-table-cell.doc-type,
  td.table-cell-state span {
    max-width: 75px !important;
  }

  div.flex-table-cell span,
  td.table-cell-state span {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: normal;
    text-align: left;
    white-space: normal;
  }

  table.daily-report {
    font-size: 11px !important;
  }

  small.accountant-small:after {
    content: ":";
  }

  .bgm-bluegray {
    background: none !important;
  }

  div.accountant-totals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid black;
  }

  h3.accountant-h3-display,
  h3.daily-h3-display {
    display: inline-block;
    padding: 0 !important;
  }

  div.p-t-20, small.p-r-10 {
    padding: 0 !important;
  }

  .daily-count {
    grid-template-columns: 100%;
  }

  .print-padding {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .table.table-striped.daily-count-table {
    margin-bottom: 30px !important;
  }

  td.daily-count-td {
    text-align: center;
  }

  .accountant-table th {
    font-size: 10px;
  }

  .label {
    font-size: 85%;
  }
}

.pointer {
  cursor: pointer;
}

.config-contexts-table th {
  font-size: 12px;
}

.config-contexts-table tbody tr td {
  white-space: normal;
}

.config-contexts-table tbody tr td .special-cae-id {
  width: 95%;
}

.link-disabled {
  cursor: not-allowed;
  opacity: .5;
}

.notifications-container {
  width: 400px !important;
}

.alert {
  margin-bottom: 1rem;
}

.alert-link {
  text-decoration: none;
}

.alert-link:hover {
  text-decoration: underline;
}

.actions > li > a, .actions > a {
  width: 34px !important;
  height: 34px !important;
} 

.flex-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.flex-header h2 {
  font-size: 15px;
  color: #000;
  margin: 0;
  font-weight: 400;
  text-transform: uppercase;
}

.tm-help {
  display: flex;
  align-items: center;
}

/* Add this to your CSS file */
.payment-option-box {
  background-color: #f9f9f9;
  border-radius: 4px;
  padding: 15px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.payment-option-box h3 {
  margin: 0;
  font-weight: 500;
}

.fg-line.fg-toggled:after {
  display: none;
}

.install-app-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.install-app-button.help {
  position: relative !important;
  right: 0 !important;
  top: 0 !important;
}
  
#category_chosen.chosen-container .chosen-results > li:not(.disabled-result):not(.result-selected):not(.group-result):hover {
  background-color: #fff;
}

.hover-no-result-button .chosen-container .chosen-results > li:not(.disabled-result):not(.result-selected):not(.group-result) > button:hover {
  background-color: #e4e4e4;
}

.input-group .input-group-addon {
  padding-top: -2px;
}

/* Styles for text input clear functionality */
.input-with-clear {
    position: relative;
}

.clear-input-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 16px;
    z-index: 2;
    transition: color 0.2s ease;
}

.clear-input-icon:hover {
    color: #666;
}

.input-with-clear .form-control {
  padding-left: 4px;
}

/* Unpaid Invoices Report Styles */
.card-box {
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #e3e3e3;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.card-box:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.shadow-border-radius {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

/* Client header hover effect */
.card-header[ng-click] {
    transition: background-color 0.2s ease;
}

.card-header[ng-click]:hover {
    background-color: #f5f5f5;
}

/* Table improvements */
.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

.table th {
    border-top: none;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Clients Account Table Header Improvements */
.clients-account-table th {
    background: #f8f9fa !important;
    color: #374151 !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 12px 8px !important;
    border-bottom: 1px solid #e5e7eb !important;
}

/* Specific width improvements for clients account table */
.clients-account-table th:nth-child(1) { /* Name */
    width: 18% !important;
    min-width: 140px;
}

.clients-account-table th:nth-child(2) { /* Business Name */
    width: 20% !important;
    min-width: 160px;
}

.clients-account-table th:nth-child(3) { /* RUT/Document */
    width: 12% !important;
    min-width: 100px;
}

.clients-account-table th:nth-child(4) { /* Saldo UYU */
    width: 12% !important;
    min-width: 100px;
    text-align: right !important;
}

.clients-account-table th:nth-child(5) { /* Saldo USD */
    width: 12% !important;
    min-width: 100px;
    text-align: right !important;
}

.clients-account-table th:nth-child(6) { /* Otras Monedas */
    width: 10% !important;
    min-width: 80px;
    text-align: center !important;
}

.clients-account-table th:nth-child(7) { /* WhatsApp */
    width: 8% !important;
    min-width: 80px;
    text-align: center !important;
}

.clients-account-table th:nth-child(8) { /* Email */
    width: 8% !important;
    min-width: 80px;
    text-align: center !important;
}

/* Table body improvements */
.clients-account-table td {
    padding: 12px 8px !important;
    vertical-align: middle !important;
}

.clients-account-table td:nth-child(1) { /* Name */
    font-weight: 500 !important;
    color: #111827 !important;
}

.clients-account-table td:nth-child(2) { /* Business Name */
    color: #6b7280 !important;
}

.clients-account-table td:nth-child(3) { /* RUT/Document */
    color: #6b7280 !important;
    font-family: 'Courier New', monospace !important;
    font-size: 13px !important;
}

.clients-account-table td:nth-child(4),
.clients-account-table td:nth-child(5) { /* Saldo UYU & USD */
    color: #dc2626 !important;
    font-weight: 600 !important;
    text-align: right !important;
}

.clients-account-table td:nth-child(6) { /* Otras Monedas */
    color: #6b7280 !important;
    font-size: 12px !important;
    text-align: center !important;
}

.clients-account-table td:nth-child(7),
.clients-account-table td:nth-child(8) { /* WhatsApp & Email */
    text-align: center !important;
}

/* Contact links styling */
.clients-account-table .input-group-addon {
    background: none !important;
    border: none !important;
    padding: 4px 8px !important;
    color: #6366f1 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}

.clients-account-table .input-group-addon:hover {
    background: #f3f4f6 !important;
    color: #4f46e5 !important;
}

.clients-account-table .input-group-addon i {
    margin-right: 4px !important;
}

/* ng-table sortable headers - universal styles */
.table th[data-title-text] {
    cursor: default !important;
}

.table th[data-title-text].sortable {
    cursor: pointer !important;
    user-select: none !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}

.table th[data-title-text].sortable:hover {
    background-color: #f3f4f6 !important;
    color: #6366f1 !important;
}

/* Sort icons for sortable headers */
.table th[data-title-text].sortable:after {
    content: "\f2c7" !important; /* zmdi-sort */
    font-family: "Material Design Iconic Font" !important;
    margin-left: 6px !important;
    opacity: 0.5 !important;
    font-size: 12px !important;
    color: #9ca3af !important;
}

/* Active sort states */
.table th[data-title-text].sortable.sort-asc:after {
    content: "\f35b" !important; /* zmdi-caret-up */
    opacity: 1 !important;
    color: #6366f1 !important;
}

.table th[data-title-text].sortable.sort-desc:after {
    content: "\f35a" !important; /* zmdi-caret-down */
    opacity: 1 !important;
    color: #6366f1 !important;
}

.table th[data-title-text].sortable.sort-asc,
.table th[data-title-text].sortable.sort-desc {
    background-color: #f3f4f6 !important;
    color: #6366f1 !important;
}

/* ng-table sortable headers for clients-account-table (backward compatibility) */
.clients-account-table th[data-title-text] {
    cursor: default !important;
}

.clients-account-table th[data-title-text].sortable {
    cursor: pointer !important;
    user-select: none !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}

.clients-account-table th[data-title-text].sortable:hover {
    background-color: #f3f4f6 !important;
    color: #6366f1 !important;
}

/* Sort icons for sortable headers */
.clients-account-table th[data-title-text].sortable:after {
    content: "\f2c7" !important; /* zmdi-sort */
    font-family: "Material Design Iconic Font" !important;
    margin-left: 6px !important;
    opacity: 0.5 !important;
    font-size: 12px !important;
    color: #9ca3af !important;
}

/* Active sort states */
.clients-account-table th[data-title-text].sortable.sort-asc:after {
    content: "\f35b" !important; /* zmdi-caret-up */
    opacity: 1 !important;
    color: #6366f1 !important;
}

.clients-account-table th[data-title-text].sortable.sort-desc:after {
    content: "\f35a" !important; /* zmdi-caret-down */
    opacity: 1 !important;
    color: #6366f1 !important;
}

.clients-account-table th[data-title-text].sortable.sort-asc,
.clients-account-table th[data-title-text].sortable.sort-desc {
    background-color: #f3f4f6 !important;
    color: #6366f1 !important;
}

/* Clients table width adjustment */
.clients-account-table {
    width: 100%;
    table-layout: auto;
}

/* Card styling overrides */
.tremor-card {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: white !important;
    box-shadow: none !important;
}

/* Summary cards */
.summary-card-icon {
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-card-icon.debt {
    background: #fee2e2;
}

.summary-card-icon.companies {
    background: #dbeafe;
}

.summary-card-icon.records {
    background: #f3e8ff;
}

.opacity-50 {
    opacity: 0.5 !important;
}

.btn-group .btn {
  transition: all 0.2s ease;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 500;
}

.help {
  right: 64px !important;
  top: 0 !important;
  text-align: center !important;
}

/* Modern Account Status Card Styles */
.account-status-card {
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  height: 100%;
}

.account-status-header {
  padding: 24px;
  padding-bottom: 16px !important;
}

.account-status-title {
  color: #1f2937;
  font-size: 20px;
  font-weight: 600;
}

.status-subtitle {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
  margin-top: 4px;
}

.account-status-body {
  padding: 24px;
  padding-top: 0px;
}

.status-metrics-container {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.status-metric-box {
  background: white;
  border-radius: 2px;
  padding: 16px;
  border: 1px solid #f3f4f6;
  transition: all 0.2s ease;
  flex: 1;
}

.metric-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.metric-icon-box.pending {
  background: #fef2f2;
}

.metric-icon-box.pending i {
  color: #dc2626;
  font-size: 16px;
}

.metric-icon-box.due-date {
  background: #fef3c7;
}

.metric-icon-box.due-date i {
  color: #f59e0b;
  font-size: 16px;
}

.metric-label {
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.metric-value {
  font-size: 20px;
  font-weight: 600;
  margin: 8px 0 4px;
}

.metric-value.danger {
  color: #dc2626;
}

.metric-value.success {
  color: #10b981;
}

.metric-value.warning {
  color: #f59e0b;
  font-size: 16px;
}

.metric-value.muted {
  color: #9ca3af;
  font-size: 16px;
}

.metric-subtext {
  color: #9ca3af;
  font-size: 13px;
  margin-top: 4px;
}

.view-full-btn {
  border: 1px solid #6366f1;
  background: none;
  box-shadow: none;
  color: #6366f1;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
}

/* Media query to handle the problematic range between 992px and 1002px */
@media (min-width: 992px) and (max-width: 1200px) {
  .status-metrics-container {
    flex-direction: column;
    gap: 12px;
  }
  
  .status-metric-box {
    width: 100%;
  }
  
  .metric-value {
    font-size: 20px;
  }
  
  .metric-label {
    font-size: 11px;
  }
}
