.button{
    padding:6px;
    padding-left:9px;
    padding-right:9px;
    border:none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color   0.2s ease-in-out; /* Transición suave */    
    -webkit-transition: box-shadow 0.2s ease-in-out; /* Transición suave */       
    border: thin solid #ddd;
    
}
.button:hover{
    box-shadow: 1px 1px 5px gray;
}
.button1{
    background-color: dodgerblue;
    color:white;
    padding:6px;
    padding-left:9px;
    padding-right:9px;
    border:none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color   0.2s ease-in-out; /* Transición suave */    
    -webkit-transition: box-shadow 0.2s ease-in-out; /* Transición suave */       
}

#guardar-container {
  position: fixed;
  bottom: 20px;
  right: 50px;
  transform: translateX(-50%);
  display: none;
  z-index: 1000;
}


#guardar-container.mostrar {
  display: block;
}

.panel-body-p {
  padding-bottom: 10px; /*  */
  display:flex;
    flex-direction: column;
    align-items: center;
    width:100%;
    overflow-y: scroll;
    flex:1;
}

/* botones reportes */

.btn-reporte {
  display: inline-block;
  padding: 8px 18px;
  margin: 5px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Colores personalizados */
.btn-diario {
  background: linear-gradient(135deg, #4a90e2, #357ABD);
}
.btn-mayor {
  background: linear-gradient(135deg, #27ae60, #1e8449);
}
.btn-balance {
  background: linear-gradient(135deg, #f39c12, #d35400);
}

/* Hover efecto */
.btn-reporte:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Active (clic) */
.btn-reporte:active {
  transform: scale(0.96);
}


/* Botón pequeño al lado del select */
.btn-icon {
  background: #4aa3df;       /* celeste suave */
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background: #378fc7;       /* un poco más fuerte al pasar el mouse */
  transform: scale(1.05);
}

.btn-icon i {
  margin: 0; /* ícono centrado sin márgenes extra */
}

.btn-verde {
    background-color: #357737; /* verde atractivo pero no muy fuerte */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-verde:hover {
    background-color: #45a049; /* verde un poco más oscuro al pasar el mouse */
}

.panel-top {
    display: flex;
    align-items: center;           /* Centra verticalmente los elementos */
    justify-content: space-between; /* Espacio entre título y botones */
    gap: 10px;                     /* Separación entre elementos */
}

/* Botón hamburguesa oculto en escritorio */
/* Contenedor flex */
.container-base {
    display: flex;
    width: 100%;
}

/* Panel lateral */
.panel-side {
    width: 200px;
    min-width: 200px;
    transition: transform 0.3s ease;
}

/* Panel central ocupa el resto */
.panel-central {
    flex-grow: 1;
    transition: margin-left 0.3s ease;
}

/* Botón hamburguesa oculto en escritorio */
.hamburger-btn {
    display: none;
    padding: 5px 10px;
}

/* Media query para tablet/móvil */
@media (max-width: 1030px) {
    .hamburger-btn {
        display: inline-flex;
    }

    /* Lateral oculto por defecto */
    .panel-side {
        transform: translateX(-100%);
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 1000;
        background-color: #f8f9fa; /* fondo panel lateral */
    }

    /* Ajustar panel central cuando lateral oculto */
    .panel-central {
        margin-left: 0;
        width: 100%;
    }

    /* Lateral visible cuando se presiona el botón */
    .panel-side.show {
        transform: translateX(0);
        position: relative;

    }
}

