/* Corporate dashboard shell based on panel_de_empresa_moderno.html. */

.testek-dashboard {
	--testek-dashboard-bg: #070f1e;
	--testek-dashboard-panel: #0d1b2a;
	--testek-dashboard-panel-hover: #132238;
	--testek-dashboard-border: rgba(148, 163, 184, .18);
	--testek-dashboard-text: #f8fafc;
	--testek-dashboard-muted: #94a3b8;
	--testek-dashboard-accent: #00b4d8;
	--testek-dashboard-accent-hover: #0096b4;
	position: relative;
	display: flex;
	min-height: 100vh;
	background: var(--testek-dashboard-bg);
	color: var(--testek-dashboard-text);
	line-height: 1.5;
}

.testek-dashboard,
.testek-dashboard *,
.testek-dashboard *::before,
.testek-dashboard *::after {
	box-sizing: border-box;
}

.testek-dashboard :where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid #32d3ee;
	outline-offset: 3px;
}

.testek-dashboard a { color: inherit; }

.testek-dashboard-skip-link {
	position: absolute;
	left: 1rem;
	top: 1rem;
	z-index: 2000;
	padding: .6rem .8rem;
	border-radius: .5rem;
	background: var(--testek-dashboard-accent);
	color: #04131e;
	font-weight: 700;
	transform: translateY(-180%);
}

.testek-dashboard-skip-link:focus { transform: translateY(0); }

.testek-dashboard-sidebar {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 1001;
	display: flex;
	width: 18rem;
	flex-direction: column;
	border-right: 1px solid var(--testek-dashboard-border);
	background: var(--testek-dashboard-panel);
	transition: transform .25s ease;
}

.testek-dashboard-brand {
	display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    padding: .7rem;
    border-bottom: 1px solid var(--testek-dashboard-border);
}

.testek-dashboard-brand__link {
	display: flex;
	align-items: center;
	gap: .75rem;
	text-decoration: none;
}

.testek-dashboard-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: .75rem;
	background: linear-gradient(135deg, #0891b2, var(--testek-dashboard-accent));
	box-shadow: 0 10px 20px rgba(6, 182, 212, .2);
	color: #fff;
	font-size: 1.25rem;
}

