* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Color Variables */
:root {
  --rojo: #e63946;
  --background: #EFEFEF;
  --gray-dark: #474747;
  --dark-ligh-blue: #457b9d;
  --tittle: #1d3557;
  --background: #a8dadc;
  --navbar-width: 256px;
  --navbar-width-min: 80px;
  --navbar-dark-primary: #18283b;
  --navbar-dark-secondary: #2c3e50;
  --navbar-light-primary: #f5f6fa;
  --navbar-light-secondary: #8392a5;
  --logo: #C2B3B6;
  --logo1: #594645;
  --logo2: #812529;
}

/* Font styling */
/* para pantallas grandes */
h1 {
  font-size: 2.5rem;
  color: #1d3557;
  font-weight: 700;
  margin-bottom: 20px;
}

h2 {
  font-size: 2rem;
  color: #457b9d;
  font-weight: 600;
  margin-bottom: 15px;
}

h3 {
  font-size: 1.5rem;
  color: #457b9d;
  margin-bottom: 10px;
  font-weight: 500;
  text-align: left;
}

body {
  font-family: Raleway, sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0 20px;
  display: inline-flex;
}

/* Estilos responsivos para tablets */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  body {
    font-size: 0.9rem;
  }
}

/* Estilos responsivos para móviles */
@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  body {
    font-size: 0.85rem;
  }
}

hr.rounded {
  border: none;
  border-top: 2px solid #d3d3d3; /* Gris claro */
  border-radius: 5px; /* Hace los bordes redondeados */
  height: 2px;
  width: 100%; /* Ajusta el ancho al contenedor */
  margin: 20px 0; /* Espaciado opcional */
}


/* Layout styling */
.container {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 20px 20px 80px;
}

.box {
  width: 12em;
  height: 12em;
  text-align: center;
  line-height: 100px;
  font-size: 20px;
  border: 1px solid #000;
}

img {
  width: 100%;
}

.center {
  text-align: center;
}

/* Menu navigation */
#nav-title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

#nav-toggle:checked~#nav-header {
  width: calc(var(--navbar-width-min) - 16px);
}

#nav-toggle:checked~#nav-content,
#nav-toggle:checked~#nav-footer {
  width: var(--navbar-width-min);
}

#nav-toggle:checked~#nav-header #nav-title {
  opacity: 0;
  pointer-events: none;
  transition: opacity .1s;
}

#nav-toggle:checked~#nav-header label[for="nav-toggle"] {
  left: calc(50% - 8px);
  transform: translate(-50%);
}

#nav-toggle:checked~#nav-header #nav-toggle-burger {
  background: var(--navbar-light-primary);
}

#nav-toggle:checked~#nav-header #nav-toggle-burger::before,
#nav-toggle:checked~#nav-header #nav-toggle-burger::after {
  width: 16px;
  background: var(--navbar-light-secondary);
  transform: translate(0, 0) rotate(0deg);
}

#nav-toggle:checked~#nav-content .nav-button span {
  opacity: 0;
  transition: opacity .1s;
}

#nav-toggle:checked~#nav-content .nav-button .fas {
  min-width: calc(100% - 16px);
}

#nav-toggle:checked~#nav-footer #nav-footer-avatar {
  margin-left: 0;
  left: 50%;
  transform: translate(-50%);
}

#nav-toggle:checked~#nav-footer #nav-footer-titlebox,
#nav-toggle:checked~#nav-footer label[for="nav-footer-toggle"] {
  opacity: 0;
  transition: opacity .1s;
  pointer-events: none;
}

#nav-bar {
  position: absolute;
  left: 1vw;
  top: 1vw;
  height: calc(100% - 2vw);
  background: var(--navbar-dark-primary);
  display: flex;
  flex-direction: column;
  color: var(--navbar-light-primary);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  overflow: hidden;
  user-select: none;
  border-radius: 0; /* Borde rectangular */
}

#nav-bar hr {
  margin-bottom: 8px;
  left: 16px;
  width: calc(100% - 32px);
  border: none;
  border-top: solid 1px var(--navbar-dark-secondary);
}

#nav-bar a {
  color: inherit;
  text-decoration: inherit;
}

#nav-bar input[type="checkbox"] {
  display: none;
}

#nav-header {
  position: relative;
  width: var(--navbar-width);
  min-height: 80px;
  background: var(--navbar-dark-primary);
  z-index: 2;
  display: flex;
  align-items: center;
  transition: width .2s;
  border-radius: 0; /* Borde rectangular */
}

main {
  margin-left: var(--navbar-width); /* Asegura que el contenido no se superponga al menú lateral */
  padding: 20px;
}

#nav-header hr {
  position: absolute;
  bottom: 0;
}

#nav-title {
  font-size: 1.5rem;
  transition: opacity 1s;
}

label[for="nav-toggle"] {
  position: absolute;
  right: 0;
  width: 3rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#nav-toggle-burger {
  position: relative;
  width: 16px;
  height: 2px;
  background: var(--navbar-dark-primary);
  border-radius: 99px;
  transition: background .2s;
}

