@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');


:root {
    --gris-background: #F2F4F7;
    --azul-principal: #094D9A;
}

.bg-azul{
    background: var(--azul-principal);
}

.bg-gris{
    background: var(--gris-background);
}

.font-bold{
  font-weight: bold;
}

body {
    background-color: var(--gris-background);
    font-family: 'Montserrat', sans-serif;
    /*overflow-y: hidden;*/
}

.w-15 {
    width: 10% !important;
}

.title{
    margin: 2rem auto;
    text-align: center;
    color: var(--azul-principal);
}

.header-base{
  padding: 20px 10px;
  background: #fff;
}

.list-none{
  list-style: none;
}

/* Formualario Login */
.access-form__container {
    max-width: 500px;
    width: 80%;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 6.9px 10.65px 4.26px rgba(0, 0, 0, 0.25);
}

.access-form__title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.access-form__logo {
    display: block;
    margin: 1rem auto 0;
    max-width: 200px;
    height: auto;
}


/* Modulos Admin */

.tittle__module{
    font-weight: 400;
    color: var(--azul-principal);
    font-size: 32px;
}

.menu-container {
    background-color: #303C54;
    color: white;
    /* Fixed sidebar width */
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    flex: 0 0 260px; /* do not shrink in flex layout */
    height: 100vh; /* lock height to viewport to enable inner scroll */
    overflow: hidden; /* prevent outer overflow; allow inner to scroll */
    padding: 20px;
    box-sizing: border-box;
}
.menu-container.mode-q10 {
    background: linear-gradient(180deg, #818b9b 0%, #5c6471 42%, #3f4650 100%);
}
.menu-container.mode-edulab {
    background: linear-gradient(180deg, #364662 0%, #313f58 45%, #2c394f 100%);
}

.user-icon{
    position: relative;
    height: 30px;
    width: 30px;
    background-color: #fff;
    border-radius: 50px;
    margin-right: 10px;
}
.user-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #303C54;
  }
.user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
}
.user-info-main {
    display: flex;
    align-items: center;
    min-width: 0;
}
.user-info-main span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-mode-switch {
    display: flex;
    gap: 6px;
}
.menu-mode-link {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.72rem;
    line-height: 1;
    background-color: rgba(255, 255, 255, 0.08);
    transition: all .15s ease-in-out;
}
.menu-mode-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.16);
    text-decoration: none;
}
.menu-mode-link.active {
    color: #303C54;
    background-color: #ffffff;
    border-color: #ffffff;
    font-weight: 600;
}
.menu-container.mode-q10 .menu-mode-link.active {
    color: #1f252d;
    background: linear-gradient(180deg, #ffffff 0%, #f0f4fa 100%);
    border-color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 6px 14px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}
.menu-container.mode-q10 .menu-mode-link {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(0, 0, 0, 0.2);
    color: #ffffff;
}
.menu-container.mode-q10 .menu-mode-link:hover {
    background-color: rgba(0, 0, 0, 0.28);
}
.menu-scroll {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0; /* critical for flex children to become scrollable */
    margin-bottom: 12px;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(255,255,255,.35) transparent; /* Firefox */
}
.menu-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.menu-heading{
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 11px;
    color: #b8c2d3;
    margin: 12px 0 6px 2px;
}
.menu-container.mode-q10 .menu-heading {
    color: #f2f6fb;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}
.menu-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.menu-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background-color .15s ease-in-out;
}
.menu-link:hover {
    background-color: rgba(255,255,255,.08);
    text-decoration: none;
}
.menu-container.mode-q10 .user-info-main span {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}
.menu-container.mode-q10 .menu-link {
    color: #f8fbff;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}
.menu-container.mode-q10 .menu-link i {
    color: #ffffff;
}
.menu-container.mode-q10 .menu-link:hover {
    background-color: rgba(255, 255, 255, 0.18);
}
.menu-link.active {
    background-color: rgba(33, 150, 243, .25);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.menu-container.mode-q10 .menu-link.active {
    background-color: rgba(255, 255, 255, .2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
}
.menu-link.is-placeholder {
    border: 1px dashed rgba(255, 255, 255, .35);
    opacity: .85;
}
.menu-container.mode-q10 .menu-link.is-placeholder {
    border-color: rgba(255, 255, 255, .7);
    color: #ffffff;
}

/* Menu search */
.menu-search-wrap {
	position: relative;
	margin-bottom: 14px;
}
.menu-search-field {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 12px;
	background: rgba(255, 255, 255, .08);
	padding: 8px 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.menu-search-field:focus-within {
	border-color: rgba(125, 186, 255, .7);
	background: rgba(255, 255, 255, .12);
	box-shadow: 0 0 0 3px rgba(33, 150, 243, .14);
}
.menu-search-field i {
	color: rgba(255, 255, 255, .58);
	font-size: .85rem;
}
.menu-search-input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: #ffffff;
	font-size: .88rem;
	padding: 0;
}
.menu-search-input::placeholder {
	color: rgba(255, 255, 255, .55);
}
.menu-search-input::-webkit-search-cancel-button {
	filter: invert(1) opacity(.65);
}
.menu-search-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 20;
	max-height: 260px;
	overflow-y: auto;
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 12px;
	background: #253248;
	box-shadow: 0 18px 34px rgba(0, 0, 0, .28);
}
.menu-search-result,
.menu-search-empty {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 9px;
	border-radius: 9px;
	font-size: .86rem;
}
.menu-search-result {
	color: #ffffff;
	text-decoration: none;
}
.menu-search-result:hover {
	background: rgba(255, 255, 255, .09);
	color: #ffffff;
	text-decoration: none;
}
.menu-search-result i {
	width: 16px;
	color: #c6d8f0;
}
.menu-search-empty {
	color: rgba(255, 255, 255, .65);
}

/* Dropdown menus */
.menu-dropdown {
	margin-bottom: 0;
}
.menu-dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 8px 9px;
	border-radius: 10px;
	cursor: pointer;
	color: #edf4ff;
	font-size: .92rem;
	font-weight: 650;
	list-style: none;
	letter-spacing: .01em;
	background: rgba(255, 255, 255, .045);
	border: 1px solid rgba(255, 255, 255, .08);
	transition: background-color .15s ease-in-out, border-color .15s ease-in-out, transform .15s ease-in-out;
	user-select: none;
}
.menu-dropdown-toggle:hover {
	background-color: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .18);
	color: white;
}
.menu-dropdown-toggle::-webkit-details-marker {
	display: none;
}
.menu-dropdown-toggle.active {
	background-color: rgba(33, 150, 243, .2);
	border-color: rgba(255, 255, 255, .14);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.menu-dd-arrow {
	font-size: 0.65rem;
	transition: transform .2s ease;
	margin-left: auto;
	opacity: .8;
}
details[open] .menu-dd-arrow {
	transform: rotate(180deg);
}
.menu-dropdown-content {
	margin: 6px 0 2px 12px;
	padding-left: 10px;
	border-left: 1px solid rgba(255, 255, 255, .16);
}
.menu-dd-subheader {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: #9fb1cc;
	margin: 10px 0 4px 6px;
	font-weight: 700;
}
.menu-dd-item {
	padding: 5px 7px;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.86);
}
.menu-dd-item:hover {
	color: white;
}
details[open] .menu-dropdown-toggle {
	background-color: rgba(255, 255, 255, .08);
	color: white;
}


.menu-scroll::-webkit-scrollbar {
    width: 8px;
}
.menu-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.menu-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,.28);
    border-radius: 10px;
    border: 2px solid transparent; /* make it slimmer with inner gap */
    background-clip: padding-box;
}
.menu-scroll:hover::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,.45);
}
.menu-scroll::-webkit-scrollbar-corner {
    background: transparent;
}
.btn-logout{
  font-size: 12px;
}
.content-container {
    padding: 20px;
    height: 100vh;
}
.module-tittle{
    color: var(--azul-principal);
    font-weight: 500;
    font-size: xx-large;
}

