/*Custom CSS archive for changes in style*/

.optionsTenant {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
}

.logoTenant {
  width: auto;
  height: 40px;
}

.placa {
  font-size: 3rem !important;
  text-transform: uppercase;
}

.hidden {
  display: none;
}

.layout-px-spacing.dashplaca {
  min-height: calc(50vh - 187px) !important;
}

.btn.btn-outline-primary.w-100.p-2.active p {
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;
}


/*sidebar*/
.fa-1x {
  font-size: 1.5em;
  line-height: 0.75em;
  vertical-align: -.0667em;
}

.fa-15x {
  font-size: 1.5em;
  line-height: 0.75em;
  vertical-align: -.0667em;
}

.fa-2x {
  font-size: 2em;
  line-height: 0.75em;
  vertical-align: middle;
}

.fa-3x {
  font-size: 3em;
  line-height: 0.75em;
  vertical-align: -.0667em;
}

.fa-4x {
  font-size: 4em;
  line-height: 0.75em;
  vertical-align: -.0667em;
}

.fa-5x {
  font-size: 5em;
  line-height: 0.75em;
  vertical-align: -.0667em;
}

.alertDisplay {
  position: absolute;
  top: 0;
  height: 10px;
  width: 10px;
  border-radius: 10px;
}

/* Bootstrap 5 Collapsible Sidebar Styles */
.main-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  /* Ensure full width */
  overflow-x: hidden;
}

.sidebar-wrapper {
  width: 260px;
  min-width: 260px;
  background-color: #fff !important;
  transition: all 0.3s ease;
  z-index: 1030;
  overflow-y: auto;
  overflow-x: hidden;
  top: 46px;
  position: fixed;
  height: calc(100vh - 46px);
}

/* Mini Sidebar toggle behavior */
#container.sidebar-closed .sidebar-wrapper {
  background-color: #191919 !important;
  width: 50px;
  min-width: 50px;
  top: 55px;
  border-radius: 15px;
  height: 90%;
  position: fixed;
  left: 15px;
}

#container.sidebar-closed .sidebar-wrapper .info-wrapper,
#container.sidebar-closed .sidebar-wrapper .nav-header,
#container.sidebar-closed .sidebar-wrapper span,
#container.sidebar-closed .sidebar-wrapper .sidebar-search,
#container.sidebar-closed .sidebar-wrapper .btn-toggle::after {
  display: none !important;
}

#container.sidebar-closed .sidebar-wrapper .btn-toggle,
#container.sidebar-closed .sidebar-wrapper .btn-toggle-first {
  justify-content: center;
  padding: 0.5rem 0;
  color: #fff !important;
}

#container.sidebar-closed .sidebar-wrapper i {
  margin-right: 0 !important;
  font-size: 1.5rem;
}

#container.sidebar-closed .sidebar-wrapper .user-panel {
  justify-content: center !important;
}

#container.sidebar-closed .sidebar-wrapper #collapseSidebar {
  transform: rotate(180deg);
}

#sidebar {
  color: #e0e0e0;
  height: 100%;
  width: 100%;
}

.btn-toggle,
.btn-toggle-first {
  padding: .5rem .75rem;
  font-weight: 600;
  color: #393939 !important;
  background-color: transparent;
  text-align: left;
  text-decoration: none;
}

.btn-toggle:hover,
.btn-toggle-first:hover,
.btn-toggle:focus {
  color: #21C063 !important;
  background-color: rgba(2, 251, 126, 0.1);
}

.btn-toggle::after {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28172,176,195,1%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
  margin-left: auto;
}

.btn-toggle[aria-expanded="true"] {
  color: #21C063 !important;
}

.btn-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%282,251,126,1%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
}

.btn-toggle-nav a {
  color: #393939 !important;
  transition: all 0.2s;
}

.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  color: #21C063 !important;
  background-color: rgba(2, 251, 126, 0.05);
}

.nav-header {
  font-size: 0.7rem;
  letter-spacing: 0.05rem;
}

.user-panel .info a {
  color: #393939;
  font-size: 0.9rem;
}

.sidebar-search .form-control {
  font-size: 0.8rem;
}

.sidebar-search .form-control:focus {
  background-color: #2d2d2d !important;
  border-color: #21C063 !important;
  box-shadow: 0 0 0 0.25rem rgba(2, 251, 126, 0.25);
}

.main-content {
  flex: 1;
  transition: all 0.3s ease;
  min-width: 0;
  width: 100%;
  margin-left: calc(35% - 295px);
}

#container.sidebar-closed .main-content {
  margin-left: auto;
}