#nav-toggle-burger::before,
#nav-toggle-burger::after {
  content: '';
  position: absolute;
  top: -6px;
  width: 10px;
  height: 2px;
  background: var(--navbar-light-primary);
  border-radius: 99px;
  transform: translate(2px, 8px) rotate(30deg);
  transition: .2s;
}

#nav-toggle-burger::after {
  top: 6px;
  transform: translate(2px, -8px) rotate(-30deg);
}

#nav-content {
  margin: -16px 0;
  padding: 16px 0;
  position: relative;
  flex: 1;
  width: var(--navbar-width);
  background: var(--navbar-dark-primary);
  box-shadow: 0 0 0 16px var(--navbar-dark-primary);
  direction: rtl;
  overflow-x: hidden;
  transition: width .2s;
}

#nav-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#nav-content::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background-color: var(--rojo);
}

#nav-content::-webkit-scrollbar-button {
  height: 16px;
}

#nav-content-highlight {
  position: absolute;
  left: 16px;
  top: -54 - 16px;
  width: calc(100% - 16px);
  height: 54px;
  background: var(--background);
  background-attachment: fixed;
  border-radius: 16px 0 0 16px;
  transition: top .2s;
}

#nav-content-highlight::before,
#nav-content-highlight::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 16px 16px var(--background);
}

#nav-content-highlight::after {
  top: 100%;
  box-shadow: 16px -16px var(--background);
}

/* .nav-button {
  margin-left: 16px;
  height: 50px;
  align-items: center;
  color: var(--navbar-light-secondary);
  direction: ltr;
  cursor: pointer;
  z-index: 1;
  transition: color .2s;
} */

/* Ajustes en la apariencia de los botones del menú */
.nav-button {
  padding: 12px;
  color: var(--navbar-light-secondary);
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.nav-button a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  padding-left: 16px;
}

.nav-button:hover {
  background-color: var(--navbar-dark-secondary);
  cursor: pointer;
}

.nav-button .fas {
  margin-right: 12px;
}

.nav-button span {
  transition: opacity 1s;
}

.nav-button .fas {
  transition: min-width .2s;
}

#nav-bar .fas {
  min-width: 3rem;
  text-align: center;
}

/* Styling for the active button */
.nav-button.active {
  background-color: #2980b9;
  /* Change the background color when active */
  color: white;
}

.nav-button.active a {
  text-decoration: none;
  /* Remove underline from link */
  color: white;
}

.nav-button.active i {
  color: white;
}

.nav-button.active:hover {
  background-color: #3498db;
  /* Darker background when hovering over the active button */
}

/* Estilo para el pie del menú lateral */
#nav-footer {
  position: relative;
  width: var(--navbar-width);
  background: var(--navbar-dark-secondary);
  display: flex;
  flex-direction: column;
  transition: width .2s, height .2s;
  border-radius: 0; /* Borde rectangular */
}

#nav-footer-heading {
  display: flex;
  align-items: center;
  padding: 10px;
}

#nav-footer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%; /* Mantener avatar redondo */
  overflow: hidden;
}

#nav-footer-avatar img {
  height: 100%;
}

#nav-footer-titlebox {
  margin-left: 16px;
  font-size: 16px;
  color: var(--navbar-light-primary); /* Asegurarse que el texto del nombre del usuario se vea */
}

#nav-footer-subtitle {
  color: var(--navbar-light-secondary);
  font-size: .6rem;
}

#nav-toggle:not(:checked)~#nav-footer-toggle:checked+#nav-footer {
  height: 30%;
  min-height: 54px;
}

#nav-footer-toggle:checked ~ #nav-footer-heading i {
  transform: rotate(180deg); /* Flecha invertida cuando el contenido está desplegado */
}

#nav-footer-content {
  display: block !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

#nav-footer-toggle:checked ~ #nav-footer-content {
  max-height: 300px !important;
  opacity: 1 !important;
  overflow: auto !important;
}


#nav-footer-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#nav-footer-content::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background-color: #812529;
}

