/* Fondo general */
body {
  background: #f7f7f7;
  margin: 0 !important;
  padding: 0 !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333;
}

/* Barra de navegación */
.navbar {
  margin-bottom: 5px !important;  /* Reducir margen inferior */
  min-height: 40px !important;    /* Compactar la altura */
}
.navbar-brand {
  font-weight: 700;
  font-size: 16px;
}

/* Contenedor principal */
.container, .content {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

/* Tablas más compactas */
.table {
  margin-bottom: 5px !important;
  font-size: 13px;
}
.table th, .table td {
  padding: 4px 6px !important;  /* Reducir alto de filas */
  vertical-align: middle;
}

/* Formularios y botones */
.form-control {
  padding: 4px 6px !important;
  height: auto !important;
}
.btn {
  padding: 3px 8px !important;
  font-size: 13px !important;
}

/* Jumbotron (si se usa) */
.jumbotron {
  background: #fff;
  border: 1px solid #eee;
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  padding: 10px !important;
}

/* Encabezados */
h1, h2, h3, h4 {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  font-weight: 600;
}
/* Forzar que el contenido ocupe toda la pantalla sin espacio extra abajo */
html, body {
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body > .container,
body > .content {
  min-height: calc(100vh - 50px) !important; /* ajusta según altura de navbar */
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Quitar margen innecesario en la parte inferior */
footer, .footer, .page-footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

html, body {
  height: auto !important;
  min-height: auto !important;
}
.container-fluid {
  min-height: auto !important;
}
html, body {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.container, .container-fluid, .content {
  min-height: unset !important;
  height: auto !important;
}


/* =========================
   PRISMA CORE �C Azul Marino
   ========================= */

.navbar-inverse {
  background-color: #D16F00 !important;   /* azul marino */
  border-color: #9E5603 !important;
}

.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a {
  color: #ffffff !important;
}

/* Hover / focus */
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  background-color: #945E03 !important;
  color: #ffffff !important;
}

/* Toggle m��vil */
.navbar-inverse .navbar-toggle {
  border-color: rgba(255,255,255,.4) !important;
}
.navbar-inverse .navbar-toggle .icon-bar {
  background-color: #ffffff !important;
}


/* Bootstrap dropdown-submenu helper */
.dropdown-submenu { position: relative; }
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
}
.dropdown-submenu:hover > .dropdown-menu { display: block; }
.dropdown-submenu > a:after {
  content: " ";
  float: right;
  width: 0; height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}
.dropdown-submenu:hover > a:after { border-left-color: #fff; }