/* Custom Scrollbar for Sidebar */
#sidebar::-webkit-scrollbar {
  width: 4px;
}

#sidebar::-webkit-scrollbar-thumb {
  background: #3d3d3d;
  border-radius: 5px;
}

#sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-closed .btn-toggle-nav.list-unstyled.fw-normal.pb-1.small.ps-4 {
  position: fixed;
  left: 64px;
  background: #fff;
  width: fit-content;
  border-radius: 15px;
  padding-top: 2rem;
  box-shadow: 0 0 40px 0 rgba(94, 92, 154, .06);
  padding: 1.2rem;
  margin-top: -25px;
}

.sidebar-closed .btn-toggle-nav a {
  color: #000 !important;
}

.sidebar-closed .flex-shrink-0 {
  padding-left: 3px !important;
  padding-right: 3px !important;
}

.navbar.navbar-expand-sm.py-1.px-3.shadow-sm {
  height: 46px;
}

/*placa and badges*/

.plate-font {
  font-family: 'Courier New', Courier, monospace;
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #333;
  letter-spacing: 3px;
}

.plate-font::placeholder {
  color: #ddd;
  letter-spacing: 0;
  font-family: inherit;
}

.plate-font-small {
  letter-spacing: 1px;
}

.badge-soft-primary {
  background-color: #e8edff;
  color: #1b55e2;
}

.badge-soft-success {
  background-color: #e8ffed;
  color: #21C063;
}

.badge-soft-warning {
  background-color: #fff8ed;
  color: #e4cd00;
}

.badge-soft-info {
  background-color: #edfff8;
  color: #21a8c0;
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-translate-y:hover {
  transform: translateY(-5px);
}

.hover-shadow-lg:hover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1) !important;
}

.hover-bg-light:hover {
  background-color: #f8f9fa;
}

.focus-within-shadow:focus-within {
  box-shadow: 0 0 0 4px rgba(27, 85, 226, 0.1) !important;
  border-color: #1b55e2 !important;
}

.transition-all {
  transition: all 0.3s ease;
}

.letter-spacing-1 {
  letter-spacing: 1px;
}


/*Dashboard*/
.icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-light-primary {
  background-color: rgba(27, 85, 226, 0.1);
}

.bg-light-success {
  background-color: rgba(0, 150, 136, 0.1);
}

.bg-light-warning {
  background-color: rgba(226, 160, 27, 0.1);
}

.bg-light-info {
  background-color: rgba(33, 150, 243, 0.1);
}

.transition-all {
  transition: all 0.3s ease;
}

.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tracking-wider {
  letter-spacing: 0.05em;
}

/*Checkout*/

.hover-scale {
  transition: transform 0.2s;
}

.hover-scale:hover {
  transform: scale(1.02);
}

.rounded-lg {
  border-radius: 1rem !important;
}

.rounded-top-lg {
  border-top-left-radius: 1rem !important;
  border-top-right-radius: 1rem !important;
}

.product-card:hover {
  border-color: var(--primary) !important;
  background-color: rgba(var(--primary-rgb), 0.05);
}

.step-item {
  transition: all 0.3s;
}

.step-item:hover {
  opacity: 0.8;
}

.billing-card {
  position: sticky;
  top: 20px;
}

.widget-chart-one {
  border-radius: 1.5rem !important;
  overflow: hidden;
}


/*payment*/
.payment-card {
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  border: 2px solid transparent;
}

.payment-card:hover {
  transform: translateY(-5px);
  border-color: #4361ee !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.active-payment {
  border-color: #4361ee !important;
  background-color: #f1f3ff !important;
}

.active-payment i {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.plate {
  font-size: 2.2rem !important;
  letter-spacing: 3px !important;
  box-shadow: none !important;
  border: 0 !important;
}



/**/

.fa-2x {
  font-size: 1.5em;
  line-height: 0.75em;
  vertical-align: -.0667em;
}

/* Sidebar Reimpresión */
.reprint-sidebar {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1060;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.reprint-sidebar.open {
  right: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1055;
  display: none;
  backdrop-filter: blur(2px);
}

.sidebar-overlay.show {
  display: block;
}

.reprint-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #f1f2f3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
}

.reprint-sidebar-body {
  flex: 1;
  padding: 0;
  overflow: hidden;
}

.reprint-sidebar-footer {
  padding: 15px;
  border-top: 1px solid #f1f2f3;
  background: #f8f9fa;
}

#reprint-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.transition-all {
  transition: all 0.3s ease;
}

.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.fs-5 {
  font-size: 1.1rem !important;
}