label[for="nav-footer-toggle"] {
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* Estilo para el contenedor de la tabla de listado de productos */
.nav-link {
  color: #000000;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: #fff;
  background-color: #18283b;
}

.nav-link:focus,
.nav-link:hover {
  color: #18283b;
}

.tab {
  color: #fff;
  overflow: hidden;
  border: 1px solid #18283b;
  background-color: #18283b;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #457b9d;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #457b9d;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
  height: 600px;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  padding: 10px;
}

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

.button-share {
  display: flex;
  /* Para que los botones se alineen horizontalmente */
  justify-content: flex-end;
  /* Alinea los botones al lado derecho */
  gap: 20px;
  /* Espacio entre botones */
  margin: 20px;
  /* Espacio superior opcional */
}

/* Estilo para los botones */
.report {
  background-color: #f1f1f1; /* Light gray background color */
  margin-top: 20px;
}


.header-report {
  display: flex;
  /* Flexbox layout */
  align-items: center;
  /* Center items vertically */
  justify-content: space-between;
  /* Space between the title and buttons */
  padding: 10px 0;
  /* Optional padding for spacing */
}

/* Style for the button container */
.button-share {
  display: flex;
  gap: 10px;
}

/* Style for individual buttons */
.button-share button {
  padding: 10px 20px;
  font-size: 1.5em;
  cursor: pointer;
  background-color: #EFEFEF;
  color: white;
  border: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

/* Hover effect for buttons */
.button-share button:hover {
  background-color: #a8dadc;
  color: #457b9d;
}

/* Login Page */
span {
  font-size: 12px;
}

a {
  color: #474747;
  font-size: 14px;
  text-decoration: none;
  margin: 15px 0;
}

button-login {
  border-radius: 20px;
  border: 1px solid #411315;
  background-color: #411315;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
}

button-login:active {
  transform: scale(0.95);
}

button-login:focus {
  outline: none;
}

button-login.ghost {
  background-color: transparent;
  border-color: #FFFFFF;
}

form {
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 50px;
  height: 100%;
  text-align: center;
}

input {
  background-color: #F6F4F4;
  border: none;
  padding: 12px 15px;
  margin: 8px 0;
  width: 100%;
}

.container-login {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  position: absolute;
  /* Permite posicionar el elemento relativo al contenedor más cercano */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Centra el contenedor respecto a su propio ancho y alto */
  overflow: hidden;
  width: 768px;
  max-width: 100%;
  min-height: 480px;
}


.form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}

.sign-in-container {
  left: 0;
  width: 50%;
  z-index: 2;
}

.container-login.right-panel-active .sign-in-container {
  transform: translateX(100%);
}

.sign-up-container {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
}

.container-login.right-panel-active .sign-up-container {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: show 0.6s;
}

@keyframes show {

  0%,
  49.99% {
    opacity: 0;
    z-index: 1;
  }

  50%,
  100% {
    opacity: 1;
    z-index: 5;
  }
}

.overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
  z-index: 100;
}

.container-login.right-panel-active .overlay-container {
  transform: translateX(-100%);
}

.overlay {
  background: #F6F4F4;
  background: rgb(0, 0, 0);
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(65, 19, 21, 1) 100%, rgba(255, 255, 255, 1) 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  color: #F6F4F4;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.container-login.right-panel-active .overlay {
  transform: translateX(50%);
}

.overlay-panel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  top: 0;
  height: 100%;
  width: 50%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.overlay-left {
  transform: translateX(-20%);
}

.container-login.right-panel-active .overlay-left {
  transform: translateX(0);
}

.overlay-right {
  right: 0;
  transform: translateX(0);
}

.container-login.right-panel-active .overlay-right {
  transform: translateX(20%);
}

.social-container {
  margin: 20px 0;
}

.social-container a {
  border: 1px solid #DDDDDD;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  height: 40px;
  width: 40px;
}

/* Defensa-regulatoria*/
/* the new tab */
.new-tab {
  display: flex;
  width: 100%;
  /* Asegura que el contenedor ocupe todo el ancho disponible */
}

.new-tab button {
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 17px;
  border-radius: 10px;
  transition: 0.3s;
  padding: 14px 24px;
  flex: 1;
  /* Hace que los botones ocupen todo el espacio disponible */
  margin: 0 5px;
  /* Opcional: para separar ligeramente los botones */
}

/* Change background color of buttons on hover */
.new-tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.new-tab button.new-active {
  background-color: #ccc;
}

/* Style the tab content */
.new-tabcontent {
  display: none;
  padding: 6px 12px;
}


/* tabla reporte de los productos*/
/* Estilos generales de la tabla */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.table-report th:nth-child(1),
.table-report td:nth-child(1) {
  width: 250px;
  /* Ancho específico para la primera columna */
  font-weight: 600;
}

.table-report a {
  color: blue;
  /* Hereda el color del texto circundante */
  text-decoration: none;
  /* Elimina el subrayado */
}

.table-report a:hover {
  color: #1d3557;
  /* Cambia el color al pasar el cursor (opcional) */
  text-decoration: underline;
  /* Subraya al pasar el cursor (opcional) */
}


th,
td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

th {
  background-color: #f4f4f4;
}

#tablaFiltros th,
#tablaFiltros td {
  width: auto;
  /* Deja que las demás columnas se ajusten automáticamente */
}

/* Boton para ver */
.highlight-button {
  background-color: #457b9d;
  color: white;
  border: none;
  padding: 8px 12px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s ease-in-out;
  /* Efecto de transición */
}

.highlight-button:hover {
  background-color: #a8dadc;
  /* Oscurece el botón al pasar el cursor */
}

/* Boton para editar */
.edit-button {
  background-color: #8392a5;
  color: white;
  border: none;
  padding: 8px 12px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s ease-in-out;
  /* Efecto de transición */
}