.container-modulo{
    position: relative;
}

.btn-modulo{
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
}

/* Q10 modules */
.q10-page {
    color: #252b33;
}
.q10-card {
    background: #f4f5f7;
    border-color: #cfd3d8 !important;
    padding: 16px;
}
.q10-title {
    color: #2a3138;
    font-size: 2rem;
    font-weight: 700;
}
.q10-filter-bar {
    background: #eceff2;
    border: 1px solid #c7ccd3;
    border-radius: 8px;
    padding: 12px;
}
.q10-filter-bar .form-label {
    color: #3b434d;
    font-size: 0.84rem;
    margin-bottom: 4px;
    font-weight: 600;
}
.q10-btn-primary {
    background: #4d5661;
    border: 1px solid #4d5661;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 7px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.q10-btn-primary:hover {
    background: #3f474f;
    border-color: #3f474f;
    color: #ffffff;
}
.q10-btn-secondary {
    background: #d4d9df;
    border: 1px solid #bcc3cb;
    color: #2f363f;
    padding: 6px 14px;
    border-radius: 7px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.q10-btn-secondary:hover {
    background: #c8ced6;
    border-color: #b3bac3;
    color: #242a32;
}
.q10-total {
    color: #3a434c;
    font-weight: 600;
}
.q10-table {
    --bs-table-bg: #f4f5f7;
    --bs-table-color: #2f3740;
    --bs-table-hover-bg: #e9edf1;
    border-color: #cfd3d8;
}
.q10-table thead th {
    color: #2b323a;
    font-weight: 700;
    border-bottom: 2px solid #c0c6ce;
}
.q10-action-link {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #b8c0c9;
    color: #2f3640;
    background: #e8edf2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.q10-action-link:hover {
    background: #dfe5eb;
    color: #232a33;
    border-color: #aab3be;
}
.q10-doc-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #aeb7c2;
    background: #dde3ea;
    color: #25303a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.q10-page .navigation .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding-left: 0;
}
.q10-page .navigation .pagination .first,
.q10-page .navigation .pagination .previous,
.q10-page .navigation .pagination .page,
.q10-page .navigation .pagination .current,
.q10-page .navigation .pagination .next,
.q10-page .navigation .pagination .last {
    display: inline-flex;
}
.q10-page .navigation .pagination a,
.q10-page .navigation .pagination .current,
.q10-page .navigation .pagination .page-link {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #b8c0c9;
    background: #e8edf2;
    color: #2f3640;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .12s ease-in-out;
}
.q10-page .navigation .pagination a:hover,
.q10-page .navigation .pagination .page-link:hover {
    background: #dfe5eb;
    border-color: #aab3be;
    color: #262d36;
}
.q10-page .navigation .pagination .current,
.q10-page .navigation .pagination .active .page-link {
    background: #4d5661;
    border-color: #4d5661;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.q10-page .navigation .pagination .disabled .page-link,
.q10-page .navigation .pagination .disabled > span {
    background: #f2f4f6;
    border-color: #d3d8de;
    color: #8b949f;
    opacity: 1;
}
.q10-page .navigation .pagination .page-link:focus {
    box-shadow: none;
}

.q10-student-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #c7ccd3;
}
.q10-student-code {
    color: #5d6772;
    font-weight: 600;
}
.q10-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.q10-tab {
    border: 1px solid #c1c8d1;
    background: #e7ecf1;
    color: #2d3741;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
}
.q10-tab:disabled {
    opacity: .75;
}
.q10-tab-active {
    background: #4d5661;
    border-color: #4d5661;
    color: #fff;
}
.q10-form-wrap {
    background: #eef1f4;
    border: 1px solid #ccd2d9;
    border-radius: 10px;
    padding: 14px;
}
.q10-form-section + .q10-form-section {
    margin-top: 12px;
}
.q10-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2f3842;
    margin-bottom: 8px;
}
.q10-detail-page {
    max-width: 1320px;
}
.q10-student-banner {
    background: #f7f8fa;
    border: 1px solid #ccd2d9;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.q10-student-banner-info {
    display: flex;
    align-items: baseline;
    gap: 24px;
    min-width: 0;
}
.q10-student-banner-name {
    color: #2b323b;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.05;
}
.q10-student-banner-code {
    color: #4f5965;
    font-size: 1.35rem;
    font-weight: 500;
    white-space: nowrap;
}
.q10-detail-form .form-label {
    color: #2f3740;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.q10-detail-form .form-control,
.q10-detail-form .form-select {
    border-color: #b7bec8;
    background: #ffffff;
    color: #2d3540;
    min-height: 38px;
}
.q10-detail-form .form-control:focus,
.q10-detail-form .form-select:focus {
    border-color: #8f98a5;
    box-shadow: 0 0 0 .2rem rgba(87, 96, 109, 0.16);
}
.q10-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.q10-detail-column {
    display: grid;
    gap: 14px;
}
.q10-detail-card {
    background: #eef1f4;
    border: 1px solid #ccd2d9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    padding: 14px;
}
.q10-detail-card-main {
    min-height: 100%;
}
.q10-detail-main-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.q10-avatar-circle {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(180deg, #666f7a 0%, #505864 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.18);
}
.q10-avatar-circle--sm {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    box-shadow: none;
}
.q10-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 98px;
    padding: 5px 14px;
    border-radius: 8px;
    background: #4d5661;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
}
.q10-mini-title {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d3d9df;
}
.q10-detail-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}
.q10-program-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.q10-matricula-list {
    display: grid;
    gap: 14px;
}
.q10-matricula-card {
    background: #eef1f4;
    border: 1px solid #ccd2d9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    padding: 14px;
}
.q10-matricula-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.q10-matricula-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.q10-matricula-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border-radius: 8px;
    background: #4d5661;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
}
.q10-matricula-state-muted {
    background: #7b8592;
}
.q10-chip-btn {
    border: 1px solid #b8c0c9;
    background: #f8fafc;
    color: #2d3640;
    border-radius: 7px;
    min-height: 32px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}
