@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins";
}

.separador {
  text-align: center;
  margin: 40px 0;
  color: #333;
  font-weight: bold;
  display: block;
}
.separador span {
  display: inline-block;
  position: relative;
  padding: 0 10px;
}
.separador span::before, .separador span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100px;
  border-bottom: 1.5px dashed #333;
  transform: translateY(-50%);
}
.separador span::before {
  right: 100%;
  margin-right: 10px;
}
.separador span::after {
  left: 100%;
  margin-left: 10px;
}

.restaurar-btn {
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}
.restaurar-btn:hover {
  background-color: #3d8b40;
}

.eliminar-historial-btn {
  background-color: #f44336;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  margin-left: 0.5rem;
}
.eliminar-historial-btn:hover {
  background-color: #ea1c0d;
}

.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.pagination .page-btn {
  background-color: #eeeeee;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.pagination .page-btn:hover {
  background-color: #cccccc;
}
.pagination .page-btn.active {
  background-color: #f4b400;
  color: #fff;
}

.pagination-solicitudes {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.pagination-solicitudes .page-btn {
  background-color: #eeeeee;
  border: none;
  outline: none;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.pagination-solicitudes .page-btn:hover {
  background-color: #cccccc;
}
.pagination-solicitudes .page-btn.active {
  background-color: #f4b400;
  color: #fff;
}

.filtro-papelera {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.filtro-papelera input[type=text],
.filtro-papelera select {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

.tabla-papelera {
  width: 100%;
  border-collapse: collapse;
  max-height: 220px;
  min-height: 220px;
}
.tabla-papelera th, .tabla-papelera td {
  border: 1px solid #ccc;
  padding: 5px 12px;
  text-align: left;
  font-size: 0.95rem;
}
.tabla-papelera th {
  background-color: #f4f4f4;
}
.tabla-papelera tr:nth-child(even) {
  background-color: #fafafa;
}

.pagination-papelera {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.pagination-papelera .page-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.5em 0.8em;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.pagination-papelera .page-btn:hover {
  background-color: #f0f0f0;
  border-color: #f4b400;
}
.pagination-papelera .page-btn.active {
  background-color: #f4b400;
  border: none;
  border-color: none;
  color: #fff;
}

.historial-container .filtros-historial {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}
.historial-container .filtros-historial input[type=text],
.historial-container .filtros-historial input[type=date],
.historial-container .filtros-historial select {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}
.historial-container .filtros-historial button {
  padding: 5px 10px;
  border: none;
  background-color: #f4b400;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.95rem;
}
.historial-container .filtros-historial button:hover {
  background-color: #d99f00;
}
.historial-container .tabla-historial {
  width: 100%;
  border-collapse: collapse;
  max-height: 320px;
  min-height: 320px;
}
.historial-container .tabla-historial th, .historial-container .tabla-historial td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
  font-size: 0.95rem;
}
.historial-container .tabla-historial th {
  background-color: #f5f5f5;
}
.historial-container .tabla-historial tr:nth-child(even) {
  background-color: #fafafa;
}
.historial-container .tabla-historial button.restaurar-audit,
.historial-container .tabla-historial button.eliminar-definitivo {
  padding: 5px 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}
.historial-container .tabla-historial button.restaurar-audit {
  background-color: #28a745;
  color: #fff;
}
.historial-container .tabla-historial button.restaurar-audit:hover {
  background-color: #218838;
}
.historial-container .tabla-historial button.eliminar-definitivo {
  background-color: #dc3545;
  color: #fff;
  margin-left: 0.5rem;
}
.historial-container .tabla-historial button.eliminar-definitivo:hover {
  background-color: #bd2130;
}
.historial-container .pagination-historial {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.historial-container .pagination-historial .page-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.5em 0.8em;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.historial-container .pagination-historial .page-btn:hover {
  background-color: #f0f0f0;
  border-color: #f4b400;
}
.historial-container .pagination-historial .page-btn.active {
  background-color: #f4b400;
  border: none;
  border-color: none;
  color: #fff;
}

.table-container {
  overflow-x: auto;
  max-height: 420px;
  min-height: 420px;
}
.table-container table {
  width: 100%;
  border-collapse: collapse;
}
.table-container table th, .table-container table td {
  padding: 5px 12px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 0.95rem;
}
.table-container table th {
  background-color: #f4f4f4;
}
.table-container table tbody tr:hover {
  background-color: #fdfdfd;
  cursor: pointer;
}
.table-container table .tabla-centrar {
  text-align: center;
}
.table-container table .delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #f4b400;
  font-size: 1.2rem;
}
.table-container table .delete-btn:hover {
  color: #c18e00;
}

.search-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.search-options .search-bar {
  flex: 1;
}
.search-options .search-bar input[type=text] {
  width: 100%;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}
.search-options .search-bar input[type=text]:focus {
  outline: none;
  border-color: #f4b400;
}
.search-options .options {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-left: 1em;
}
.search-options .options select {
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  background-color: #fff;
}
.search-options .options select:focus {
  outline: none;
  border-color: #f4b400;
}
.search-options .options label {
  font-size: 0.9em;
  display: flex;
  align-items: center;
}
.search-options .options label input[type=checkbox] {
  margin-right: 0.3em;
}
.search-options .options button.delete-btn-all {
  background-color: #f44336;
  color: #fff;
  border: none;
  padding: 0.5em 1em;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}
.search-options .options button.delete-btn-all:hover {
  background-color: #ea1c0d;
}

.my-confirm-btn {
  background-color: #f4b400 !important;
  color: #222 !important;
  font-weight: bold;
  border: none;
  border-radius: 4px;
}

nav {
  display: flex;
  justify-content: space-between;
  background-color: #222;
  padding: 0 60px;
  height: 60px;
  line-height: 60px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
}
nav .logo {
  height: 60px;
  width: 100px;
  background-image: url("../IMG/EucraftBlanco.png");
  background-position: center;
  background-size: cover;
  cursor: pointer;
}
nav .menu-icon {
  display: none;
}
nav .menu-container {
  display: flex;
  align-items: center;
  line-height: 60px;
}
nav .menu-container.active {
  display: flex;
}
nav .navlinkslist {
  list-style: none;
  display: flex;
  margin-right: 20px;
  line-height: 60px;
}
nav .navlinkslist ul {
  height: 60px;
  line-height: 60px;
}
nav .navlinkslist li {
  margin: 0 10px;
  line-height: 60px;
}
nav .navlinkslist li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 18px;
  cursor: pointer;
}
nav .navlinkslist li a:hover {
  color: #f4b400;
}
nav .login-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f4b400;
  background-color: #fff;
  text-decoration: none;
  padding: 5px 20px;
  height: 35px;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-right: 20px;
  cursor: pointer;
}
nav .login-item a i {
  padding-right: 10px;
}
nav .login-item a:hover {
  color: #fff;
  background-color: #f4b400;
}
nav .redes-sociales {
  display: none;
  margin: 0;
}

.user-dropdown-popup {
  background-color: #fff !important;
  color: #333 !important;
  max-width: 200px;
  text-align: left;
  padding: 10px !important;
  margin: 60px 35px;
}
.user-dropdown-popup .user-options {
  list-style: none;
  margin: 0;
  padding: 0;
}
.user-dropdown-popup .user-options li {
  margin-bottom: 8px;
}
.user-dropdown-popup .user-options li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.3s;
}
.user-dropdown-popup .user-options li a:hover {
  color: #f4b400;
}

.custom-swal-popup {
  border-radius: 10px !important;
  padding: 30px !important;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
}
.custom-swal-popup .form-group label {
  text-align: left;
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #222;
}

.custom-swal-title {
  font-family: "Copperplate Gothic", "Copperplate", "Georgia", serif;
  font-size: 40px;
  color: #f4b400;
  font-weight: bold;
  margin-bottom: 20px;
}

.custom-swal-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.custom-swal-input:focus {
  outline: none;
  border-color: #f4b400;
}

.custom-swal-confirm {
  background-color: #f4b400 !important;
  color: #222 !important;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  transition: background-color 0.3s;
}

.custom-swal-confirm:hover {
  background-color: #c18e00;
}

.custom-swal-close {
  outline: none !important;
}

.custom-swal-close:focus,
.custom-swal-close:active {
  outline: none !important;
  background-color: transparent !important;
  border: none !important;
}

header {
  height: 80vh;
  width: 100%;
  background-image: url("../cementerio.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.63);
  background-blend-mode: darken;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: margin-top 0.3s ease;
}
header.adjusted {
  margin-top: 60px;
}
header .contenidoheader {
  text-align: center;
}
header .contenidoheader h1 {
  font-family: "Copperplate Gothic", "Copperplate", "Georgia", serif;
  font-size: 40px;
  color: #f4b400;
}
header .contenidoheader p {
  font-size: 18px;
  max-width: 500px;
  margin: 10px 0 20px 0;
  color: #fff;
}
header .contenidoheader a {
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 10px;
  margin: 20px 0;
  background: #f4b400;
  color: #000;
  border-radius: 5px;
}

section {
  padding: 0 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
section .nosotroscontenido {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
section .nosotroscontenido .videonosotros {
  flex: 1 1 45%;
  text-align: right;
  margin-right: 40px;
}
section .nosotroscontenido .videonosotros video {
  width: 80%;
  border-radius: 8px;
  -o-object-fit: cover;
     object-fit: cover;
}
section .nosotroscontenido .infonosotros {
  flex: 1 1 45%;
  font-size: 1.1rem;
  color: #333;
}
section .nosotroscontenido .infonosotros h2 {
  font-family: "Copperplate Gothic", "Copperplate", "Georgia", serif;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #f4b400;
}
section .nosotroscontenido .infonosotros p {
  line-height: 1.6;
}
section .nosotroscontenido .infonosotros p strong {
  color: #f4b400;
}

#Servicios {
  padding: 80px 20px;
  background-color: #f8f8f8;
}

.servicios-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.servicio {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
  transform: translateY(40px);
  opacity: 0;
}

.servicio.visible {
  opacity: 1;
  transform: translateY(0);
}

.servicio:hover {
  transform: translateY(-6px);
}

.servicio-imagen {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.servicio-imagen img:first-child {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.servicio:hover .servicio-imagen img:first-child {
  filter: brightness(0.5) blur(1.5px);
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  pointer-events: none;
}

.icono-servicio {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%) scale(0) rotateY(0deg);
  opacity: 0;
  z-index: 2;
  filter: brightness(0) invert(1);
  transition: transform 0.6s ease, opacity 0.5s ease;
  pointer-events: none;
}

.servicio:hover .icono-servicio {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.5) rotateY(360deg);
}

.servicio-info {
  padding: 20px;
  text-align: center;
}

.servicio-info h3 {
  font-family: "Copperplate Gothic", "Copperplate", "Georgia", serif;
  font-size: 1.2rem;
  color: #f4b400;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.servicio-info p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
  .servicios-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .servicios-container {
    grid-template-columns: 1fr;
  }
}
footer {
  background-color: #fff;
  color: #333;
  padding: 40px 20px;
}
footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: left;
}
footer .footer-container .footer-logo {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}
footer .footer-container .footer-logo h2 {
  font-size: 22px;
  color: #f4b400;
  margin-bottom: 10px;
}
footer .footer-container .footer-logo p {
  font-size: 14px;
  margin-bottom: 5px;
}
footer .footer-container .footer-links {
  display: flex;
  flex-wrap: wrap;
  flex: 2;
  justify-content: space-between;
}
footer .footer-container .footer-links .footer-column {
  min-width: 150px;
  margin-bottom: 20px;
}
footer .footer-container .footer-links .footer-column h3 {
  font-size: 16px;
  color: #f4b400;
  margin-bottom: 10px;
}
footer .footer-container .footer-links .footer-column ul {
  list-style: none;
  padding: 0;
}
footer .footer-container .footer-links .footer-column ul li {
  margin-bottom: 5px;
}
footer .footer-container .footer-links .footer-column ul li a {
  text-decoration: none;
  font-size: 14px;
  color: #666;
  transition: color 0.3s;
}
footer .footer-container .footer-links .footer-column ul li a:hover {
  color: #f4b400;
}
footer .footer-container .contact-info {
  font-size: 12px;
  color: #666;
}
footer .footer-container .email {
  color: #f4b400;
  font-weight: bold;
  text-decoration: none;
}
footer .footer-container .email:hover {
  text-decoration: underline;
}
footer .footer-container .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
footer .footer-container .social-icons a {
  color: #666;
  font-size: 18px;
  transition: color 0.3s;
}
footer .footer-container .social-icons a:hover {
  color: #f4b400;
}

@media (max-width: 768px) {
  footer {
    padding: 20px 10px;
  }
  footer .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  footer .footer-container .footer-logo, footer .footer-container .footer-links, footer .footer-container .contact-info, footer .footer-container .social-icons {
    margin-bottom: 15px;
  }
  footer .footer-container .footer-links {
    flex-direction: column;
  }
  footer .footer-container .footer-links .footer-column {
    margin: 0 0 15px 0;
  }
}
@keyframes popupEnter {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes popupExit {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-50px);
  }
}
.my-swal-popup {
  animation: popupEnter 0.5s forwards;
}

.swal2-popup {
  outline: none !important;
}
.swal2-popup:focus {
  border: 2px solid #f4b400 !important;
}

.swal2-close {
  outline: none !important;
}
.swal2-close:focus, .swal2-close:active {
  outline: none !important;
  background-color: transparent !important;
  border-color: #f4b400 !important;
}

.registration-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 20px;
  height: 100vh;
}

