.container-base{
    top:0;
    left:0;
    width:100%;
    height: 100%;
    display:flex;
    position:fixed !important;
}
.box1{
    display:flex;
    padding:0;
    border:thin solid gray;
}

.footer-container{
    width:100%;
    height: 20px;
    padding:10px;
    display:flex;
}
.row-container{
    display: flex;
    width:100%;
    padding: 10px;
    flex-direction: column;
    
}
.title-container{
    width:100%;
    height: 60px;
    padding:10px;
    border-bottom: thin solid #eee;
    display:flex;
    justify-content: space-between;
}
.central-container{
    display:flex;
    flex-direction: column;
    padding:10px;
    width:100%;
    
}
.container-main{
    display:flex;
    flex-direction: row;
    width:  100%;
    height: 100%;
    top:0;
    left:0;
    padding:0;
    margin:0;
    position:fixed;
}
.container-right{
    flex:1;
    overflow-y:scroll;
    display:flex;
    flex-direction:column;
    padding-bottom: 100px;
    margin-left: 8px;
    margin-top: 8px;
}
.container-bottom{
    display:flex;
    height:70px;
    padding:2px;
    background-color: #f2f2f2;
    width:100%;
    z-index: 100;
    border-top: thin solid black;
}
.container-bottom input[type="text"]{
    margin-left:5px;
    margin-right:5px;
    text-align: right;
}
.container-center{
    display:flex;
    align-items: center;
    justify-content: center;
    padding:25px;
    width:  100%;
    height: 100%;
}
.container-login .div-footer{
    width:100%;
    display:flex;
    position:absolute;
    bottom:0;
}
.container-login .header{
    width:100%;
    display:flex;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    height:30px;
    border-bottom: thin solid #ccc;
}
.container-login .body{
    width:100%;
    display:flex;
    flex:1;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}
.container-login{
    width:450px;
    height:  350px;
    border-radius: 10px;
    box-shadow: 2px 3px 8px gray;
    background-color: white;
    padding :30px;
    display:flex;
    color:#333;
    opacity: 0;
    position:relative;
    flex-direction: column;
    animation: animacion-div-login 0.3s ease-in-out forwards;
}
@keyframes animacion-div-login{
    0%      { 
        transform: translateY(20px);
        opacity:0;       
    }
    50%     { 
        transform: translateY(10px);
        opacity:0.5;       
    }
    100%    { 
        transform: translateY(0);
        opacity:100;       
    }
}
.container-h{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}
.container-50{
    display:flex;
    flex-direction: column;
    width:50%;
    padding-top:20px;
}
.container-form{
    display:flex;
    flex-direction: column;
    font-size: 14px !important;
}
.container-form input[type="text"]{
    width:100%;
    padding:5px;
    font-size: 12px;
    margin-bottom:15px;
    border:thin solid #ddd;
    display:flex;
    align-items: center;
}
.container-form input[type="text"]:focus{
    border: 2px solid #00796b;
}
.container-form label{
    width:100%;
    color:#333;
    font-size: 12px;
}

@media only screen and (max-width: 600px) {
    .container-login{
        width:250px;
    }
}
.container-w-alcentro{
    display:flex;
    width:100%;
    height: 100%;
    align-items: center;
    flex-direction: column;
    padding-top:100px;
}
.container-w-alcentro .container {
    display:flex;
    max-width: 750px;
    flex-direction: column;
    border:thin solid #ccc;
    background-color: white;
    border-radius: 8px;
    box-shadow: 1px 1px 5px gray;
}
.container-w-alcentro .title {
    background-color: #eee;
    border-radius: 8px 8px 0 0;
    height: 30px;
    padding:10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.container-w-alcentro .footer {
    background-color: #eee;
    border-radius: 0 0 8px 8px;
    height: 40px;
    padding:10px;
    display: flex;
    justify-content: center;
}
.container-w-alcentro .center {
    background-color: white;
    padding:10px;
    padding-bottom:25px;
}
.panel-central{
    display:flex;
    /* flex-grow: 1; */
    flex-direction: column;
    flex:1;
    box-sizing: border-box; /* muy importante */
    overflow-x: auto; /* si algo es muy ancho, permite scroll horizontal */
}
.panel-body{
    display:flex;
    flex-direction: column;
    align-items: center;
    width:100%;
    overflow-y: scroll;
    flex:1;
    padding-bottom:200px;
}
.panel-footer{
    display:flex;
    position: relative;
    bottom:0;
    height: 150px;
}
.panel-footer-menu{
    display:flex;
    padding:8px;
    position: relative;
    bottom:0;
    width:100%;
    height: 45px;
    margin-top: auto;
}
.panel-top{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 65px;
    padding:10px;
    border-bottom: thin solid #ccc;
}
.panel-side{
    display:flex;
    min-width: 190px;
    max-width: 190px;
    border-right: thin dotted grey;
    flex-direction: row;
    overflow-x: scroll;
}
.panel-menu{
    display:flex;
    flex-direction: row;
}

.panel-logo{
    display:flex;
    width: 100%;
    height: 200px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}


.container-toolbar .center-label {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    font-weight: bold;
}


/* modal overlay */
.container-modal {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(3,3,3,0.2); /* usar rgba con alpha */
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease, visibility 180ms;
  pointer-events: auto;
}

/* estado oculto (invisible y sin interacción) */
.container-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
}

/* caja interior */
.container-modal .box {
  background-color: #fff;
  border: 1px solid #ccc;
  width: 500px;
  max-width: calc(100% - 40px);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.24);
  transform: translateY(0);
}

/* cabecera, cuerpo y footer */
.container-modal .box .title {
  background-color: #efefef;
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
}
.container-modal .box .body {
  padding: 16px;
  display:flex;
  flex-direction: column;
  gap: 8px;
  max-height: 60vh;
  overflow:auto;
}
.container-modal .box .footer {
  display:flex;
  justify-content: flex-end;
  padding: 10px 12px;
  background: #f7f7f7;
}
.container-toolbar{
    width:98%;
    height:35px;
    margin-left:8px;
    margin-right:8px;
    background-color: #f2f2f2;
    padding:2px;
    padding-left:9px;
    padding-right:9px;
    display:flex;
    justify-content: flex-end;
    border: thin solid #ccc;
    box-shadow: 2px 2px 3px gray;
    border-radius: 8px;
}

/* MODAL PARA LA LISTA*//* Modal overlay */
.container-modal-partida {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: opacity 200ms ease, visibility 200ms ease;
  pointer-events: auto;
}

/* Ocultar modal (agrega clase container-hidden si deseas ocultarlo) */
.container-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Caja del modal */
.container-modal-partida .box {
  background-color: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Título */
.container-modal-partida .title {
  background-color: #f0f0f0;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  font-weight: bold;
  font-size: 18px;
  border-bottom: 1px solid #ccc;
}

/* Cuerpo */
.container-modal-partida .body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}





@media (max-width: 768px) {
  .container-modal-partida .box {
    width: 95%;
    max-height: 95vh;
  }

  .tabla-diario th,
  .tabla-diario td {
    font-size: 13px;
    padding: 8px;
  }

  .button {
    font-size: 13px;
    padding: 5px 10px;
  }
}


.reportes-container {
  width: 100%;
  height: 100%;
  margin: 0 auto;     /* centrar en la pantalla */
  padding: 20px;
  background-color: #f3efef;
  box-sizing: border-box;
}