.q10-chip-btn:disabled {
    opacity: 0.9;
}
.q10-chip-counter {
    color: #4b5562;
    font-size: 0.83rem;
    font-weight: 700;
}
.q10-matricula-program {
    color: #242c35;
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.q10-matricula-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    margin-bottom: 10px;
}
.q10-meta-item {
    display: flex;
    gap: 6px;
    min-width: 0;
}
.q10-meta-label {
    color: #2c353f;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}
.q10-meta-value {
    color: #4f5a67;
    font-size: 0.84rem;
    overflow-wrap: anywhere;
}
.q10-matricula-table {
    --bs-table-bg: #f1f3f6;
}
.q10-link-disabled {
    color: #596573;
    text-decoration: none;
    pointer-events: none;
    font-size: 0.82rem;
}
.q10-empty-block {
    background: #eef1f4;
    border: 1px solid #ccd2d9;
    border-radius: 8px;
    padding: 16px;
    color: #424d58;
}
.q10-academic-panel {
    background: #eef1f4;
    border: 1px solid #ccd2d9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    padding: 14px;
}
.q10-academic-filters {
    border-bottom: 1px solid #d5dbe2;
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.q10-academic-filters-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}
.q10-academic-field .form-label {
    color: #2f3740;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.q10-academic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.q10-academic-summary {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}
.q10-average-card {
    min-width: 220px;
    background: #f8fafc;
    border: 1px solid #cbd2da;
    border-radius: 8px;
    text-align: center;
    padding: 10px 14px;
}
.q10-average-label {
    color: #5a6572;
    font-size: 0.82rem;
    font-weight: 600;
    display: block;
}
.q10-average-value {
    color: #28303a;
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
}
.q10-academic-cards {
    display: grid;
    gap: 12px;
}
.q10-academic-card {
    background: #f2f5f8;
    border: 1px solid #d0d6dd;
    border-radius: 8px;
    padding: 10px;
}
.q10-academic-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.q10-academic-course-name {
    margin: 0;
    color: #1f2731;
    font-size: 1.25rem;
    font-weight: 700;
}
.q10-academic-course-teacher {
    color: #4f5b69;
    font-size: 0.85rem;
    font-weight: 600;
}
.q10-academic-course-period {
    color: #66717e;
    font-size: 0.82rem;
}
.q10-academic-head-side {
    display: grid;
    justify-items: end;
    gap: 4px;
}
.q10-academic-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 3px 9px;
    background: #4d5661;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
}
.q10-academic-inasistencias {
    color: #4e5b68;
    font-size: 0.8rem;
    font-weight: 600;
}
.q10-academic-table {
    --bs-table-bg: #f2f5f8;
}
.q10-academic-card-footer {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.q10-academic-observacion {
    color: #4b5764;
    font-size: 0.82rem;
}
.q10-academic-final-grade {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 6px 12px;
    background: #dbe6d7;
    color: #2f4630;
    font-size: 0.84rem;
    font-weight: 700;
}
.q10-finance-panel {
    background: #eef1f4;
    border: 1px solid #ccd2d9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    padding: 14px;
}
.q10-finance-subtabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.q10-finance-subtab {
    border: 1px solid #c1c8d1;
    background: #f8fafc;
    color: #2d3741;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
}
.q10-finance-subtab:hover {
    color: #2d3741;
    background: #eef2f7;
}
.q10-finance-subtab.active {
    background: #4d5661;
    border-color: #4d5661;
    color: #fff;
}
.q10-finance-actions {
    display: flex;
    justify-content: flex-end;
}
.q10-finance-block {
    background: #f2f5f8;
    border: 1px solid #d0d6dd;
    border-radius: 8px;
    padding: 12px;
}
.q10-finance-title {
    color: #222b34;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.q10-finance-table {
    --bs-table-bg: #f2f5f8;
}
.q10-credit-list {
    display: grid;
    gap: 12px;
}
.q10-credit-card {
    background: #f2f5f8;
    border: 1px solid #d0d6dd;
    border-radius: 8px;
    padding: 12px;
}
.q10-credit-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}
.q10-credit-title {
    color: #1f2731;
    font-size: 1.22rem;
    font-weight: 700;
    margin: 0;
}
.q10-credit-subtitle {
    color: #4f5b69;
    font-size: 0.84rem;
    font-weight: 600;
}
.q10-credit-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    margin-bottom: 10px;
}
.q10-credit-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}
.q10-credit-summary-item {
    background: #ebeff4;
    border: 1px solid #ccd4de;
    border-radius: 7px;
    padding: 8px 10px;
    display: grid;
    gap: 4px;
}
.q10-credit-summary-item span {
    color: #576473;
    font-size: 0.78rem;
    font-weight: 600;
}
.q10-credit-summary-item strong {
    color: #27303a;
    font-size: 0.9rem;
}
.q10-credit-state {
    display: inline-flex;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.q10-credit-state.is-paid {
    background: #deeadb;
    color: #2f4a33;
}
.q10-credit-state.is-pending {
    background: #f2ddd9;
    color: #7f2b22;
}
.q10-paz-header {
    margin-bottom: 10px;
}
.q10-paz-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.q10-paz-badge.is-ok {
    background: #dbe6d7;
    color: #2f4630;
}
.q10-paz-badge.is-pending {
    background: #f2ddd9;
    color: #7f2b22;
}
.q10-paz-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}
.q10-paz-card {
    background: #f2f5f8;
    border: 1px solid #d0d6dd;
    border-radius: 8px;
    padding: 10px 12px;
    display: grid;
    gap: 3px;
}
.q10-paz-card span {
    color: #586473;
    font-size: 0.8rem;
    font-weight: 600;
}
.q10-paz-card strong {
    color: #222b34;
    font-size: 1rem;
}