.left-container {
  width: 75%;
  padding: 20px;
  position: relative;
  margin-top: 35px;
}
.left-container h2 {
  font-size: 2rem;
  color: #f4b400;
}
.left-container .btn-PapeleraRegistro {
  position: absolute;
  bottom: 30px;
  right: 20px;
}
.left-container .btn-PapeleraRegistro a {
  padding: 10px;
  background: #0096e1;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
}
.left-container .btn-PapeleraRegistro a i {
  margin: 0 5px;
}
.left-container .table-container {
  overflow-x: auto;
  max-height: 420px;
  min-height: 420px;
}
.left-container .table-container table {
  width: 100%;
  border-collapse: collapse;
}
.left-container .table-container table th, .left-container .table-container table td {
  padding: 5px 12px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 0.95rem;
}
.left-container .table-container table th {
  background-color: #f4f4f4;
}
.left-container .table-container table tbody tr:hover {
  background-color: #fdfdfd;
  cursor: pointer;
}
.left-container .table-container table .tabla-centrar {
  text-align: center;
}
.left-container .table-container table .delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #f4b400;
  font-size: 1.2rem;
}
.left-container .table-container table .delete-btn:hover {
  color: #c18e00;
}

.right-container {
  width: 25%;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 60px;
  overflow: hidden;
}

