/* assets/css/style.css */

/* Ajustes globales */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background-color: #eee;
  overflow-x: hidden;
}

/* Layout principal usando Flex */
.main-wrapper {
  display: flex;
  height: 100vh; /* Alto completo de la ventana */
  overflow: hidden;
}

/* Sidebar: menú lateral */
.sidebar {
  width: 250px;
  background-color: #f8f9fa;
  border-right: 1px solid #ddd;
  padding: 15px;
  box-sizing: border-box;
  overflow-y: none;
}

/* Estilos del menú dentro del sidebar */
.sidebar .logo {
  display: block;
  margin: 0 auto 15px;
  max-width: 100%;
  height: auto;
}
.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-menu li {
  margin-bottom: 10px;
}
.nav-menu li a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 10px;
  border-radius: 4px;
}
.nav-menu li a.active {
  background-color: #111111;
  color: #fff;
}
.nav-menu li a i {
  margin-right: 6px;
}

/* Contenedor de contenido a la derecha */
.content {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

/* División interna en 2 columnas iguales (50/50) */
.row-50 {
  display: flex;
  gap: 20px;
  /* Forzamos que no se haga wrapping en pantallas grandes */
  flex-wrap: nowrap;
}
.col-50 {
  flex: 1 1 50%;
  box-sizing: border-box;
}

/* Responsivo: si la pantalla es muy pequeña, apilar */
@media (max-width: 768px) {
  .row-50 {
    flex-wrap: wrap;
  }
  .col-50 {
    flex: 1 1 100%;
  }
}

/* Cabecera interna de cada sección */
.header-page {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.custom-alert {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1055;
}

.btn-group, .btn-group-vertical {
    --mdb-btn-box-shadow: none;
    --mdb-btn-hover-box-shadow: none;
    --mdb-btn-focus-box-shadow: none;
    --mdb-btn-active-box-shadow: none;
    box-shadow: none;
}

.fc-toolbar h2:first-letter { text-transform: uppercase; }

.fc th {
    text-transform: capitalize;
}

/* Agregar imagen de fondo al contenedor de login */
.gradient-custom-2 {
  background: url('../img/login-bg.webp') no-repeat center center;
  background-size: cover;
}