@media (max-width: 1200px) {
    .q10-student-banner-name {
        font-size: 1.7rem;
    }
    .q10-student-banner-code {
        font-size: 1.12rem;
    }
}

@media (max-width: 992px) {
    .q10-detail-layout {
        grid-template-columns: 1fr;
    }
    .q10-matricula-meta {
        grid-template-columns: 1fr;
    }
    .q10-academic-filters-grid {
        grid-template-columns: 1fr 1fr;
    }
    .q10-academic-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
    .q10-credit-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .q10-paz-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .q10-student-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .q10-student-banner-info {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
    .q10-student-banner-name {
        font-size: 1.45rem;
    }
    .q10-student-banner-code {
        font-size: 1rem;
    }
    .q10-avatar-circle {
        width: 72px;
        height: 72px;
        font-size: 1.7rem;
    }
    .q10-academic-filters-grid {
        grid-template-columns: 1fr;
    }
    .q10-academic-summary {
        justify-content: stretch;
    }
    .q10-average-card {
        width: 100%;
    }
    .q10-academic-card-head {
        flex-direction: column;
    }
    .q10-academic-head-side {
        justify-items: start;
    }
    .q10-finance-actions {
        justify-content: flex-start;
    }
    .q10-credit-head {
        flex-direction: column;
    }
    .q10-credit-meta {
        grid-template-columns: 1fr;
    }
    .q10-credit-summary {
        grid-template-columns: 1fr;
    }
    .q10-paz-cards {
        grid-template-columns: 1fr;
    }
}

/* Scrollable checkbox list for large sets */
.checkbox-list-scroll {
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden; /* avoid horizontal clipping from negative margins */
    padding: 10px;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    background: #ffffff;
}
.checkbox-list-scroll::-webkit-scrollbar { width: 8px; }
.checkbox-list-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 8px; }
.checkbox-list-scroll .form-check {
    /* Reset Bootstrap layout so the checkbox stays inside the container */
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    padding: 6px 8px; /* no extra left padding */
    border-radius: 6px;
}
.checkbox-list-scroll .form-check .form-check-input {
    margin-left: 0;   /* remove Bootstrap's negative margin */
    margin-right: 0;
    float: none;      /* prevent float from pulling it left */
}
.checkbox-list-scroll .form-check .form-check-label { margin-left: 0; }
.modal .checkbox-list-scroll {
    /* Make the list shorter inside modals so the dialog is less tall */
    max-height: 260px;
}
.checkbox-list-scroll .form-check:hover {
    background: #f2f6fb;
}
.checkbox-list-scroll .form-check-label {
    white-space: normal;
}

