/* Variables de colores similares a AdminLTE */
:root {
  --primary: #007bff;
  --info: #17a2b8;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --secondary: #6c757d;
  --light: #f8f9fa;
  --dark: #343a40;
  --white: #ffffff;
  --sidebar-width: 250px;
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 13, 110, 253;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-primary-text-emphasis: #052c65;
  --bs-secondary-text-emphasis: #2b2f32;
  --bs-success-text-emphasis: #0a3622;
  --bs-info-text-emphasis: #055160;
  --bs-warning-text-emphasis: #664d03;
  --bs-danger-text-emphasis: #58151c;
  --bs-light-text-emphasis: #495057;
  --bs-dark-text-emphasis: #495057;
  --bs-primary-bg-subtle: #cfe2ff;
  --bs-secondary-bg-subtle: #e2e3e5;
  --bs-success-bg-subtle: #d1e7dd;
  --bs-info-bg-subtle: #cff4fc;
  --bs-warning-bg-subtle: #fff3cd;
  --bs-danger-bg-subtle: #f8d7da;
  --bs-light-bg-subtle: #fcfcfd;
  --bs-dark-bg-subtle: #ced4da;
  --bs-primary-border-subtle: #9ec5fe;
  --bs-secondary-border-subtle: #c4c8cb;
  --bs-success-border-subtle: #a3cfbb;
  --bs-info-border-subtle: #9eeaf9;
  --bs-warning-border-subtle: #ffe69c;
  --bs-danger-border-subtle: #f1aeb5;
  --bs-light-border-subtle: #e9ecef;
  --bs-dark-border-subtle: #adb5bd;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-font-sans-serif: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg: #fff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-emphasis-color: #000;
  --bs-emphasis-color-rgb: 0, 0, 0;
  --bs-secondary-color: rgba(33, 37, 41, 0.75);
  --bs-secondary-color-rgb: 33, 37, 41;
  --bs-secondary-bg: #e9ecef;
  --bs-secondary-bg-rgb: 233, 236, 239;
  --bs-tertiary-color: rgba(33, 37, 41, 0.5);
  --bs-tertiary-color-rgb: 33, 37, 41;
  --bs-tertiary-bg: #f8f9fa;
  --bs-tertiary-bg-rgb: 248, 249, 250;
  --bs-heading-color: inherit;
  --bs-link-color: #0d6efd;
  --bs-link-color-rgb: 13, 110, 253;
  --bs-link-decoration: underline;
  --bs-link-hover-color: #0a58ca;
  --bs-link-hover-color-rgb: 10, 88, 202;
  --bs-code-color: #d63384;
  --bs-highlight-color: #212529;
  --bs-highlight-bg: #fff3cd;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 2rem;
  --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  --bs-border-radius-pill: 50rem;
  --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  --bs-focus-ring-width: 0.25rem;
  --bs-focus-ring-opacity: 0.25;
  --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
  --bs-form-valid-color: #198754;
  --bs-form-valid-border-color: #198754;
  --bs-form-invalid-color: #dc3545;
  --bs-form-invalid-border-color: #dc3545;
}