.fs-3 {
  font-size: 1.75rem !important;
}

@media (min-width: 768px) {
  .border-end-md {
    border-right: 1px solid #dee2e6 !important;
  }
}

.hover-shadow-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .15) !important;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.btn-xs {
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
}

.bg-primary-light {
  background-color: rgba(13, 110, 253, 0.1) !important;
}

.hover-scale:hover {
  transform: scale(1.02);
  transition: transform 0.2s ease-in-out;
}

.bg-light-faded {
  background-color: #fbfbfc !important;
}

.border-end-md {
  border-right: 1px solid #dee2e6 !important;
}

/*Tablas*/

.invoice-container {
  display: flex;
  flex-direction: column;
}

.invoice-header {
  display: flex;
  background: #f8f9fa;
  color: #3b3f5c;
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  border-bottom: 1px solid #ebedf2;
}

.invoice-row {
  display: flex;
  background: white;
  padding: 12px 20px;
  align-items: center;
  transition: background 0.2s ease;
  border-bottom: 1px solid #f1f2f3;
}

.invoice-row:hover {
  background-color: #f6f7fb;
}

.invoice-row:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

/* Flex widths matching table columns */
.col-inv {
  flex: 0 0 120px;
}

.col-client {
  flex: 1;
  min-width: 200px;
}

.col-date {
  flex: 0 0 150px;
}

.col-total {
  flex: 0 0 130px;
}

.col-status {
  flex: 0 0 140px;
}

.col-cufe {
  flex: 0 0 180px;
}

.col-actions {
  flex: 0 0 180px;
  text-align: right;
}

.label-mobile {
  display: none;
}

@media (max-width: 991px) {
  .invoice-header {
    display: none;
  }

  .invoice-container {
    gap: 10px;
  }

  .invoice-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px !important;
    border: 1px solid #ebedf2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  }

  .invoice-row>div {
    width: 100%;
    text-align: left !important;
    padding: 8px 0;
    border-bottom: 1px solid #f1f2f3;
  }

  .col-actions {
    border-bottom: none !important;
    margin-top: 10px;
  }

  .label-mobile {
    display: block;
    font-weight: 700;
    font-size: 10px;
    color: #888ea8;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 1px;
  }
}


.park-container {
  display: flex;
  flex-direction: column;
}

.park-header {
  display: flex;
  background: #f8f9fa;
  color: #3b3f5c;
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  border-bottom: 1px solid #ebedf2;
}

.park-row {
  display: flex;
  background: white;
  padding: 12px 20px;
  align-items: center;
  transition: background 0.2s ease;
  border-bottom: 1px solid #f1f2f3;
}

.park-row:hover {
  background-color: #f6f7fb;
}

.park-row:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

/* Flex widths */
.col-plate {
  flex: 0 0 120px;
}

.col-status {
  flex: 0 0 120px;
}

.col-entry {
  flex: 1.2;
  min-width: 150px;
}

.col-exit {
  flex: 1.2;
  min-width: 150px;
}

.col-id {
  flex: 1;
  min-width: 120px;
}

.col-actions {
  flex: 1.5;
  min-width: 200px;
  text-align: right;
}

.label-mobile {
  display: none;
}

@media (max-width: 991px) {
  .park-header {
    display: none;
  }

  .park-container {
    gap: 10px;
  }

  .park-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px !important;
    border: 1px solid #ebedf2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  }

  .park-row>div {
    width: 100%;
    text-align: left !important;
    padding: 8px 0;
    border-bottom: 1px solid #f1f2f3;
  }

  .col-actions {
    border-bottom: none !important;
    margin-top: 10px;
  }

  .label-mobile {
    display: block;
    font-weight: 700;
    font-size: 10px;
    color: #888ea8;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 1px;
  }
}


.list-container {
  display: flex;
  flex-direction: column;
}

.list-header {
  display: flex;
  background: #f8f9fa;
  color: #3b3f5c;
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  border-bottom: 1px solid #ebedf2;
}

.list-row {
  display: flex;
  background: white;
  padding: 12px 20px;
  align-items: center;
  transition: background 0.2s ease;
  border-bottom: 1px solid #f1f2f3;
}

.list-row:hover {
  background-color: #f6f7fb;
}

.list-row:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

/* Flex widths for Customers */
.col-num {
  flex: 0 0 50px;
}

.col-name {
  flex: 1.5;
  min-width: 180px;
}

.col-plate {
  flex: 0 0 120px;
}

.col-type {
  flex: 1;
  min-width: 130px;
}