.edit-button:hover {
  background-color: #a8dadc;
  /* Oscurece el botón al pasar el cursor */
}


/* Style tab lista cliente para administradores */
#clientInput {
  background-image: url('/css/searchicon.png');
  background-position: 10px 10px;
  background-repeat: no-repeat;
  width: 100%;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
}

#tableClientes {
  max-height: 500px;
  /* Limita la altura total del contenedor */
  overflow-y: auto;
  /* Agrega scroll vertical si el contenido excede */
}

/* Contenedor Boton crear cliente en adm_manejo clientes*/
.crear-cliente {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  align-items: center; /* Centra horizontalmente */
  text-align: center; /* Centra el texto del h3 */
}


/* Estilo del botón "Crear Cliente" */
.create-client-btn {
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s ease-in-out;
}

.create-client-btn:hover {
  background-color: #0056b3;
}

/* Contenedor Boton crear prudcto en adm_perfilcliente*/
.crear-producto {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  align-items: center; /* Centra horizontalmente */
  text-align: center; /* Centra el texto del h3 */
}

/* Estilo del botón "Crear Producto" */
.crear-product-btn {
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s ease-in-out;
}

.crear-product-btn:hover {
  background-color: #0056b3;
}

/* Form "Crear Cliente" */
#regForm {
  background-color: #ffffff;
  margin: auto;
  padding: 40px;
  width: 70%;
  min-width: 600px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

input {
  padding: 10px;
  width: 100%;
  font-size: 17px;
  font-family: Raleway;
  border: 1px solid #aaaaaa;
  border-radius: 3px;
  box-sizing: border-box;
}

input.invalid {
  background-color: #f4a3a8;
}

.tab-clientcreator {
  display: none;
  text-align: left;
  padding: 10px;
  width: 500px;
}

input[type="checkbox"] {
  margin: 0; /* Eliminar márgenes del checkbox */
  width: 16px; /* Ajustar el tamaño del checkbox */
  height: 16px;
}

.tab-clientcreator label {
  display: flex; /* Usar flexbox para alinear checkbox y texto en la misma línea */
  align-items: center; /* Alinear verticalmente el texto y el checkbox */
  gap: 8px; /* Espaciado entre el checkbox y el texto */
  margin-bottom: 10px; /* Espaciado entre las opciones */
}

#prevBtn {
  background-color: #bbbbbb;
}

.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.step.active {
  opacity: 1;
}

.step.finish {
  background-color: #457b9d;
}

 /* Perfil cliente - adm_perfilcliente */
 .client-profile {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.profile-header {
  display: flex;
  align-items: center;
  background: #0056b3;
  color: #fff;
  padding: 20px;
}

.profile-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-right: 20px;
}

.profile-info h1 {
  margin: 0;
  font-size: 24px;
}

.client-type, .department {
  margin: 5px 0;
}

.profile-details {
  padding: 20px;
}

.profile-details h2 {
  color: #0056b3;
  margin-bottom: 10px;
}

.overview p {
  line-height: 1.6;
}

.contact p {
  margin: 5px 0;
}

/* Form "Crear Producto" */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Color Variables */
:root {
  --rojo: #e63946;
  --background: #EFEFEF;
  --gray-dark: #474747;
  --dark-ligh-blue: #457b9d;
  --tittle: #1d3557;
  --background: #a8dadc;
  --navbar-width: 256px;
  --navbar-width-min: 80px;
  --navbar-dark-primary: #18283b;
  --navbar-dark-secondary: #2c3e50;
  --navbar-light-primary: #f5f6fa;
  --navbar-light-secondary: #8392a5;
  --logo: #C2B3B6;
  --logo1: #594645;
  --logo2: #812529;
}

/* Font styling */
/* para pantallas grandes */
h1 {
  font-size: 2.5rem;
  color: #1d3557;
  font-weight: 700;
  margin-bottom: 20px;
}

h2 {
  font-size: 2rem;
  color: #457b9d;
  font-weight: 600;
  margin-bottom: 15px;
}

h3 {
  font-size: 1.5rem;
  color: #457b9d;
  margin-bottom: 10px;
  font-weight: 500;
  text-align: left;
}

body {
  font-family: Raleway, sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0 20px;
  display: inline-flex;
}

/* Estilos responsivos para tablets */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  body {
    font-size: 0.9rem;
  }
}

/* Estilos responsivos para móviles */
@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  body {
    font-size: 0.85rem;
  }
}

/* Layout styling */
.container {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 20px 20px 90px;
}

.box {
  width: 12em;
  height: 12em;
  text-align: center;
  line-height: 100px;
  font-size: 20px;
  border: 1px solid #000;
}

img {
  width: 100%;
}

.center {
  text-align: center;
}

/* Menu navigation */
#nav-title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

#nav-toggle:checked~#nav-header {
  width: calc(var(--navbar-width-min) - 16px);
}