.testek-dashboard-brand__eyebrow {
	display: block;
	color: var(--testek-dashboard-accent);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.testek-dashboard-brand strong {
	display: block;
	color: #fff;
	font-size: 1.1rem;
	letter-spacing: -.025em;
}

.testek-dashboard-close,
.testek-dashboard-menu {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: var(--testek-dashboard-muted);
	cursor: pointer;
}

.testek-dashboard-close { display: none; font-size: 1.6rem; }

.testek-dashboard-nav {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: .25rem;
	overflow-y: auto;
	padding: 1.5rem 1rem;
	font-size: .88rem;
	font-weight: 600;
}

.testek-dashboard-nav a {
	display: flex !important;
	align-items: center;
	gap: .75rem;
	padding: .4rem 1rem;
	border: 1px solid transparent;
	border-radius: .75rem;
	color: #cbd5e1;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
	margin-bottom:5px;
}

.testek-dashboard-nav a > span:first-child { width: 1.3rem; color: #94a3b8; font-size: 1.1rem; text-align: center; }
.testek-dashboard-nav a:hover { background: rgba(51, 65, 85, .5); color: #fff; }
.testek-dashboard-nav li.current-menu-item a { border-color: rgba(0, 180, 216, .2); background: rgba(0, 180, 216, .1); color: var(--testek-dashboard-accent); }
.testek-dashboard-nav a.is-current > span:first-child { color: var(--testek-dashboard-accent); }

.testek-dashboard-user-card { padding: 1rem; border-top: 1px solid var(--testek-dashboard-border); background: rgba(15, 23, 42, .4); }
.testek-dashboard-user-card__avatar,
.testek-dashboard-header__avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.testek-dashboard-user-card__avatar { width: 2.25rem; height: 2.25rem; border: 1px solid rgba(0, 180, 216, .4); background: rgba(0, 180, 216, .2); color: var(--testek-dashboard-accent); }
.testek-dashboard-user-card__copy { min-width: 0; }
.testek-dashboard-user-card__copy strong,
.testek-dashboard-user-card__copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.testek-dashboard-user-card__copy strong { color: #fff; font-size: .75rem; }
.testek-dashboard-user-card__copy span { color: var(--testek-dashboard-muted); font-size: .68rem; }

.testek-dashboard-main { display: flex; min-width: 0; min-height: 100vh; margin-left: 18rem; flex: 1; flex-direction: column; }

.testek-dashboard-header {
	position: sticky;
	top: 0;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 5.25rem;
	padding: 1rem clamp(1rem, 3vw, 2rem);
	border-bottom: 1px solid var(--testek-dashboard-border);
	background: rgba(7, 15, 30, .88);
	backdrop-filter: blur(12px);
}

.testek-dashboard-header__title,
.testek-dashboard-header__user,
.testek-dashboard-breadcrumb { display: flex; align-items: center; }
.testek-dashboard-breadcrumb i {margin: 0 .5em;font-size: 10px;}
.testek-dashboard-header__title { gap: 1rem; }
.testek-dashboard-menu { display: none; padding: .5rem; border-radius: .5rem; background: #1e293b; color: #e2e8f0; }
.testek-dashboard-breadcrumb { gap: .5rem; color: var(--testek-dashboard-muted); font-size: .72rem; }
.testek-dashboard-breadcrumb strong { color: var(--testek-dashboard-accent); font-weight: 600; }
.testek-dashboard-header h1 { margin: .15rem 0 0; color: #fff; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 800; letter-spacing: -.025em; }
.testek-dashboard-header__user { gap: .8rem; color: #94a3b8; font-size: .75rem; text-align: right; }
.testek-dashboard-header__user small { display: block; }
.testek-dashboard-header__user strong { color: #fff; }
.testek-dashboard-header__user small { margin-top: .1rem; color: var(--testek-dashboard-accent); font-size: .68rem; }
.testek-dashboard-header__avatar { width: 2.5rem; height: 2.5rem; border: 1px solid #334155; background: linear-gradient(135deg, #334155, #475569); color: #fff; }

.testek-dashboard-content { width: 100%; max-width: 100%; margin: 0 auto; padding: clamp(1rem, 3vw, 2rem); }
/*.testek-dashboard-content .row.lg-gutters .col-lg-9{flex-grow: 1; }*/
/*.testek-dashboard-content .row.lg-gutters .col-lg-3{flex-shrink: 0; }*/
.testek-dashboard-overlay { display: none; }

.testek-dashboard-content #group-management.testek-uo-groups { max-width: none; min-height: auto; margin: 0; padding: 0; background: transparent; }

@media (max-width: 60rem) {
	.testek-dashboard-sidebar { transform: translateX(-105%); }
	.testek-dashboard.is-sidebar-open .testek-dashboard-sidebar { transform: translateX(0); }
	.testek-dashboard.is-sidebar-open .testek-dashboard-overlay { position: fixed; inset: 0; z-index: 1000; display: block; border: 0; background: rgba(0, 0, 0, .55); cursor: pointer; }
	.testek-dashboard-close, .testek-dashboard-menu { display: inline-flex; }
	.testek-dashboard-main { margin-left: 0; }
}

@media (max-width: 42rem) {
	.testek-dashboard-header__user > div:first-child { display: none; }
	.testek-dashboard-content { padding: .75rem; }
	.testek-dashboard-breadcrumb span, .testek-dashboard-breadcrumb span[aria-hidden="true"] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.testek-dashboard-sidebar, .testek-dashboard-nav a { transition: none; }
}


.testek-dashboard-brand__logo {
    display: block;
    width: auto;
    max-width: 11.7rem;
    height: auto;
    object-fit: contain;
}

.testek-dashboard-user-card a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border-radius: .6rem;
    padding: 10px;
    background: #4c4c4c21;

}
.testek-dashboard-user-card a:hover{
	background:#00b4d8;
	color: #fff;
}

.testek-dashboard-user-card svg{
    width: 25px;
    fill: #fff;
    margin-left: 7px;
    margin-top: 3px;
}

/* BEGIN iconos sidebar_focus V2*/
body.page-template-page-sidebar_focus-v2 .widget_nav_menu li{
    padding-left:0;
}

body.page-template-page-sidebar_focus-v2 .widget_nav_menu li:before{
    display:none;
}

.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 li a:before{
    margin-top: 10px;
    filter: invert(91%) sepia(8%) saturate(347%) hue-rotate(174deg) brightness(96%) contrast(89%);
    width:24px;
}
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 li a:hover:before{
    filter: brightness(0) invert(1);
}
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 li.current-menu-item a:before{
    filter: brightness(0) saturate(100%) invert(53%) sepia(87%) saturate(2335%) hue-rotate(159deg) brightness(97%) contrast(102%);
}
/*Mi escritorio*/
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 .icon-svg-escritorio a:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="layout-dashboard" aria-hidden="true" class="lucide lucide-layout-dashboard w-5 h-5 text-slate-400"><rect width="7" height="9" x="3" y="3" rx="1"></rect><rect width="7" height="5" x="14" y="3" rx="1"></rect><rect width="7" height="9" x="14" y="12" rx="1"></rect><rect width="7" height="5" x="3" y="16" rx="1"></rect></svg>') !important;
}
/*Contenido Gratuito*/
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 .icon-svg-contenido a:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="book-open" aria-hidden="true" class="lucide lucide-book-open w-5 h-5 text-slate-400"><path d="M12 5v16"></path><path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z"></path></svg>') !important;
}
/*Educar a mi equipo*/
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 .icon-svg-equipo a:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="users" aria-hidden="true" class="lucide lucide-users w-5 h-5 text-accent"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path><path d="M16 3.128a4 4 0 0 1 0 7.744"></path><path d="M22 21v-2a4 4 0 0 0-3-3.87"></path><circle cx="9" cy="7" r="4"></circle></svg>') !important;
}
/*Panel de empresa*/
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 .icon-svg-empresa a:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 640 640" ><path d="M192 112C183.2 112 176 119.2 176 128L176 512C176 520.8 183.2 528 192 528L272 528L272 448C272 430.3 286.3 416 304 416L336 416C353.7 416 368 430.3 368 448L368 528L448 528C456.8 528 464 520.8 464 512L464 128C464 119.2 456.8 112 448 112L192 112zM128 128C128 92.7 156.7 64 192 64L448 64C483.3 64 512 92.7 512 128L512 512C512 547.3 483.3 576 448 576L192 576C156.7 576 128 547.3 128 512L128 128zM224 176C224 167.2 231.2 160 240 160L272 160C280.8 160 288 167.2 288 176L288 208C288 216.8 280.8 224 272 224L240 224C231.2 224 224 216.8 224 208L224 176zM368 160L400 160C408.8 160 416 167.2 416 176L416 208C416 216.8 408.8 224 400 224L368 224C359.2 224 352 216.8 352 208L352 176C352 167.2 359.2 160 368 160zM224 304C224 295.2 231.2 288 240 288L272 288C280.8 288 288 295.2 288 304L288 336C288 344.8 280.8 352 272 352L240 352C231.2 352 224 344.8 224 336L224 304zM368 288L400 288C408.8 288 416 295.2 416 304L416 336C416 344.8 408.8 352 400 352L368 352C359.2 352 352 344.8 352 336L352 304C352 295.2 359.2 288 368 288z"/></svg>') !important;
}
/*Foro*/
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 .icon-svg-foro a:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="message-square" aria-hidden="true" class="lucide lucide-message-square w-5 h-5 text-slate-400"><path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z"></path></svg>') !important;
}
/*Mis cursos*/
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 .icon-svg-cursos a:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="graduation-cap" aria-hidden="true" class="lucide lucide-graduation-cap w-5 h-5 text-slate-400"><path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z"></path><path d="M22 10v6"></path><path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5"></path></svg>') !important;
}
/*Crea tu ruta con SofIA*/
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 .icon-svg-sofia a:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="sparkles" aria-hidden="true" class="lucide lucide-sparkles w-5 h-5 text-cyan-400"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z"></path><path d="M20 2v4"></path><path d="M22 4h-4"></path><circle cx="4" cy="20" r="2"></circle></svg>') !important;
}
/*Manuales y Recursos*/
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 .icon-svg-manuales a:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="folder-kanban" aria-hidden="true" class="lucide lucide-folder-kanban w-5 h-5 text-slate-400"><path d="M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z"></path><path d="M8 10v4"></path><path d="M12 10v2"></path><path d="M16 10v6"></path></svg>') !important;
}
/*Registro de actividades*/
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 .icon-svg-actividades a:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="activity" aria-hidden="true" class="lucide lucide-activity w-5 h-5 text-slate-400"><path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"></path></svg>') !important;
}
/*Mis certificados*/
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 .icon-svg-certificados a:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="award" aria-hidden="true" class="lucide lucide-award w-5 h-5 text-slate-400"><path d="m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526"></path><circle cx="12" cy="8" r="6"></circle></svg>') !important;
}
/*Editar mi cuenta*/
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 .icon-svg-cuenta a:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-lucide="user-cog" aria-hidden="true" class="lucide lucide-user-cog w-5 h-5 text-slate-400"><path d="M10 15H6a4 4 0 0 0-4 4v2"></path><path d="m14.305 16.53.923-.382"></path><path d="m15.228 13.852-.923-.383"></path><path d="m16.852 12.228-.383-.923"></path><path d="m16.852 17.772-.383.924"></path><path d="m19.148 12.228.383-.923"></path><path d="m19.53 18.696-.382-.924"></path><path d="m20.772 13.852.924-.383"></path><path d="m20.772 16.148.924.383"></path><circle cx="18" cy="15" r="3"></circle><circle cx="9" cy="7" r="4"></circle></svg>') !important;
}
/*Necesito ayuda*/
.testek-dashboard-nav #menu-sidebar-menu-user-account-v2 .icon-svg-ayuda a:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" width="24" height="24"><!-- Círculo exterior principal --><circle cx="12" cy="12" r="10" /><!-- Círculo interior central --><circle cx="12" cy="12" r="4" /><!-- Líneas de las bandas del salvavidas --><line x1="4.93" y1="4.93" x2="9.17" y2="9.17" /><line x1="14.83" y1="14.83" x2="19.07" y2="19.07" /><line x1="14.83" y1="9.17" x2="19.07" y2="4.93" /><line x1="4.93" y1="19.07" x2="9.17" y2="14.83" /></svg>') !important;
}

/* END iconos sidebar_focus V2*/

/* Custom scrollbar for sleek minimalist look */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #070F1E;
        }
        ::-webkit-scrollbar-thumb {
            background: #1E293B;
            border-radius: 9999px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #00B4D8;
        }