/* Index */

.header-index {
    position: absolute; /* Posiciona el header de forma absoluta */
    top: 0;          
    left: 0;           
    width: 100%;       
    z-index: 10;        
    background: none; 
    color: white;
    padding: 30px;     
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    color: white;
    background: linear-gradient(135deg, #0a0a0a, #154971);
    position: relative; /* Asegura que .hero sea el contexto de .header-index */
}

.btn-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    width: 350px;
    height: 50px;
    position: relative;
    padding: 0 20px;
    font-size: 18px;
    text-transform: uppercase;
    border: 0;
    box-shadow: hsl(210deg 87% 36%) 0px 7px 0px 0px;
    border-radius: 12px;
    overflow: hidden;
    transition: 31ms cubic-bezier(.5, .7, .4, 1);
   }
   
   .btn-hero:before {
    content: attr(alt);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    font-size: 15px;
    font-weight: bold;
    background: transparent;
    color: white;
    letter-spacing: 4px;
    opacity: 1;
    border: #0A72E8 solid;
    border-radius: 12px;
   }
   
   .btn-hero:active {
    box-shadow: none;
    transform: translateY(7px);
    transition: 35ms cubic-bezier(.5, .7, .4, 1);
   }
   
   button:hover:before {
    transition: all .0s;
    transform: translateY(100%);
    opacity: 0;
   }
   
   .btn-hero i {
    color: white;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 4px;
    font-style: normal;
    transition: all 2s ease;
    transform: translateY(-20px);
    opacity: 0;
   }
   
   .btn-hero:hover i {
    transition: all .2s ease;
    transform: translateY(0px);
    opacity: 1;
   }
   
   button:hover i:nth-child(1) {
    transition-delay: 0.045s;
   }
   
   .btn-hero:hover i:nth-child(2) {
    transition-delay: calc(0.045s * 3);
   }
   
   .btn-hero:hover i:nth-child(3) {
    transition-delay: calc(0.045s * 4);
   }
   
   button:hover i:nth-child(4) {
    transition-delay: calc(0.045s * 5);
   }
   
   button:hover i:nth-child(6) {
    transition-delay: calc(0.045s * 6);
   }
   
   button:hover i:nth-child(7) {
    transition-delay: calc(0.045s * 7);
   }
   
   button:hover i:nth-child(8) {
    transition-delay: calc(0.045s * 8);
   }
   
   .btn-hero:hover i:nth-child(9) {
    transition-delay: calc(0.045s * 9);
   }
   
   .btn-hero:hover i:nth-child(10) {
    transition-delay: calc(0.045s * 10);
   }

   .btn-hero:hover i:nth-child(11) {
    transition-delay: calc(0.045s * 11);
   }

   .btn-hero:hover i:nth-child(12) {
    transition-delay: calc(0.045s * 12);
   }

   .btn-hero:hover i:nth-child(13) {
    transition-delay: calc(0.045s * 13);
   }

   .btn-hero:hover i:nth-child(14) {
    transition-delay: calc(0.045s * 14);
   }

   .btn-hero:hover i:nth-child(15) {
    transition-delay: calc(0.045s * 15);
   }

   .btn-hero:hover i:nth-child(16) {
    transition-delay: calc(0.045s * 16);
   }

   .btn-hero:hover i:nth-child(17) {
    transition-delay: calc(0.045s * 17);
   }

   .btn-hero:hover i:nth-child(18) {
    transition-delay: calc(0.045s * 18);
   }

   .btn-hero:hover i:nth-child(19) {
    transition-delay: calc(0.045s * 19);
   }

   .btn-hero:hover i:nth-child(20) {
    transition-delay: calc(0.045s * 20);
   }

   .btn-hero:hover i:nth-child(21) {
    transition-delay: calc(0.045s * 21);
   }

   .btn-hero:hover i:nth-child(22) {
    transition-delay: calc(0.045s * 22);
   }

   .btn-hero:hover i:nth-child(23) {
    transition-delay: calc(0.045s * 23);
   }

   /* destacados */

   .container-index{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
   }

   .image-container {
    position: relative; 
}

   .info-curso{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 10px 0px 0px 10px;
    display: flex;
    flex-direction: row;
    background: #0000006d;
    gap: 5px;
   }

   .info-curso p{
    font-size: small;
    color: #fff;
   }

   .destacado{
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--azul-principal);
    border-radius: 15px;
    margin: 5px;
    padding: 5px;
   }

   .destacado p{
    color: #fff;
    font-size: smaller;
    margin: auto;
   }

   .card-text{
    color: var(--azul-principal);
    font-weight: bold;
   }

   .card-title {
    min-height: 3.5em; /* Ajusta según la altura que prefieras */
    max-height: 3.5em;
}

   /* logos */

   .logos {
    overflow: hidden; /* Oculta los elementos fuera del área visible */
    position: relative;
    width: 100%;
  }
  
  .logos-container {
    display: flex;
    gap: 1.8rem; /* Ajusta el espaciado entre los logotipos */
    width: max-content; /* Permite que el contenedor sea más ancho que su contenedor padre */
  }
  
  .logos-container.animate {
    animation: slide-left 15s linear infinite; /* Animación continua */
  }
  
  @keyframes slide-left {
    0% {
      transform: translateX(0); /* Inicio del desplazamiento */
    }
    100% {
      transform: translateX(-50%); /* Mueve solo la mitad del contenedor duplicado */
    }
  }

  /*dicen*/

  .card-dicen{
    background: #fff;
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    padding-top: 70px;
    margin-top: 10px;
  }

  .icon-dicen{
    background: var(--azul-principal);
    padding: 25px;
    border-radius: 50%;
    position: absolute;
    top: -20px;
  }

  .icon-dicen p{
   color: var(--gris-background);
   font-weight: bold;
   font-size: 22px;
   margin: 0;
  }

  .title-card_dicen{
    font-weight: bold;
  }
  
  .profesion-dicen{
    font-size: x-large;
    font-weight: 600;
    color: #9B9B9B;
  }

  .text-dicen{
    text-align: center;
    font-size: small ;
  }
  
  /* app movil */ 

  .app-movil{
    padding: 10px;
  }

  .movil-img{
    width: 42%;
  }

  .app-movil_title{
    margin-top: 0;
    text-align: end;
  }

  .app-movil_paragraph{
    text-align: end;
    line-height: 1.5;
  }

  .app-movil_text{
    width: 35%;
  }

  .list-group li{
    list-style: none;
  }

  .list-group li a{
    text-decoration: none;
    color: #000;
    font-size: smaller;
  }

  .copyrigth{
    font-size: smaller;
  }

  .whatsapp-icon {
    position: fixed;
    background: #fff;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    padding: 15px;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.whatsapp-icon:hover {
    background-color: #00000021;
}

