.mi-calendario-grid {
  display: flex;
  gap: 20px;
}

.mi-calendario {
  table-layout: fixed;
  width: 70%; /* o 100% si prefieres */
}

.mi-calendario th, .mi-calendario td {
  border: 1px solid #ddd;
  width: 20%;        /* 100% / 5 columnas = 20% */
 height: fit-content;
  vertical-align: top;
  padding: 6px;
}

.mi-calendario td strong {
  display: block;
  margin-bottom: 5px;
}

.mi-calendario-detalle {
  flex: 1;
  border: 1px solid #ddd;
  padding: 15px;
  background: #fafafa;
  max-height: 600px;
  overflow-y: auto;
  
}

.mi-calendario-detalle h3{
     color: #0026b2 !important; 
}
.evento {
  font-size: 12px;
  margin: 3px 0;
  cursor: pointer;
color: #0026b2;
    background: #e5f1ff;
    padding: 1rem;
    border-radius: 3px; font-weight: 700;
}
.evento:hover { text-decoration: underline; }

.mi-calendario-nav {
    width: 70%;
    text-transform: uppercase;
    color: #0078ff; 
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    border-radius: 3px;
    background: #fbfbfb;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center ;
}

.mi-calendario-nav a {
  text-decoration: none;
  font-weight: bold;
  color: white !important;
  padding: 1rem;
  background: #0078ff; 
  border-radius: 3px;
  line-height: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .mi-calendario-grid {
    flex-direction: column;
  }
  .mi-calendario {
    width: 100%;
  }
.mi-calendario-nav {
    width: 100%;
}    
}