#nav-toggle:checked~#nav-content,
#nav-toggle:checked~#nav-footer {
  width: var(--navbar-width-min);
}

#nav-toggle:checked~#nav-header #nav-title {
  opacity: 0;
  pointer-events: none;
  transition: opacity .1s;
}

#nav-toggle:checked~#nav-header label[for="nav-toggle"] {
  left: calc(50% - 8px);
  transform: translate(-50%);
}

#nav-toggle:checked~#nav-header #nav-toggle-burger {
  background: var(--navbar-light-primary);
}

#nav-toggle:checked~#nav-header #nav-toggle-burger::before,
#nav-toggle:checked~#nav-header #nav-toggle-burger::after {
  width: 16px;
  background: var(--navbar-light-secondary);
  transform: translate(0, 0) rotate(0deg);
}

#nav-toggle:checked~#nav-content .nav-button span {
  opacity: 0;
  transition: opacity .1s;
}

#nav-toggle:checked~#nav-content .nav-button .fas {
  min-width: calc(100% - 16px);
}

#nav-toggle:checked~#nav-footer #nav-footer-avatar {
  margin-left: 0;
  left: 50%;
  transform: translate(-50%);
}

#nav-toggle:checked~#nav-footer #nav-footer-titlebox,
#nav-toggle:checked~#nav-footer label[for="nav-footer-toggle"] {
  opacity: 0;
  transition: opacity .1s;
  pointer-events: none;
}

#nav-bar {
  position: absolute;
  left: 1vw;
  top: 1vw;
  height: calc(100% - 2vw);
  background: var(--navbar-dark-primary);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  color: var(--navbar-light-primary);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  overflow: hidden;
  user-select: none;
}

#nav-bar hr {
  margin-bottom: 8px;
  left: 16px;
  width: calc(100% - 32px);
  border: none;
  border-top: solid 1px var(--navbar-dark-secondary);
}

#nav-bar a {
  color: inherit;
  text-decoration: inherit;
}

#nav-bar input[type="checkbox"] {
  display: none;
}

#nav-header {
  position: relative;
  width: var(--navbar-width);
  left: 16px;
  width: calc(var(--navbar-width) - 16px);
  min-height: 80px;
  background: var(--navbar-dark-primary);
  border-radius: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  transition: width .2s;
}

#nav-header hr {
  position: absolute;
  bottom: 0;
}

#nav-title {
  font-size: 1.5rem;
  transition: opacity 1s;
}

label[for="nav-toggle"] {
  position: absolute;
  right: 0;
  width: 3rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#nav-toggle-burger {
  position: relative;
  width: 16px;
  height: 2px;
  background: var(--navbar-dark-primary);
  border-radius: 99px;
  transition: background .2s;
}

#nav-toggle-burger::before,
#nav-toggle-burger::after {
  content: '';
  position: absolute;
  top: -6px;
  width: 10px;
  height: 2px;
  background: var(--navbar-light-primary);
  border-radius: 99px;
  transform: translate(2px, 8px) rotate(30deg);
  transition: .2s;
}

#nav-toggle-burger::after {
  top: 6px;
  transform: translate(2px, -8px) rotate(-30deg);
}

#nav-content {
  margin: -16px 0;
  padding: 16px 0;
  position: relative;
  flex: 1;
  width: var(--navbar-width);
  background: var(--navbar-dark-primary);
  box-shadow: 0 0 0 16px var(--navbar-dark-primary);
  direction: rtl;
  overflow-x: hidden;
  transition: width .2s;
}

#nav-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#nav-content::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background-color: var(--rojo);
}

#nav-content::-webkit-scrollbar-button {
  height: 16px;
}

#nav-content-highlight {
  position: absolute;
  left: 16px;
  top: -54 - 16px;
  width: calc(100% - 16px);
  height: 54px;
  background: var(--background);
  background-attachment: fixed;
  border-radius: 16px 0 0 16px;
  transition: top .2s;
}

#nav-content-highlight::before,
#nav-content-highlight::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 16px 16px var(--background);
}

#nav-content-highlight::after {
  top: 100%;
  box-shadow: 16px -16px var(--background);
}

.nav-button {
  margin-left: 16px;
  height: 50px;
  align-items: center;
  color: var(--navbar-light-secondary);
  direction: ltr;
  cursor: pointer;
  z-index: 1;
  transition: color .2s;
  text-decoration: none;
}

.nav-button span {
  transition: opacity 1s;
}

.nav-button .fas {
  transition: min-width .2s;
}

#nav-bar .fas {
  min-width: 3rem;
  text-align: center;
}

/* Styling for the active button */
.nav-button.active {
  background-color: #457b9d;
  color: white;
}

.nav-button.active a {
  text-decoration: none;
  color: white;
  text-decoration: none;
}

.nav-button.active i {
  color: white;
  text-decoration: none;
}

.nav-button.active:hover {
  background-color: #457b9d;
  text-decoration: none;
}