.col-status {
  flex: 1;
  min-width: 120px;
}

.col-actions {
  flex: 0 0 150px;
  text-align: right;
}

/* Flex widths for Payments */
.col-doc {
  flex: 1;
  min-width: 120px;
}

.col-cost {
  flex: 0 0 130px;
}

.col-date {
  flex: 1;
  min-width: 140px;
}

.col-expiry {
  flex: 1;
  min-width: 140px;
}

.col-pstatus {
  flex: 1.5;
  min-width: 160px;
}

.col-fe {
  flex: 0 0 180px;
}

.label-mobile {
  display: none;
}

@media (max-width: 991px) {
  .list-header {
    display: none;
  }

  .list-container {
    gap: 10px;
  }

  .list-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px !important;
    border: 1px solid #ebedf2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  }

  .list-row>div {
    width: 100%;
    text-align: left !important;
    padding: 8px 0;
    border-bottom: 1px solid #f1f2f3;
  }

  .col-actions {
    border-bottom: none !important;
    margin-top: 10px;
  }

  .label-mobile {
    display: block;
    font-weight: 700;
    font-size: 10px;
    color: #888ea8;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 1px;
  }
}

.modal-fullscreen .modal-body {
  height: calc(100vh - 80px) !important;
  overflow-y: auto !important;
}

.modal-fullscreen .modal-content {
  height: 100vh !important;
}

.shift-container {
  display: flex;
  flex-direction: column;
}

.shift-header {
  display: flex;
  background: #f8f9fa;
  color: #3b3f5c;
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  border-bottom: 1px solid #ebedf2;
}

.shift-row {
  display: flex;
  background: white;
  padding: 12px 20px;
  align-items: center;
  transition: background 0.2s ease;
  border-bottom: 1px solid #f1f2f3;
}

.shift-row:hover {
  background-color: #f6f7fb;
}

.shift-row:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

/* Flex widths */
.col-id {
  flex: 0 0 60px;
}

.col-status {
  flex: 0 0 130px;
}

.col-user {
  flex: 1.2;
  min-width: 150px;
}

.col-open {
  flex: 1.5;
  min-width: 160px;
}

.col-close {
  flex: 1.5;
  min-width: 160px;
}

.col-parks {
  flex: 0 0 100px;
  text-align: center;
}

.col-actions {
  flex: 1.5;
  min-width: 200px;
  text-align: right;
}

.label-mobile {
  display: none;
}

@media (max-width: 991px) {
  .shift-header {
    display: none;
  }

  .shift-container {
    gap: 10px;
  }

  .shift-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px !important;
    border: 1px solid #ebedf2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  }

  .shift-row>div {
    width: 100%;
    text-align: left !important;
    padding: 8px 0;
    border-bottom: 1px solid #f1f2f3;
  }

  .col-actions {
    border-bottom: none !important;
    margin-top: 10px;
  }

  .label-mobile {
    display: block;
    font-weight: 700;
    font-size: 10px;
    color: #888ea8;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 1px;
  }
}

.move-container {
  display: flex;
  flex-direction: column;
}

.move-header {
  display: flex;
  background: #f8f9fa;
  color: #3b3f5c;
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  border-bottom: 1px solid #ebedf2;
}

.move-row {
  display: flex;
  background: white;
  padding: 12px 20px;
  align-items: center;
  transition: background 0.2s ease;
  border-bottom: 1px solid #f1f2f3;
}

.move-row:hover {
  background-color: #f6f7fb;
}

.move-row:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

/* Flex widths */
.col-desc {
  flex: 1.5;
  min-width: 200px;
}

.col-type {
  flex: 0.8;
  min-width: 100px;
}

.col-amount {
  flex: 1;
  min-width: 120px;
}

.col-date {
  flex: 1.2;
  min-width: 150px;
}

.col-actions {
  flex: 1;
  min-width: 120px;
  text-align: right;
}

@media (max-width: 991px) {
  .move-header {
    display: none;
  }

  .move-container {
    gap: 10px;
  }

  .move-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px !important;
    border: 1px solid #ebedf2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  }

  .move-row>div {
    width: 100%;
    text-align: left !important;
    padding: 8px 0;
    border-bottom: 1px solid #f1f2f3;
  }

  .col-actions {
    border-bottom: none !important;
    margin-top: 10px;
  }
}

.btn-parkii {
  background-color: #21C063 !important;
  color: #fff !important;
}


.profileUser {
  width: 30px;
  height: 30px;
  text-align: center;
}

.custom-toast-width.toast-top-center>div {
  width: 80% !important;
  color: #fff !important;
}