:root {
	--dark: #16191c;
	--dark-x: #1e2126;
	--light: #ffffff;

	--primary: #111B54;
	--grey: #efefef; 	
}

body {
	overflow:hidden;
	font-family: 'Muli', sans-serif;
	font-weight: 300;
	color: var(--primary);
}

.bg-dark { background-color: var(--dark) !important;}
.bg-dark-x { background-color: var(--dark-x);}
.bg-mix { background: linear-gradient(180deg, var(--light) 50%, var(--grey) 0);}
.bg-grey { background-color: var(--grey) !important; }

table th {
	background-color: #337ab7 !important;
	color: white;
}

table>tbody>tr>td {
	vertical-align: middle !important;
}

.x-small {
	font-size:12px;
}

.m-small {
	font-size:10px;
}

.s-small {
	font-size:8px;
}

.padre {
	position:relative;
}
.uno{
	position:absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin: 0 auto;
	width:20px;
	display:none;
}

.btn-group, .btn-group-vertical {
	position: absolute !important;
}

.btn {
	border: 0;
}

.btn-primary {
	background-color: var(--primary);
}

.btn-primary:hover {
	background-color: var(--primary);
}

.txt-primary {
	color: var(--primary);
}

.stat {
	border-right: 1px solid var(--grey);
}

.form-control, .btn {
	min-height: 2.125rem;
	line-height: initial;
}

.img-1 {
	background-image:url(../image/img_01.jpg);
	background-size:cover;
	background-position:center;
}

.img-2 {
	background-image:url(../image/img_02.jpg);
	background-size:cover;
	background-position:center;
}

.img-3 {
	background-image:url(../image/img_03.jpg);
	background-size:cover;
	background-position:center;
}

.img-fondo{
	background-color: #f8fafc;
	background-image: radial-gradient(at 0% 0%, rgba(21, 101, 192, 0.05) 0px, transparent 50%),
	                  radial-gradient(at 100% 100%, rgba(13, 71, 161, 0.08) 0px, transparent 50%);
}

/* =========================================================
   ESTILOS CORPORATIVOS - LOGIN DATAEXPRESS & SOLINFOTECH
   ========================================================= */

.login-wrapper {
	min-height: 100vh;
	background-color: #ffffff;
}

/* Hero Lateral Izquierdo con Carrusel y Overlay */
.login-hero-panel {
	position: relative;
	overflow: hidden;
	color: #ffffff;
	min-height: 100vh;
}

.login-carousel-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.login-carousel-bg .carousel-inner,
.login-carousel-bg .carousel-item {
	height: 100%;
	min-height: 100vh;
}

.login-carousel-bg .carousel-item {
	transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out;
}

.login-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, rgba(7, 25, 59, 0.88) 0%, rgba(13, 59, 130, 0.78) 45%, rgba(21, 101, 192, 0.68) 100%);
	z-index: 2;
	pointer-events: none;
}

.login-hero-content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	min-height: 100vh;
	padding: 3.5rem 3rem;
}

/* Indicadores modernos de carrusel */
.login-carousel-indicators {
	position: static;
	margin: 0;
	display: flex;
	gap: 6px;
	padding: 0;
}

.login-carousel-indicators [data-bs-target] {
	width: 28px;
	height: 4px;
	border-radius: 4px;
	border: 0;
	background-color: rgba(255, 255, 255, 0.35);
	transition: all 0.3s ease;
}

.login-carousel-indicators .active {
	width: 45px;
	background-color: #64b5f6;
}

.brand-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 0.4rem 0.9rem;
	border-radius: 50px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.8px;
	color: #e3f2fd;
	text-transform: uppercase;
}

.brand-title-main {
	font-size: 2.35rem;
	font-weight: 800;
	letter-spacing: -0.5px;
	color: #ffffff;
	line-height: 1.15;
}

.brand-subtitle-main {
	color: #90caf9;
	font-size: 1.05rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.hero-feature-list {
	list-style: none;
	padding: 0;
	margin: 2rem 0;
}

.hero-feature-item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1.1rem;
	font-size: 0.95rem;
	color: #e2e8f0;
}

.hero-feature-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64b5f6;
	flex-shrink: 0;
}

/* Panel Derecho de Formulario */
.login-form-container {
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	padding: 1rem 1.5rem;
}

.login-card-header {
	margin-bottom: 1.25rem;
}

.login-card-title {
	font-size: 1.65rem;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.3px;
	margin-bottom: 0.35rem;
}

.login-card-subtitle {
	color: #64748b;
	font-size: 0.92rem;
	margin-bottom: 0;
}