/* inicio certificados */

.aclaracion{
  text-align: justify;
}

/*inicio detalles*/
.detail-paragraph{
  text-align: justify;
}

.detail-paragraph_message{
  margin-top: 20px;
  text-align: justify;
  font-weight: bold;
  font-size: small;
}

.azul{
  color: var(--azul-principal);
}

.sidebar {
  width: 400px;
  overflow-wrap: break-word;
}

.variant-select-control {
  position: relative;
}

.variant-select-icon {
  position: absolute;
  top: 50%;
  left: 0.7rem;
  transform: translateY(-50%);
  font-size: 0.78rem;
  color: #3f6d9f;
  pointer-events: none;
}

.variant-select-styled {
  border-color: #b9cce5;
  border-radius: 9px;
  min-height: 36px;
  padding-left: 2rem;
  font-size: 0.86rem;
  color: #1f3550;
  background-color: #fff;
}

.variant-select-styled:focus {
  border-color: #6e95c3;
  box-shadow: 0 0 0 0.2rem rgba(9, 77, 154, 0.15);
}

.mail-dashboard{
  font-size: smaller;
}

.cart-summary {
  max-width: 100%; /* Evita que crezca demasiado */
  max-height: 200px; /* Ajusta la altura máxima para mostrar hasta 4 elementos antes de hacer scroll */
  overflow-y: auto; /* Agrega el scroll vertical si es necesario */
  overflow-x: hidden; /* Evita el scroll horizontal */
}