.registration-form {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.registration-form .form-group {
  margin-bottom: 15px;
}
.registration-form .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #222;
}
.registration-form .form-group input,
.registration-form .form-group select {
  width: 100%;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.registration-form button {
  background-color: #f4b400;
  color: #000;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.registration-form button:hover {
  background-color: #c18e00;
}

@media (max-width: 768px) {
  .separador span::before, .separador span::after {
    width: 40px;
  }
  nav .logo img {
    width: 30%;
  }
  nav .menu-icon {
    display: block;
    font-size: 28px;
    line-height: 60px;
    color: #fff;
    cursor: pointer;
  }
  nav .menu-container {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #333;
    text-align: center;
    display: none;
    flex-direction: column;
    padding: 10px 0;
  }
  nav .menu-container.active {
    display: flex;
  }
  nav .navlinkslist {
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
  nav .navlinkslist li a {
    margin: 10px 0;
  }
  nav .login-item {
    margin: 10px 0;
  }
  nav .login-item a {
    margin: 0;
  }
  nav .redes-sociales {
    display: flex !important;
    justify-content: center;
    margin-top: 10px;
  }
  nav .redes-sociales li {
    list-style: none;
    margin: 0 10px;
  }
  nav .redes-sociales li a {
    color: #fff;
    font-size: 20px;
  }
  header {
    height: 60vh;
  }
  header .contenidoheader {
    text-align: center;
    padding: 0 30px;
  }
  header .contenidoheader h1 {
    font-family: "Copperplate Gothic", "Copperplate", "Georgia", serif;
    font-size: 30px;
    margin-top: 50px;
    color: #f4b400;
  }
  header .contenidoheader p {
    font-size: 16px;
    max-width: 500px;
    margin: 20px 0 30px 0;
    color: #fff;
  }
  header .contenidoheader a {
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 10px;
    background: #f4b400;
    color: #000;
    border-radius: 5px;
  }
  section .nosotroscontenido {
    flex-direction: column;
    align-items: center;
  }
  section .nosotroscontenido .videonosotros {
    width: 100%;
    text-align: center;
  }
  section .nosotroscontenido .videonosotros video {
    width: 90%;
  }
  section .nosotroscontenido .infonosotros {
    width: 100%;
  }
  section .nosotroscontenido .infonosotros h2 {
    font-family: "Copperplate Gothic", "Copperplate", "Georgia", serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #f4b400;
  }
  section .nosotroscontenido .infonosotros p {
    line-height: 1.6;
    font-size: 1rem;
  }
  .servicios-container {
    flex-direction: column;
    align-items: center;
  }
  .servicio {
    flex: 1 1 100%;
    max-width: 400px;
  }
}
@media (max-width: 992px) {
  .separador span::before, .separador span::after {
    width: 80px;
  }
  .servicio {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (max-width: 1200px) {
  .separador span::before, .separador span::after {
    width: 80px;
  }
  .servicio {
    flex: 1 1 calc(33.333% - 20px);
  }
}
@media (max-width: 768px) {
  footer {
    padding: 20px 10px;
  }
}
/* ---------------------------------------------- */
/* Botones de acción (Restaurar, Eliminar, etc.) */
/* ---------------------------------------------- */
.restaurar-btn,
.eliminar-historial-btn,
.restaurar-solicitud-btn,
.eliminar-solicitud-borrada-btn {
  background-color: #4caf50; /* Verde para ejemplo */
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-size: 0.9rem;
  margin-right: 0.3rem;
  transition: background-color 0.3s ease;
}
.restaurar-btn:hover,
.eliminar-historial-btn:hover,
.restaurar-solicitud-btn:hover,
.eliminar-solicitud-borrada-btn:hover {
  background-color: #3d8b40;
}

/* ---------------------------------------------- */
/* Variante para botón de eliminar en rojo        */
/* ---------------------------------------------- */
.eliminar-historial-btn,
.eliminar-solicitud-borrada-btn {
  background-color: #f44336; /* Rojo */
}
.eliminar-historial-btn:hover,
.eliminar-solicitud-borrada-btn:hover {
  background-color: #ea1c0d;
}

/* ---------------------------------------------- */
/* Botón genérico de filtrado (por si lo deseas)  */
/* ---------------------------------------------- */
.btn-filtrar {
  background-color: #f4b400;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: 0.5rem;
  transition: background-color 0.3s ease;
}
.btn-filtrar:hover {
  background-color: #c18e00;
}

/* ---------------------------------------------- */
/* Paginación: Botones de páginas                 */
/* ---------------------------------------------- */
.page-btn {
  border: 1px solid #ccc;
  background-color: #f2f2f2;
  margin: 0 0.2rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-size: 0.85rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.page-btn.active {
  background-color: #f4b400;
  color: #fff;
  border-color: #000;
}
.page-btn:hover {
  background-color: #f4b400;
}

#SectionVentas {
  margin-top: 60px;
  padding: 10px 70px;
  width: 100%;
  height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
}
#SectionVentas .filtros {
  width: 100%;
  height: 60px;
  margin-bottom: 20px;
}
#SectionVentas .filtros select,
#SectionVentas .filtros input[type=date],
#SectionVentas .filtros button {
  padding: 8px 12px;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  transition: all 0.2s;
}
#SectionVentas .filtros select:focus,
#SectionVentas .filtros input:focus,
#SectionVentas .filtros button:hover {
  border-color: #f4b400;
  box-shadow: 0 0 0 2px rgba(244, 180, 0, 0.3);
  outline: none;
  color: #f4b400;
}
#SectionVentas .filtros button {
  cursor: pointer;
}
#SectionVentas .graficas {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
#SectionVentas .graficas .kpi-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  width: 25%;
  margin-bottom: 20px;
}
#SectionVentas .graficas .kpi-card {
  flex: 0 0 calc(25% - 10px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
#SectionVentas .graficas .kpi-card .kpi-value {
  font-size: 1.75rem;
  font-weight: 600;
  color: #007bff;
  font-family: "Poppins", sans-serif;
}
#SectionVentas .graficas .kpi-card .kpi-label {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #555;
  font-family: "Poppins", sans-serif;
}
#SectionVentas .graficas.move-mode .grafica-wrapper {
  cursor: move;
}
#SectionVentas .graficas.move-mode.barras {
  flex: 0 0 45%;
}
#SectionVentas .graficas .ui-sortable-placeholder {
  background: rgba(244, 180, 0, 0.2);
  border: 2px dashed #f4b400;
  visibility: visible !important;
}
#SectionVentas .grafica-wrapper {
  position: relative;
  padding: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#SectionVentas .grafica-wrapper:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 2;
  background-color: #f7f7f7;
}
#SectionVentas .grafica-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
#SectionVentas .grafica-wrapper.ventas {
  flex: 0 0 calc(50% - 10px);
}
#SectionVentas .grafica-wrapper.pastel {
  flex: 0 0 calc(25% - 10px);
  min-height: 375px;
  max-height: 375px;
}
#SectionVentas .grafica-wrapper.tabla {
  flex: 0 0 calc(75% - 10px);
  min-height: 375px;
  max-height: 375px;
}
#SectionVentas .grafica-wrapper.scatter {
  flex: 0 0 calc(50% - 10px);
  min-height: 350px;
  max-height: 350px;
}
#SectionVentas .metric-v {
  transition: transform 0.2s ease;
}
#SectionVentas .metric-v.placeholder {
  background: rgba(244, 180, 0, 0.2);
  border: 2px dashed #f4b400;
}
#SectionVentas .pagination-historial {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
#SectionVentas .pagination-historial .page-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.5em 0.8em;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
#SectionVentas .pagination-historial .page-btn:hover {
  background-color: #f0f0f0;
  border-color: #f4b400;
}
#SectionVentas .pagination-historial .page-btn.active {
  background-color: #f4b400;
  border-color: #f4b400;
  color: #fff;
}
#SectionVentas .pagination-historial .page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#SectionVentas #grafica-tabla .search-container,
#SectionVentas .grafica-wrapper.tabla .search-container {
  margin-bottom: 10px;
}
#SectionVentas #grafica-tabla .search-container .table-search,
#SectionVentas .grafica-wrapper.tabla .search-container .table-search {
  width: 50%;
  height: 30px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}