#nav-footer {
  position: relative;
  width: var(--navbar-width);
  height: 54px;
  background: var(--navbar-dark-secondary);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  transition: width .2s, height .2s;
}

#nav-footer-heading {
  position: relative;
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
}

#nav-footer-avatar {
  position: relative;
  margin: 11px 0 11px 16px;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  transform: translate(0);
  transition: .2s;
}

#nav-footer-avatar img {
  height: 100%;
}

#nav-footer-titlebox {
  position: relative;
  margin-left: 16px;
  width: 10px;
  display: flex;
  flex-direction: column;
  transition: opacity 1s;
}

#nav-footer-subtitle {
  color: var(--navbar-light-secondary);
  font-size: .6rem;
}

#nav-toggle:not(:checked)~#nav-footer-toggle:checked+#nav-footer {
  height: 30%;
  min-height: 54px;
}

label[for="nav-footer-toggle"] {
  position: absolute;
  right: 0;
  width: 3rem;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: transform .2s, opacity .2s;
}

/* Estilo para el contenedor de la tabla de listado de productos */
.nav-link {
  color: #000000;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: #fff;
  background-color: #18283b;
}

.nav-link:focus,
.nav-link:hover {
  color: #18283b;
}

.tab {
  color: #fff;
  overflow: hidden;
  border: 1px solid #18283b;
  background-color: #18283b;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #457b9d;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #457b9d;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
  height: 600px;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  padding: 10px;
}

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

.button-share {
  display: flex;
  /* Para que los botones se alineen horizontalmente */
  justify-content: flex-end;
  /* Alinea los botones al lado derecho */
  gap: 20px;
  /* Espacio entre botones */
  margin: 20px;
  /* Espacio superior opcional */
}

/* Estilo para los botones */
.report {
  /* background-color:; */
  /* Light gray background color */
  margin-top: 20px;
}

.header-report {
  display: flex;
  /* Flexbox layout */
  align-items: center;
  /* Center items vertically */
  justify-content: space-between;
  /* Space between the title and buttons */
  padding: 10px 0;
  /* Optional padding for spacing */
}

/* Style for the button container */
.button-share {
  display: flex;
  gap: 10px;
}

/* Style for individual buttons */
.button-share button {
  padding: 10px 20px;
  font-size: 1.5em;
  cursor: pointer;
  background-color: #EFEFEF;
  color: white;
  border: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

/* Login Page */
span {
  font-size: 12px;
}

a {
  color: #007bff;
  font-size: 14px;
  text-decoration: none;
  margin: 15px 0;
}

button-login {
  border-radius: 20px;
  border: 1px solid #411315;
  background-color: #411315;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
}

button-login:active {
  transform: scale(0.95);
}

button-login:focus {
  outline: none;
}

button-login.ghost {
  background-color: transparent;
  border-color: #FFFFFF;
}

form {
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 50px;
  height: 100%;
  text-align: center;
}

input {
  background-color: #F6F4F4;
  border: none;
  padding: 12px 15px;
  margin: 8px 0;
  width: 100%;
}

.container-login {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  position: absolute;
  /* Permite posicionar el elemento relativo al contenedor más cercano */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Centra el contenedor respecto a su propio ancho y alto */
  overflow: hidden;
  width: 768px;
  max-width: 100%;
  min-height: 480px;
}


.form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}

.sign-in-container {
  left: 0;
  width: 50%;
  z-index: 2;
}

.container-login.right-panel-active .sign-in-container {
  transform: translateX(100%);
}

.sign-up-container {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
}

.container-login.right-panel-active .sign-up-container {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: show 0.6s;
}

@keyframes show {

  0%,
  49.99% {
    opacity: 0;
    z-index: 1;
  }

  50%,
  100% {
    opacity: 1;
    z-index: 5;
  }
}

.overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
  z-index: 100;
}

.container-login.right-panel-active .overlay-container {
  transform: translateX(-100%);
}

.overlay {
  background: #F6F4F4;
  background: rgb(0, 0, 0);
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(65, 19, 21, 1) 100%, rgba(255, 255, 255, 1) 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  color: #F6F4F4;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.container-login.right-panel-active .overlay {
  transform: translateX(50%);
}

.overlay-panel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  top: 0;
  height: 100%;
  width: 50%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.overlay-left {
  transform: translateX(-20%);
}

.container-login.right-panel-active .overlay-left {
  transform: translateX(0);
}

.overlay-right {
  right: 0;
  transform: translateX(0);
}

.container-login.right-panel-active .overlay-right {
  transform: translateX(20%);
}

.social-container {
  margin: 20px 0;
}

.social-container a {
  border: 1px solid #DDDDDD;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  height: 40px;
  width: 40px;
}

/* Defensa-regulatoria*/
/* the new tab */
.new-tab {
  display: flex;
  width: 100%;
  /* Asegura que el contenedor ocupe todo el ancho disponible */
}