.cart-summary ul {
  display: block; /* Asegura que los elementos se apilen en columna */
  padding: 0;
  margin: 0;
}

.cart-summary li {
  min-width: unset; /* Elimina la restricción de ancho mínimo */
}

/* Oculta por defecto */
.accordion-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Opcional: cambia apariencia del botón */
.accordion-button {
  cursor: pointer;
}
.accordion-button.collapsed::after {
  float: right;
}
.accordion-button:not(.collapsed)::after {
  float: right;
}

@media (max-width: 767px) {
  .header-base{
    background: #212529;
  }
  .responsive-none{
    display: none;
  }

  .card-dicen{
    width: 60%;
  }

  .app-movil_text{
    width: 80%;
  }

  footer .row {
    text-align: center;
  }

  footer .col-md-4 {
    width: 100%;
    margin-bottom: 20px;
  }

  /* Estilos pestañas Bootstrap con color de marca */

  footer .whatsapp-icon {
    font-size: 2.5rem;
  }

  .offcanvas-cart {
    width: 90% !important;
    height: 100% !important;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    /* Removemos la transformación que posiciona el offcanvas fuera de la pantalla */
    transform: translateX(0) !important;
  }

  .cart-summary{
    max-height: none;
  }
}

@media (max-width: 991.98px) {
  .header-base.header-base-panel {
    position: sticky;
    top: 0;
    z-index: 1065;
    padding: 8px 10px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  }

  .header-base.header-base-panel .mobile-navbar-shell {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 52px;
  }

  .header-base.header-base-panel .navbar-brand {
    margin-right: 0;
  }

  .header-base.header-base-panel .navbar-brand img {
    max-height: 32px;
    width: auto;
  }

  .mobile-header-actions .btn,
  .mobile-nav-toggle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0;
  }

  .mobile-header-actions .btn-primary.bg-azul {
    width: auto;
    padding: 0 12px;
  }

  .mobile-nav-toggle {
    border-color: rgba(255, 255, 255, 0.35);
  }

  .mobile-private-nav {
    width: min(84vw, 340px);
    z-index: 1066;
    background: #212529;
    color: #ffffff;
  }

  .mobile-private-nav .offcanvas-header {
    border-color: rgba(255, 255, 255, 0.18) !important;
  }

  .mobile-private-nav .offcanvas-title {
    color: #ffffff;
  }

  .mobile-private-nav .btn-close {
    filter: invert(1) grayscale(100%);
  }

  .mobile-private-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: background-color .18s ease, color .18s ease;
  }

  .mobile-private-link i {
    width: 18px;
    text-align: center;
    color: #ffffff;
  }

  .mobile-private-link:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
  }

  .mobile-private-link.is-active {
    background: rgba(9, 77, 154, 0.44);
    color: #ffffff;
  }

  .mobile-private-link.is-active i {
    color: #ffffff;
  }

  .panel-main-mobile-offset {
    padding-top: .35rem;
  }
}

.header-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.header-action-btn.is-active {
  border-color: #7ea1c9;
  background: #e8f1fc;
  color: #094d9a;
}

.mobile-private-link:focus-visible,
.header-action-btn:focus-visible,
.mobile-nav-toggle:focus-visible {
  outline: 2px solid #6d9ccc;
  outline-offset: 2px;
}


/* Tabs alineados con el azul de la plataforma (duplicado al final por robustez) */
.nav-tabs .nav-link {
  color: var(--azul-principal);
}
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  color: var(--azul-principal);
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: var(--azul-principal);
  border-color: var(--azul-principal) var(--azul-principal) #fff;
}

