[show=false] {
  display: none !important;
}

/* New Login Styles for DemoDelivery */
body {
  font-family: "Poppins", sans-serif;
  background: #F3F4F6;
}

/* Updated Login Styles */
.login-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(126, 217, 87, 0.25), rgba(15, 30, 18, 0.25));
  backdrop-filter: blur(8px);
}

/* Updated Login Styles - Button positioning fix */
.login-card {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(126, 217, 87, 0.28);
  padding: 2.5rem 2rem !important;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0 !important;
}
.login-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(126, 217, 87, 0.35);
}

.logo-container {
  margin-bottom: 1.5rem;
}
.logo-container .logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ED957, #a4e489) !important;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 26px rgba(15, 30, 18, 0.2), 0 0 0 6px rgba(126, 217, 87, 0.15);
}
.logo-container .logo-wrapper:hover {
  transform: rotate(10deg) scale(1.1);
}
.logo-container .logo-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(15, 30, 18, 0.35));
}

.login-title {
  color: #7ED957;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.input-field {
  margin-bottom: 1.5rem;
}
.input-field .prefix {
  color: #7ED957;
  font-size: 1.2rem;
}
.input-field input {
  border-bottom: 1px solid #ddd;
}
.input-field input:focus {
  border-bottom: 2px solid #7ED957 !important;
  box-shadow: 0 1px 0 0 #7ED957 !important;
}
.input-field input:focus + label {
  color: #7ED957 !important;
}
.input-field label {
  color: #666;
}
.input-field label.active {
  color: #7ED957 !important;
}

.login-action {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.login-button-wrapper {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Updated login button style */
.btn-login {
  background: linear-gradient(135deg, #7ED957, #a4e489) !important;
  border-radius: 30px !important;
  padding: 0 2rem !important;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(126, 217, 87, 0.3) !important;
  transition: all 0.3s ease;
  height: 48px !important;
  display: flex;
  justify-content: space-around;
  color: #0F1E12 !important;
  font-weight: 700;
}
.btn-login i {
  font-size: 1.2rem;
}
.btn-login:hover {
  background: linear-gradient(135deg, #5fce2f, #84db5f) !important;
  box-shadow: 0 6px 20px rgba(126, 217, 87, 0.4) !important;
  transform: translateY(-2px);
}
.btn-login:active {
  transform: translateY(0);
}

.login-loader {
  margin: 10px auto;
}

/* Navbar DemoDelivery */
nav {
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(15, 30, 18, 0.08);
  border-bottom: 1px solid rgba(15, 30, 18, 0.08);
}
nav .brand-logo {
  font-weight: 300;
  color: #0F1E12;
  display: flex;
  align-items: center;
  gap: 10px;
}
nav .brand-logo i {
  margin-right: 8px;
}

nav .brand-logo img {
  height: 48px;
  width: auto;
}

nav a,
nav i {
  color: #0F1E12 !important;
}

.body h2.center-align {
  color: #0F1E12 !important;
}

/* Sidenav DemoDelivery */
.sidenav {
  background-color: #ffffff;
  border-right: 1px solid rgba(15, 30, 18, 0.08);
}
.sidenav li > a {
  display: flex;
  align-items: center;
  color: #0F1E12;
}
.sidenav li > a i {
  margin-right: 15px;
  color: #7ED957;
}
.sidenav li > a.current {
  background-color: rgba(126, 217, 87, 0.25);
  color: #0F1E12;
  font-weight: 500;
}
.sidenav li > a:hover {
  background-color: rgba(15, 30, 18, 0.06);
  color: #0F1E12;
}

main {
  background-color: #F3F4F6;
  min-height: 100vh;
}

#fondo {
  background-color: #F3F4F6;
}

/* Cards and Tables */
.card {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.card .card-content h2, .card .card-content h5 {
  margin-bottom: 1.5rem;
}

.btn {
  border-radius: 25px;
  text-transform: none;
  font-weight: 500;
  background-color: #7ED957 !important;
  color: #0F1E12 !important;
}

.btn-small {
  padding: 0 12px;
  height: 32px;
  line-height: 32px;
  background-color: #7ED957 !important;
  color: #0F1E12 !important;
}

/* Video specific styles */
.video-container {
  position: relative;
}
.video-container video {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* DataTables customization */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  margin: 1rem 0;
}

/* Loading screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.loader2 {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #7ED957;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.body-estadisticas .stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.body-estadisticas .stats-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(126, 217, 87, 0.08);
  padding: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.body-estadisticas .chart-title {
  color: #7ED957;
  font-weight: 500;
  text-align: left;
  margin-bottom: 1rem;
}
.body-estadisticas .chart-wrapper {
  position: relative;
  min-height: 280px;
}
.body-estadisticas .chart-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
}
.body-estadisticas .stats-legend {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.body-estadisticas .stats-legend li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #424242;
  margin-bottom: 0.4rem;
}
.body-estadisticas .stats-legend li .legend-label {
  font-weight: 500;
  margin-right: 0.75rem;
}
.body-estadisticas .stats-legend li .legend-value {
  color: #7ED957;
  font-weight: 600;
}
.body-estadisticas .stats-empty {
  margin-top: 1rem;
  color: #757575;
  font-size: 0.9rem;
  text-align: center;
}
.body-estadisticas .stats-loading,
.body-estadisticas .stats-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  min-height: 220px;
}
.body-estadisticas .stats-loading {
  color: #616161;
}
.body-estadisticas .stats-error {
  color: #c62828;
}
.body-estadisticas .stats-error i {
  margin-right: 0.35rem;
}
.body-estadisticas .stats-meta {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #757575;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem;
}

.spinner-layer.spinner-purple-only {
  border-color: #91df70;
}
.spinner-layer.spinner-purple-only .circle {
  border-color: #91df70;
}

/* Responsive video sizing */
@media only screen and (max-width: 600px) {
  .video-container video {
    max-height: 250px !important;
  }

  .login-card {
    margin: 1rem;
    padding: 2rem 1.5rem !important;
  }
}
/* Body */
.body {
  margin-left: 300px;
  padding: 2rem;
  min-height: calc(100vh - 64px);
  background-color: #F3F4F6;
}

@media only screen and (max-width: 992px) {
  .body {
    margin-left: 0;
    padding: 1rem;
  }
}
/* Material Icons */
.material-icons {
  user-select: none;
}

/* Utility classes */
.pointer {
  cursor: pointer;
}

.center-align {
  text-align: center;
}

/* Swal2 customization */
.swal2-popup {
  border-radius: 10px;
}

.swal2-confirm {
  background-color: #7ED957 !important;
  border-radius: 25px !important;
  color: #0F1E12 !important;
}

.swal2-cancel {
  border-radius: 25px !important;
}

/* Pagos table adjustments */
#bodyPagos table.dataTable thead th,
#bodyPagos table.dataTable tbody td {
  font-size: 0.85rem;
  padding: 10px 8px;
}