.new-tab button {
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 17px;
  border-radius: 10px;
  transition: 0.3s;
  padding: 14px 24px;
  flex: 1;
  /* Hace que los botones ocupen todo el espacio disponible */
  margin: 0 5px;
  /* Opcional: para separar ligeramente los botones */
}

/* Change background color of buttons on hover */
.new-tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.new-tab button.new-active {
  background-color: #ccc;
}

/* Style the tab content */
.new-tabcontent {
  display: none;
  padding: 6px 12px;
}

/* tabla reporte de los productos*/
/* Estilos generales de la tabla */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.table-report th:nth-child(1),
.table-report td:nth-child(1) {
  width: 250px;
  /* Ancho específico para la primera columna */
  font-weight: 600;
}

.table-report a {
  color: blue;
  /* Hereda el color del texto circundante */
  text-decoration: none;
  /* Elimina el subrayado */
}

.table-report a:hover {
  color: #1d3557;
  /* Cambia el color al pasar el cursor (opcional) */
  text-decoration: underline;
  /* Subraya al pasar el cursor (opcional) */
}


th,
td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

th {
  background-color: #f4f4f4;
}

#tablaFiltros th,
#tablaFiltros td {
  width: auto;
  /* Deja que las demás columnas se ajusten automáticamente */
}

/* Boton para ver */
.highlight-button {
  background-color: #457b9d;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s ease-in-out; /* Efecto de transición */
}

.highlight-button:hover {
  background-color: #007bff;
  /* Oscurece el botón al pasar el cursor */
}


.updateButton {
  background-color: white;
  color: #457b9d;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s ease-in-out;
}

.updateButton:hover {
  text-decoration: underline; /* Agrega el subrayado solo al pasar el cursor */
}

.deleteButton {
  background-color: white;
  color: #e63946;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s ease-in-out;
}

.deleteButton:hover {
  text-decoration: underline; /* Agrega el subrayado solo al pasar el cursor */
}

.añadirfila-button {
  background-color: #457b9d;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s ease-in-out; /* Efecto de transición */
}

.guardar-button {
  background-color: #3a86ff;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s ease-in-out; /* Efecto de transición */
}

.buttons-inline {
  display: flex;
  justify-content: flex-end;
  gap: 15px; /* Espaciado entre los botones */
  margin-bottom: 10px; /* Espaciado inferior */
}

/* Boton para editar */
.edit-button {
  background-color: #8392a5;
  color: white;
  border: none;
  padding: 8px 12px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s ease-in-out;
  /* Efecto de transición */
}

.edit-button:hover {
  background-color: #a8dadc;
  /* Oscurece el botón al pasar el cursor */
}


/* Style tab lista cliente para administradores */
#clientInput {
  background-image: url('/css/searchicon.png');
  background-position: 10px 10px;
  background-repeat: no-repeat;
  width: 100%;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
}

#tableClientes {
  overflow-y: auto;
}

/* Contenedor Boton crear cliente en adm_manejo clientes*/
.crear-cliente {
  justify-content: space-between;
  margin: 20px;
  text-align: right;
  /* Centra el texto del h3 */
}


/* Estilo del botón "Crear Cliente" */
.create-client-btn {
  padding: 20px;
  background-color: #457b9d;
  color: white;
  border: none;
  font-weight: bold;
  border-radius: 12px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s ease-in-out;
}

.create-client-btn:hover {
  background-color: #0056b3;
}

/* Estilo del botón "Crear Producto" */
.crear-product-btn {
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s ease-in-out;
}

.crear-product-btn:hover {
  background-color: #0056b3;
}

/* Form "Crear Cliente" */
#regForm {
  background-color: #ffffff;
  margin: 20px 0;
  padding: 40px;
  width: 100%;
  min-width: 600px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

input {
  padding: 10px;
  width: 100%;
  font-size: 17px;
  font-family: Raleway;
  border: 1px solid #aaaaaa;
  border-radius: 3px;
  box-sizing: border-box;
}

input.invalid {
  background-color: #f4a3a8;
}

.tab-clientcreator {
  display: none;
  text-align: left;
  padding: 10px;
  width: 500px;
}

input[type="checkbox"] {
  margin: 0;
  /* Eliminar márgenes del checkbox */
  width: 16px;
  /* Ajustar el tamaño del checkbox */
  height: 16px;
}

.tab-clientcreator label {
  display: flex;
  /* Usar flexbox para alinear checkbox y texto en la misma línea */
  align-items: center;
  /* Alinear verticalmente el texto y el checkbox */
  gap: 8px;
  /* Espaciado entre el checkbox y el texto */
  margin-bottom: 10px;
  /* Espaciado entre las opciones */
}

#prevBtn {
  background-color: #bbbbbb;
}

.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.step.active {
  opacity: 1;
}

.step.finish {
  background-color: #457b9d;
}