#SectionVentas #grafica-tabla .TablaC,
#SectionVentas .grafica-wrapper.tabla .TablaC {
  overflow-x: auto;
}
#SectionVentas #grafica-tabla .ventas-table,
#SectionVentas .grafica-wrapper.tabla .ventas-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin-top: 10px;
  min-height: 200px;
  table-layout: fixed;
}
#SectionVentas #grafica-tabla .ventas-table th, #SectionVentas #grafica-tabla .ventas-table td,
#SectionVentas .grafica-wrapper.tabla .ventas-table th,
#SectionVentas .grafica-wrapper.tabla .ventas-table td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
#SectionVentas #grafica-tabla .ventas-table thead,
#SectionVentas .grafica-wrapper.tabla .ventas-table thead {
  background-color: #f4b400;
  color: #fff;
}
#SectionVentas #grafica-tabla .ventas-table tbody tr,
#SectionVentas .grafica-wrapper.tabla .ventas-table tbody tr {
  height: 40px;
  max-height: 40px;
}
#SectionVentas #grafica-tabla .ventas-table tbody tr:nth-child(even),
#SectionVentas .grafica-wrapper.tabla .ventas-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}
#SectionVentas #grafica-tabla .ventas-table tbody tr:hover,
#SectionVentas .grafica-wrapper.tabla .ventas-table tbody tr:hover {
  background-color: #f1f1f1;
}
#SectionVentas #grafica-tabla .pagination-historial,
#SectionVentas .grafica-wrapper.tabla .pagination-historial {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 10px;
}
#SectionVentas #grafica-tabla .pagination-historial .page-btn,
#SectionVentas .grafica-wrapper.tabla .pagination-historial .page-btn {
  padding: 6px 10px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
#SectionVentas #grafica-tabla .pagination-historial .page-btn:hover:not(:disabled):not(.active),
#SectionVentas .grafica-wrapper.tabla .pagination-historial .page-btn:hover:not(:disabled):not(.active) {
  background: #f0f0f0;
}
#SectionVentas #grafica-tabla .pagination-historial .page-btn:disabled,
#SectionVentas .grafica-wrapper.tabla .pagination-historial .page-btn:disabled {
  opacity: 0.5;
  cursor: default;
}
#SectionVentas #grafica-tabla .pagination-historial .page-btn.active,
#SectionVentas .grafica-wrapper.tabla .pagination-historial .page-btn.active {
  background: #f4b400;
  border-color: #f4b400;
  color: #fff;
}/*# sourceMappingURL=style.css.map */