/* Layout principal */
body {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 300;
    background-color: #f4f6f9;
    min-height: 100vh;
    background-image: url(../images/rm222-mind-40.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
h2{
	font-family: 'Montserrat', sans-serif !important;
	font-size: 25px !important;
	margin-bottom: 30px;
}
h5{
font-family: 'Montserrat', sans-serif !important;	
}
h6{
    font-family: 'Montserrat', sans-serif !important;
    font-size: 17px !important;
    font-variant: small-caps;
}
.a{
    background-color: #17A2B8;
    color: white !important;
    background-image: url(../images/insp_icon.png);
    background-repeat: no-repeat;
    background-position: right center;
}
.ab{
    background-color: #28A745;
    color: white !important;
    background-image: url(../images/resp_icon.png);
    background-repeat: no-repeat;
    background-position: right center;
}
.abc{
    background-color: #A74739;
    color: white !important;
    background-image: url(../images/present_icon.png);
    background-repeat: no-repeat;
    background-position: right center;
}
.abcd{
    background-color: #A4C126;
    color: white !important;
    background-image: url(../images/usu_icon.png);
    background-repeat: no-repeat;
    background-position: right center;
}
.abcde{
    background-color: #A4C126;
    color: white !important;
    background-image: url(../images/no_icon.png);
    background-repeat: no-repeat;
    background-position: right center;
}
.b{
	color: white !important;
}
.blanco{
	color: white !important;
	font-size: 40px !important;
}

/* Navbar estilo AdminLTE */
.navbar {
    background-color: var(--dark) !important;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.04);
    padding: .5rem 1rem;
    margin-bottom: 0;
}

.navbar-brand {
    font-weight: 300;
    font-size: 1.25rem;
    color: var(--white) !important;
}

/* Cards estilo AdminLTE */
.card {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    margin-bottom: 1rem;
    border: 0;
    border-radius: .25rem;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0,0,0,.125);
    padding: 0.75rem 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
}