/* Perfil cliente - adm_perfilcliente */
.client-profile {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

/* Encabezado del cliente */
.profile-header {
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #457b9d, #1d3557);
  color: #fff;
  padding: 20px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-header h2 {
  margin: 0;
  font-size: 32px;
  color: white;
}

/* Secciones */
.profile-section {
  padding: 20px;
  border-radius: 8px;
  margin: 15px;
}

.profile-section h4 {
  margin-top: 0;
  color: #457b9d;
  border-bottom: 1px solid #8392a5;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

/* Estilos para párrafos */
.profile-section p {
  margin: 8px 0;
  color: #555;
}

.profile-section strong {
  color: #1d3557;
}

/* Alinear columnas */
.profile-details {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.profile-column {
  flex: 1;
}

/* Iconos en los títulos */
.profile-section h3 i {
  margin-right: 8px;
  color: #1d3557;
}

/* Listado de productos pag Perfil Cliente */
.client-profile-products {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
  padding: 20px;
}

#ficha-producto-adm td:first-child {
  font-weight: bold;
}

 /* Estilos para el Modal */
 .modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto; /* Reduce el margen superior para aprovechar más espacio */
  padding: 20px;
  width: 85%;
  max-width: 1000px;
  max-height: 80vh; /* Limita la altura al 80% de la ventana */
  overflow-y: auto; /* Habilita el scroll si el contenido es muy largo */
  border-radius: 5px;
  position: relative;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  width: 40px;  /* Set width to create a perfect circle */
  height: 40px; /* Set height to match width */
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  background-color: white; /* White background circle */
  color: #e63946; /* Red "X" color */
  border: none; /* Remove default button border */
  border-radius: 50%; /* Makes it a perfect circle */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: Adds shadow for better visibility */
}


/* Calendario de Obligaciones Legales Adm*/
.calendar-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

#login-button {
  display: block;
  margin: 0 auto 20px;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #457b9d;;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#login-button:hover {
  background-color: #0078D7;
}

#calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.event {
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.event:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.reminder-form {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reminder-form h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #555;
}

.reminder-form input, .reminder-form button {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.reminder-form button {
  background-color: #457b9d;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.reminder-form button:hover {
  background-color: #0078D7;
}


/* Home Adm - Dashboard*/
/* Estilos generales */
.dashboard-container, .important-dates, .news {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border: 1px solid #e0e0e0;
  margin: 20px auto;
}

/* Dashboard */
.dashboard-important-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 20px auto;
}

.dashboard-container, .important-dates {
  flex: 1 1 calc(50% - 20px);
  min-width: 300px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.stat-card {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 12px;
  background: #457b9d;
  color: white;
  padding: 15px;
  border-radius: 50%;
  margin-right: 15px;
}

.stat-content {
  flex: 1;
}

.stat-content p {
  font-size: 24px;
  font-weight: bold;
  color: #457b9d;
  margin: 0;
}

.industry-stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  color: #333;
}

/* Fechas importantes y mensajes */
.important-dates li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.date-time {
  font-weight: bold;
  color: #457b9d;
  min-width: 120px;
  text-align: center;
  background: #f5f6fa;
  padding: 8px;
  border-radius: 8px;
}

.date-info p {
  color: #555;
  font-size: 14px;
  margin: 5px 0;
}

.important-dates.mensajes {
  max-height: 450px;
  overflow-y: auto;
}

.view-more {
  text-align: right;
  margin-top: 20px;
}

/* Tablas */
.report-list table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
}

.report-list th, .report-list td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
  font-size: 14px;
}

.report-list th {
  background: #457b9d;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
}

.report-list tr:nth-child(even) {
  background: #f2f2f2;
}

.edit-button {
  background: #365f7d;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 12px;
  text-transform: uppercase;
}

.edit-button:hover {
  background: #244a5e;
}

/* Responsividad */
@media screen and (max-width: 768px) {
  .dashboard-important-container {
    flex-direction: column;
  }
}

/* Formulario de boletín */
.news form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news form input, .news form textarea {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
}

.news form button {
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #457b9d;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.news form button:hover {
  background: #365f7d;
}

.industry-select {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

/* Bandeja de Entrada */
.body-sidebar {
    display: flex;
    height: 600px;
}
.sidebar {
    width: 25%;
    background: #ffffff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-y: auto;
}
.sidebar h3 {
    margin: 0 0 20px;
    font-size: 1.2em;
}
.conversation {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.3s;
}
.conversation:hover {
    background: #f0f0f0;
}
.conversation.active {
    background: #007bff;
    color: white;
}
.chat-container {
    width: 75%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 20px;
    overflow-y: auto;
}
.chat-header {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
}
.chat-box {
    flex-grow: 1;
    overflow-y: auto;
}
.message {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: inline-block;
    max-width: 70%;
}
.client {
    background: #e3e3e3;
    align-self: flex-start;
}
.lawyer {
    background: #d4edda;
    align-self: flex-end;
}
.timestamp {
    font-size: 0.8em;
    color: gray;
    margin-top: 5px;
    display: block;
}
.input-box {
    display: flex;
    margin-top: 20px;
}
.input-box input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.input-box button {
    margin-left: 10px;
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}