/* Campos de Formulario */
.login-input-group {
	position: relative;
	margin-bottom: 1.25rem;
}

.login-input-label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: #334155;
	margin-bottom: 0.4rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.login-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.login-input-icon {
	position: absolute;
	left: 14px;
	color: #94a3b8;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
}

.login-input-control {
	width: 100%;
	height: 48px;
	padding: 0.6rem 1rem 0.6rem 2.75rem;
	font-size: 0.95rem;
	font-weight: 500;
	color: #1e293b;
	background-color: #ffffff;
	border: 1.5px solid #cbd5e1;
	border-radius: 10px;
	transition: all 0.2s ease;
}

.login-input-control:focus {
	outline: none;
	border-color: #1565c0;
	box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.12);
}

.login-input-control:focus + .login-input-icon,
.login-input-control:focus ~ .login-input-icon {
	color: #1565c0;
}

/* Select con estilo moderno */
select.login-input-control {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 2.5rem;
}

/* Botón Iniciar Sesión */
.btn-login-submit {
	width: 100%;
	height: 50px;
	background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
	color: #ffffff;
	border: none;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.3px;
	box-shadow: 0 8px 20px -4px rgba(13, 71, 161, 0.35);
	cursor: pointer;
	transition: all 0.25s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.btn-login-submit:hover {
	background: linear-gradient(135deg, #0a3880 0%, #0d47a1 50%, #1565c0 100%);
	box-shadow: 0 12px 24px -4px rgba(13, 71, 161, 0.45);
	transform: translateY(-1px);
	color: #ffffff;
}

.btn-login-submit:active {
	transform: translateY(0);
	box-shadow: 0 4px 12px -2px rgba(13, 71, 161, 0.3);
}

.btn-login-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

/* Alertas y Feedback */
.statusMsg {
	min-height: 24px;
	font-size: 0.88rem;
	margin-top: 1rem;
}

.statusMsg-alert {
	padding: 0.75rem 1rem;
	border-radius: 8px;
	background-color: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	animation: fadeIn 0.3s ease;
}

.statusMsg-loading {
	padding: 0.5rem 1rem;
	border-radius: 8px;
	background-color: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
}

/* Footer del Formulario */
.login-footer {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #e2e8f0;
	font-size: 0.8rem;
	color: #64748b;
	text-align: center;
}

.login-footer strong {
	color: #1e293b;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

.img-caja {
	background-image:url(../image/logo.png);
	background-size: auto;
	background-position:center;
}

.banner-left {
	background-image:url(../image/banner.jpg);
	background-size: auto;
	background-position:center;
}

.principal {
	background: url(../image/fondo2.png) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.bg-primary { background-color: var(--primary) !important;}

.bg-primary-lateral { background-color: var(--primary) !important; opacity:0.75;}

#canvas {
    border: 1px solid black;
}

.nav-scroller {
  z-index: 2;
  overflow-y: hidden;
}
.nav-scroller {
  width: 18rem;
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow:auto;
  color: rgba(255, 255, 255, 0.519);
  white-space: nowrap;
  height: 700px;
  -webkit-overflow-scrolling: touch;
}

#sidebar-container {
	min-height:100vh;
	margin-left: -18rem;
	transition: margin .25s case-in-out;
} 

#sidebar-container .logo {
	padding: .875rem 1.25rem;
}

#sidebar-container .titulo {
	width: 15rem;
}

#sidebar-container .menu {
	width: 18rem;
}

#sidebar-container .menu li ul {
	display: none;
}

#sidebar-container .menu li a:hover {
	background: #1a95d5;
	--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important;
}

#sidebar-container .menu .activado > a {
	background: #1a95d5;
}

#sidebar-container .menu .activado .rigt-icon {
	transform: rotate(180deg);
}

#sidebar-container .menu .submenu {
	background: #1a52d53d;
}

.sidebar-link {
	display: flex;
	align-items: center;
}

.sidebar-link .rigt-icon {
	display: inline-flex;
	transition: all ease 0.25s;
}



.btn-search {
	right: 0;
}

#content {
	overflow-y: auto;
	height: 100vh;
	padding-bottom: 5rem;

}

#content-wrapper.toggled #sidebar-container {
	margin-left: 0;
}

@media (min-width: 768px){
	#sidebar-container {
		margin-left: 0;
	}
	#page-container {
		min-width: 0;
		width: 100%;
	}
	#content-wrapper.toggled #sidebar-container {
		margin-left: -18rem;
	}
}