.card-header h4, .card-header h6 {
    margin: 0;
	font-family: 'Montserrat', sans-serif!important;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Info boxes estilo AdminLTE */
.info-box {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    border-radius: .25rem;
    background: var(--white);
    display: flex;
    margin-bottom: 1rem;
    min-height: 80px;
    padding: .5rem;
    position: relative;
    width: 100%;
}

.info-box-icon {
    border-radius: .25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    font-size: 1.875rem;
}

.info-box-content {
    padding: 5px 10px;
    flex: 1;
}

.info-box-text {
    display: block;
	font-family: 'Montserrat', sans-serif!important;
    font-size: .875rem;
    margin-bottom: .25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-box-number {
    display: block;
	font-family: 'Montserrat', sans-serif!important;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Tablas estilo AdminLTE */
.table {
    background: var(--white);
}

.table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 400;
    padding: .75rem;
    vertical-align: bottom;
    background-color: rgba(0,0,0,.03);
}

/* Botones estilo AdminLTE */
.btn {
    font-size: .875rem;
    padding: .375rem .75rem;
}

.btn-tool {
    background: transparent;
    color: #adb5bd;
    font-size: .875rem;
    margin: -.75rem 0;
    padding: .25rem .5rem;
}

.btn-tool:hover {
    color: var(--dark);
}

/* Badges estilo AdminLTE */
.badge {
    font-size: 85%;
    font-weight: 500;
    padding: .25em .4em;
}

/* Forms estilo AdminLTE */
.form-control {
    font-size: .875rem;
    border-radius: 0;
    box-shadow: none;
    border-color: #d2d6de;
    height: calc(2.25rem + 2px);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

/* Paginación estilo AdminLTE */
.pagination {
    margin-bottom: 0;
}

.page-link {
    color: var(--dark);
    padding: .5rem .75rem;
    font-size: .875rem;
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Alerts estilo AdminLTE */
.alert {
    border-radius: .25rem;
    font-size: .875rem;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
}

/* Dropdown estilo AdminLTE */
.dropdown-menu {
    font-size: .875rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}

.dropdown-item {
    padding: .5rem 1rem;
}

/* Contenedor principal */
.content-wrapper {
    background-color: #f4f6f9;
    margin-left: var(--sidebar-width);
    min-height: calc(100vh - 3.5rem);
    padding: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        margin-left: 0;
    }
    
    .info-box {
        min-height: 60px;
    }
}
/* Estilos para el Resumen de Inspectores */
.dashboard-stats {
    margin: 20px 0;
}

.stats-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stat-box {
    background-color: #f8f9fa; /* Color de fondo claro */
    border: 1px solid #dee2e6; /* Borde gris */
    border-radius: .25rem; /* Bordes redondeados */
    padding: 15px;
    flex: 1; /* Para que las cajas se distribuyan uniformemente */
    margin-right: 10px; /* Espaciado entre las cajas */
}

.stat-box:last-child {
    margin-right: 0; /* Sin margen derecho en la última caja */
}

.stat-number {
    font-size: 40px; /* Tamaño de fuente grande */
    font-weight: bold; /* Negrita */
    text-align: center;
}

.stat-label {
    font-size: 0.875rem; /* Tamaño de fuente más pequeño */
    color: #6c757d;/* Color gris */
    text-align: center; 
}

/* Estilos para la tabla de Inspectores */
.admin-table {
    width: 100%;
    border-collapse: collapse; /* Colapsar bordes */
}

.admin-table th, .admin-table td {
    border: 1px solid #dee2e6; /* Bordes de las celdas */
    padding: 10px; /* Espaciado interno */
    text-align: left; /* Alinear texto a la izquierda */
}

.admin-table th {
    background-color: #f8f9fa; /* Color de fondo para encabezados */
    font-weight: bold; /* Negrita para encabezados */
}

.status-badge {
    padding: 5px 10px; /* Espaciado interno */
    border-radius: .25rem; /* Bordes redondeados */
    color: #fff; /* Color de texto blanco */
}

.status-badge.active {
    background-color: #28a745; /* Verde para activo */
}

.status-badge.inactive {
    background-color: #dc3545; /* Rojo para inactivo */
}

.btn-action {
    padding: 5px 10px; /* Espaciado interno */
    color: #007bff; /* Color del texto */
    text-decoration: none; /* Sin subrayado */
}

.btn-action:hover {
    text-decoration: underline; /* Subrayar al pasar el mouse */
} 
.timeline {
  position: relative;
  padding: 0;
  margin: 0 0 45px;
}
.timeline::before {
  border-radius: 0.375rem;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31px;
  width: 4px;
  margin: 0;
  content: "";
  background-color: var(--bs-border-color);
}
.timeline > div {
  position: relative;
  margin-right: 10px;
  margin-bottom: 15px;
}
.timeline > div::before, .timeline > div::after {
  display: table;
  content: "";
}
.timeline > div > .timeline-item {
  box-shadow: 0 0 1px rgba(var(--bs-body-color-rgb), 0.125), 0 1px 3px rgba(var(--bs-body-color-rgb), 0.2);
  border-radius: 0.375rem;
  position: relative;
  padding: 0;
  margin-top: 0;
  margin-right: 15px;
  margin-left: 60px;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
}
.timeline > div > .timeline-item > .time {
  float: right;
  padding: 10px;
  font-size: 12px;
  color: var(--bs-secondary-color);
}
.timeline > div > .timeline-item > .timeline-header {
  padding: 10px;
  margin: 0;
  font-size: 16px;
  line-height: 1.1;
  color: var(--bs-secondary-color);
  border-bottom: 1px solid var(--bs-border-color);
}
.timeline > div > .timeline-item > .timeline-header > a {
  font-weight: 600;
  text-decoration: none;
}
.timeline > div > .timeline-item > .timeline-body,
.timeline > div > .timeline-item > .timeline-footer {
  padding: 10px;
}
.timeline > div > .timeline-item > .timeline-body > img {
  margin: 10px;
}
.timeline > div > .timeline-item > .timeline-body > dl,
.timeline > div > .timeline-item > .timeline-body ol,
.timeline > div > .timeline-item > .timeline-body ul {
  margin: 0;
}
.timeline > div .timeline-icon {
  position: absolute;
  top: 0;
  left: 18px;
  width: 30px;
  height: 30px;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
  background-color: var(--bs-secondary-bg);
  border-radius: 50%;
}
.timeline > .time-label > span {
  border-radius: 4px;
  display: inline-block;
  padding: 5px;
  font-weight: 600;
  background-color: var(--bs-body-bg);
}

.timeline-inverse > div > .timeline-item {
  box-shadow: none;
  background-color: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
}
.timeline-inverse > div > .timeline-item > .timeline-header {
  border-bottom-color: var(--bs-border-color);
}
.text-bg-danger {
  color: #fff !important;
  background-color: RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important;
}