@import url("../vendor/highcharts/code/css/highcharts.css");

.main-header.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    min-height: 74px !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid #eaeaea !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02) !important;
}
.main-header.navbar .nav-link {
    padding-top: 1.3rem !important;
    padding-bottom: 1.3rem !important;
}
.content-header {
    margin-top: 74px !important;
}
.main-sidebar {
    position: fixed !important;
}

/* LOGO — Expandido */
.brand-link {
    background-color: #ffffff !important;
    color: #ff0c75 !important;
    border-bottom: 1px solid #eee !important;
}
.brand-link .brand-image {
    max-height: 33px !important;
    width: auto !important;
}
.brand-link .brand-text {
    color: #ff0c75 !important;
    margin-left: 0.5rem !important;
}

/* LOGO — Contraído (solo afecta la imagen del logo) */
.sidebar-collapse .brand-link .brand-image {
    max-height: 42px !important;
    width: auto !important;
    max-width: 68px !important;
    object-fit: contain !important;
    margin-left: 0 !important;
    padding-left: 0% !important;
    float: left !important;
}

/* COLORS & BUTTONS */
.bg-primary,
.btn-primary {
    background-color: #ff0c75 !important;
    border-color: #ff0c75 !important;
}
.btn-primary:hover {
    background-color: #aa1d52 !important;
    border-color: #aa1d52 !important;
}
.text-pink {
    color: #ff0c75 !important;
}

.iepc-registro-seccion {
    background-color: #fff;
}

.iepc-registro-seccion + .iepc-registro-seccion {
    margin-top: 1rem;
}

.iepc-registro-seccion__header {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border: 0;
    background: #fff;
    color: #111827;
    text-align: left;
    cursor: pointer;
    border: 1px solid #f1d2df;
    border-radius: 0.75rem;
}

.iepc-registro-seccion__header:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(255, 12, 117, 0.18);
}

.iepc-registro-seccion.is-open .iepc-registro-seccion__header {
    border-color: #ff0c75;
    box-shadow: 0 0.4rem 1rem rgba(255, 12, 117, 0.08);
}

.iepc-registro-seccion__titulo {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #5b6472;
    transition:
        font-size 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.iepc-registro-seccion.is-open .iepc-registro-seccion__titulo {
    font-size: 1.95rem;
    line-height: 1.05;
    color: #111827;
    transform: translateY(0.05rem);
}

.iepc-registro-seccion__accion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background-color: #ff0c75;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.iepc-registro-seccion__contenido {
    padding: 1.5rem 1.5rem 0;
}

.iepc-registro-seccion__contenido--footer {
    padding-bottom: 1.5rem;
}

.iepc-registro-seccion__navegacion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 0 1.5rem;
}

.iepc-registro-seccion__navegacion--end {
    justify-content: flex-end;
}

.iepc-registro-grid .form-group {
    margin-bottom: 1.35rem;
}

.iepc-registro-grid .form-text {
    min-height: 1.35rem;
    margin-top: 0.45rem;
}

.iepc-registro-select--compacto {
    width: 100%;
    max-width: 38rem;
}

.iepc-registro-subbloque {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.25rem 0 0.75rem;
}

.iepc-registro-subbloque::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(255, 12, 117, 0.22),
        rgba(255, 12, 117, 0)
    );
}

.iepc-registro-subbloque__etiqueta {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: #fff4f9;
    color: #a61f56;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.iepc-registro-subbloque--spaced {
    margin-top: 0.4rem;
}

.iepc-registro-subbloque--center {
    justify-content: center;
    margin-bottom: 0.8rem;
}

.iepc-registro-subbloque--center::before,
.iepc-registro-subbloque--center::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(255, 12, 117, 0),
        rgba(255, 12, 117, 0.22)
    );
}

.iepc-registro-subbloque--center::after {
    background: linear-gradient(
        90deg,
        rgba(255, 12, 117, 0.22),
        rgba(255, 12, 117, 0)
    );
}

@media (max-width: 767.98px) {
    .iepc-registro-seccion__header {
        padding: 0.9rem 1rem;
    }

    .iepc-registro-seccion__titulo {
        font-size: 0.92rem;
    }

    .iepc-registro-seccion.is-open .iepc-registro-seccion__titulo {
        font-size: 1.45rem;
    }

    .iepc-registro-seccion__contenido {
        padding: 1rem 1rem 0;
    }

    .iepc-registro-seccion__navegacion {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .iepc-registro-grid .form-text {
        min-height: 0;
    }

    .iepc-registro-select--compacto {
        max-width: none;
    }

    .iepc-registro-subbloque {
        margin-bottom: 0.6rem;
    }
}

/* SIDEBAR NAVIGATION (Expanded mode) */
.nav-sidebar > .nav-item > .nav-link.active {
    background-color: #ffffff !important;
    color: #ff0c75 !important;
    border-left: 5px solid #ff0c75 !important;
}

/* Fix text shifting when active (expanded mode) */
.sidebar-mini:not(.sidebar-collapse)
    .nav-sidebar
    > .nav-item
    > .nav-link.active {
    padding-left: calc(1rem - 5px) !important;
}

/* Active sub-menu items */
.nav-treeview > .nav-item > .nav-link.active {
    background-color: #f8f9fa !important;
    color: #ff0c75 !important;
    border-left: 3px solid #ff0c75 !important;
}

/* LOGIN PAGE */
body.login-page {
    background: #f3f4f6 !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important; /* Desactivar el flexbox de AdminLTE que centra el contenido */
    height: 100vh !important;
    width: 100% !important;
}

/* Ocultar elementos de AdminLTE que estorban en el login */
body.login-page .main-sidebar,
body.login-page .main-header,
body.login-page .main-footer,
body.login-page .login-box,
body.login-page .login-logo,
body.login-page .card {
    display: none !important;
}

/* Resetear el contenedor principal de AdminLTE */
body.login-page .wrapper,
body.login-page .content-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    background: transparent !important;
    width: 100% !important;
}

body.login-page .iepc-login-split {
    min-height: 100vh !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
}

body.login-page .iepc-login-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.25rem 2rem 2.5rem;
    background:
        linear-gradient(rgba(233, 30, 99, 0.15), rgba(233, 30, 99, 0.15)),
        radial-gradient(
            circle at 20% 15%,
            rgba(255, 255, 255, 0.45),
            rgba(255, 255, 255, 0) 32%
        ),
        linear-gradient(145deg, #f7cddf, #f3dae5 35%, #f0cedf 100%);
}

body.login-page .iepc-login-visual-content {
    width: min(560px, 100%);
    text-align: center;
    margin-top: 0;
}

body.login-page .iepc-login-visual-title {
    margin: 0;
    font-size: clamp(2rem, 2.2vw, 2.65rem);
    font-weight: 800;
    color: #1f1f1f;
    line-height: 1.15;
}

body.login-page .iepc-login-visual-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 0.8rem;
    background: rgba(196, 30, 114, 0.45);
}

body.login-page .iepc-login-visual-cael-logo {
    display: block !important;
    width: 100% !important;
    max-width: 520px !important;
    height: auto !important;
    margin: 1.8rem auto 0 !important;
}

body.login-page .iepc-login-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 1px,
        transparent 1px
    );
    background-size: 24px 24px;
    pointer-events: none;
}

body.login-page .iepc-login-panel-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f5f6f8;
}

body.login-page .iepc-login-panel {
    width: min(460px, 100%);
}

body.login-page .iepc-login-panel-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

body.login-page .iepc-login-panel-brand img {
    height: 120px;
    width: auto;
}

body.login-page .iepc-login-panel-title {
    margin: 0 0 1.45rem;
    text-align: center;
    font-size: 2.6rem;
    font-weight: 500;
    color: #242424;
}

body.login-page .iepc-login-field {
    position: relative;
    margin-bottom: 1.05rem;
}

body.login-page .iepc-login-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

body.login-page .iepc-login-input-group .form-control {
    height: 52px;
    border-radius: 8px;
    border: 1px solid #cfd4dc;
    background: #fff !important;
    padding: 0 46px 0 42px;
    font-size: 1.05rem;
    font-weight: 400;
}

body.login-page .iepc-login-input-group .form-control:focus {
    border-color: #e91e63 !important;
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.12) !important;
}

body.login-page .iepc-login-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #c41e72;
    pointer-events: none;
    font-size: 16px;
    z-index: 10;
}

body.login-page .iepc-login-field-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #8d8d8d;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
}

body.login-page .iepc-login-field-toggle:hover,
body.login-page .iepc-login-field-toggle:focus {
    color: #c41e72;
    outline: none;
}

body.login-page .iepc-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.25rem 0 1.35rem;
}

body.login-page .iepc-login-forgot {
    color: #3a3a3a;
    font-size: 1.02rem;
}

body.login-page .iepc-login-forgot:hover {
    color: #c41e72;
    text-decoration: none;
}

body.login-page .btn-iepc-login {
    border: 0;
    height: 52px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff1480, #e40071);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

body.login-page .btn-iepc-login:hover,
body.login-page .btn-iepc-login:focus {
    color: #fff;
    box-shadow: 0 0.6rem 1.2rem rgba(233, 30, 99, 0.28);
    outline: none;
}

body.login-page .iepc-login-register {
    color: #4a4a4a;
    font-size: 0.98rem;
    text-align: center;
    margin-top: 1rem;
}

body.login-page .iepc-login-register a {
    color: #c41e72;
    font-weight: 600;
    margin-left: 0.3rem;
}

body.login-page .iepc-login-register a:hover {
    color: #a1185d;
    text-decoration: none;
}

body.login-page .iepc-remember-me label {
    padding-left: 29px !important;
    min-height: 22px;
    line-height: 22px;
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin-bottom: 0;
    font-weight: 600;
    cursor: pointer;
    color: #4a4a4a;
    font-size: 1rem;
}

body.login-page .iepc-remember-me {
    position: relative;
    display: inline-block;
}

body.login-page .iepc-remember-me input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 22px;
    height: 22px;
    margin: 0;
    cursor: pointer;
    z-index: 5;
}

body.login-page .iepc-remember-me input[type="checkbox"] + label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1px solid #d3cfc8;
    border-radius: 0;
    left: 0;
    top: 0;
}

body.login-page
  .iepc-remember-me
  input[type="checkbox"]:checked
  + label::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 7px;
  height: 10px;
  border: 2px solid #fff;
  border-left: none;
  border-top: none;
  transform: translate(7.75px, 4.5px) rotate(45deg);
  -ms-transform: translate(7.75px, 4.5px) rotate(45deg);
  left: 0;
  top: 0;
}

body.login-page
  .iepc-remember-me
  input[type="checkbox"]:checked
  + label::before {
  background: #ff0c75;
  border-color: #ff0c75;
}

@media (max-width: 1100px) {
    body.login-page .iepc-login-split {
        grid-template-columns: 45% 55%;
    }
}

@media (max-width: 900px) {
    body.login-page .iepc-login-split {
        grid-template-columns: 1fr;
    }

    body.login-page .iepc-login-visual {
        min-height: 180px;
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }

    body.login-page .iepc-login-panel-wrap {
        padding-top: 1.5rem;
    }

    body.login-page .iepc-login-panel-title {
        font-size: 2rem;
    }

    body.login-page .iepc-login-visual-content {
        margin-top: 1rem;
    }

    body.login-page .iepc-login-visual-title {
        font-size: 1.85rem;
    }

    body.login-page .iepc-login-visual-cael-logo {
        max-width: 340px;
        margin-top: 1.25rem;
    }
}

.card-iepc-outline {
    border-top: #ff0c75 solid 5px !important;
}
.card-outline-secondary {
    border-top: #6c757d solid 5px !important;
}

/* CREATE ACCOUNT PAGE */
.iepc-register-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    background: linear-gradient(180deg, #ebedf0 0%, #e8eaee 100%);
}

.iepc-register-card {
    position: relative;
    border-radius: 20px;
    border: 1px solid #e6e7ea;
    background: #f7f7f8;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
    padding-top: 1rem;
}

.iepc-register-badge {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.iepc-register-badge .fas {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #c3005f;
    color: #fff;
    font-size: 1.15rem;
}

.iepc-register-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f1f1f;
}

.iepc-register-subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.98rem;
    color: #5a5a5a;
}

.iepc-register-input {
    height: 48px;
    border-radius: 10px;
    border: 1px solid #d2d3d8;
    background: #ffffff;
    padding-left: 44px;
    padding-right: 42px;
}

.iepc-register-field {
    position: relative;
}

.iepc-register-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #cf4a83;
    font-size: 0.95rem;
    z-index: 3;
}

.iepc-register-field-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #8e8f95;
    padding: 0;
    line-height: 1;
    z-index: 4;
}

.iepc-register-field-toggle:hover,
.iepc-register-field-toggle:focus {
    color: #c3005f;
    outline: none;
}

.iepc-register-input:focus {
    border-color: #e91e63;
    background: #fff;
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.12);
}

.iepc-register-btn {
    border: 0;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(180deg, #e10072, #c90061);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.3rem;
    box-shadow: 0 8px 14px rgba(201, 0, 97, 0.24);
}

.iepc-register-btn:hover,
.iepc-register-btn:focus {
    color: #fff;
    background: linear-gradient(180deg, #d00069, #b80058);
}

.iepc-register-login-link {
    margin-top: 1.1rem !important;
}

.iepc-register-login-link a {
    color: #c3005f;
    font-weight: 500;
}

.iepc-register-login-link a:hover {
    color: #a90053;
    text-decoration: none;
}

.iepc-register-footer-tag {
    margin-top: 1.5rem;
    color: #0e6f2f;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.iepc-register-footer-tag .fas {
    color: #0f7f36;
    margin-right: 0.35rem;
}

@media (max-width: 576px) {
    .iepc-register-page {
        padding-top: 4.2rem;
    }

    .iepc-register-card {
        border-radius: 14px;
    }

    .iepc-register-title {
        font-size: 1.7rem;
    }
}

.btn-iepc,
.bg-iepc {
    background-color: #aa1d52 !important;
    color: #ddd !important;
}
.btn-iepc:hover {
    background-color: #ff0c75 !important;
    color: #fff !important;
}

.select2-results__option[aria-selected="true"] {
    background-color: #aa1d52 !important;
}

.dataTables_filter,
.dataTables_paginate {
    padding-right: 10px;
}
.dataTables_info {
    padding-left: 10px;
}
.border-left-iepc-5 {
    border-left: #ff0c75 solid 5px !important;
}
.border-left-secondary-5 {
    border-left: #777 solid 5px !important;
}

.row.color:nth-child(odd) {
    background-color: #efefef;
}
.row.color:nth-child(even) {
    background-color: #fff;
}

.disabled {
    pointer-events: none;
    opacity: 0.8;
}
.nav-item.nav-link {
    color: #777;
}
.nav-item.nav-link.active {
    color: #fff;
}
.checkbox-1x {
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
}
.checkbox-2x {
    transform: scale(2);
    -webkit-transform: scale(2);
}
.checkbox-3x {
    transform: scale(2.5);
    -webkit-transform: scale(2.5);
}

#expediente-aspirante
    .custom-switch
    .custom-control-input:checked
    ~ .custom-control-label::before {
    background-color: #28a745;
    border-color: #28a745;
}

#expediente-aspirante
    .custom-switch
    .custom-control-input:focus
    ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.modal {
    background-color: rgba(0, 0, 0, 0.7);
}

.pagination {
    display: flex;
    justify-content: center;
}
.page-link {
    color: #555;
}
.page-item.active span.page-link {
    background-color: #ff0c75;
    border-color: #ff0c75;
    color: #fff;
    font-weight: bold;
}
.text-iepc {
    color: #ff0c75;
}

.gradient-light {
    background: #f5f5f5;
    background: -webkit-linear-gradient(
        to top,
        rgba(255, 255, 255, 0),
        rgba(227, 227, 227, 0.5)
    );
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0),
        rgba(227, 227, 227, 0.5)
    );
}

.loading {
    z-index: 100000000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}
.loading-content {
    position: absolute;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ea1d77;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    top: 50%;
    left: calc(50% - 45px);
    animation: spin 2s linear infinite;
}
.loading-content2 {
    position: absolute;
    border: 1px solid transparent;
    border-top: 4px solid #ea1d77;
    border-radius: 50%;
    width: 82px;
    height: 82px;
    top: calc(50% + 90px);
    left: calc(50% - 45px);
    animation: spin 0.4s linear infinite;
    z-index: 1;
    font-size: 53px;
    text-align: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.preloader {
    background-color: transparent !important;
}
.preloader-iepc {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.preloader-iepc div {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ea1d77;
    animation: preloader-iepc 1.2s linear infinite;
}

.highcharts-figure {
    max-width: 800px;
    min-width: 360px;
    margin: 0 auto;
}
/* EXPEDIENTES - Botones transparentes */
.btn-transparent {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 8px;
    transition: all 0.2s ease;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-transparent:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}
.text-danger-soft {
    color: #dc3545 !important;
}
.text-info-soft {
    color: #17a2b8 !important;
}

/* Dashboard preview: tarjetas iniciales estilo import */
.iepc-dashboard-preview-area {
    background: transparent;
    padding: 0.5rem 1.5rem 4rem;
    max-width: 1450px;
    margin: 0 auto;
    float: none;
}

.iepc-dashboard-preview-title {
    margin: 0;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 600;
    color: #111827;
}

.iepc-dashboard-preview-subtitle {
    margin: 0.45rem 0 1.1rem;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #6c757d;
}

.iepc-dashboard-preview-cards {
    margin-bottom: 1.2rem;
}

.iepc-dashboard-preview-cards > div {
    margin-bottom: 1.25rem;
}

.iepc-kpi-card {
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 4px solid #475569;
    border-radius: 0.95rem;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.05);
    padding: 1.5rem 1.4rem 1.25rem;
    min-height: 330px;
    display: flex;
    flex-direction: column;
}

.iepc-kpi-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.iepc-kpi-card__title {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.25;
    font-weight: 500;
    color: #475569;
}

.iepc-kpi-card__value {
    margin: 0.26rem 0 0;
    font-size: 1.85rem;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #1f2937;
}

.iepc-dashboard-preview-cards > div:first-child .iepc-kpi-card__value {
    font-size: 1.75rem;
}

.iepc-kpi-card__icon {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 0.75rem;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.iepc-kpi-card__icon svg {
    width: 1.35rem;
    height: 1.35rem;
    stroke: currentColor;
    stroke-width: 2.5;
}

.iepc-kpi-card__metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.iepc-kpi-card__metric-box {
    background: #eceef2;
    border-radius: 0.55rem;
    padding: 0.72rem 0.78rem;
}

.iepc-kpi-card__metric-box--full {
    margin-bottom: 0.9rem;
}

.iepc-kpi-card__metric-label {
    margin: 0;
    font-size: 0.80rem;
    line-height: 1.2;
    font-weight: 400;
    color: #6b7280;
}

.iepc-kpi-card__metric-value {
    margin: 0.32rem 0 0;
    font-size: 1.35rem;
    line-height: 1.05;
    font-weight: 500;
    color: #1f2937;
}

.iepc-kpi-card__metric-value--success {
    color: #15803d;
}

.iepc-kpi-card__metric-value--danger {
    color: #ff0c75;
}

.iepc-kpi-card__progress-track {
    width: 100%;
    height: 0.45rem;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.iepc-kpi-card__progress-bar {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.iepc-kpi-card__progress-label {
    margin: 1rem 0 0;
    font-size: 0.84rem;
    line-height: 1.25;
    color: #4b5563;
    font-weight: 400;
}

@media (max-width: 767.98px) {
    .iepc-dashboard-preview-area {
        padding: 1rem 0.5rem;
    }

    .iepc-dashboard-preview-title {
        font-size: 1.3rem;
    }

    .iepc-dashboard-preview-subtitle {
        font-size: 0.92rem;
    }

    .iepc-kpi-card {
        min-height: auto;
        padding: 0.9rem 0.85rem;
    }

    .iepc-kpi-card__value {
        font-size: 1.55rem;
    }

    .iepc-dashboard-preview-cards > div:first-child .iepc-kpi-card__value {
        font-size: 1.50rem;
    }

    .iepc-kpi-card__metric-value {
        font-size: 1.20rem;
    }
}

/* Status Cards (Aspirantes) based on import */
.iepc-status-wrapper {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    margin-bottom: 0.5rem;
}

.iepc-status-card {
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid transparent;
    transition: box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.iepc-status-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
}

.iepc-status-info {
    flex: 1;
}

.iepc-status-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.iepc-status-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.iepc-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 0.75rem;
}

.iepc-status-icon svg {
    width: 2.4rem;
    height: 2.4rem;
}

/* Status Colors matching import */
.iepc-bg-success-light { background-color: #f0fdf4; }
.iepc-border-success-light { border-color: #bbf7d0; }
.iepc-text-success-dark { color: #15803d; }
.iepc-text-success { color: #16a34a; }

.iepc-bg-warning-light { background-color: #fefce8; }
.iepc-border-warning-light { border-color: #fef08a; }
.iepc-text-warning-dark { color: #a16207; }
.iepc-text-warning { color: #ca8a04; }

.iepc-bg-danger-light { background-color: #fef2f2; }
.iepc-border-danger-light { border-color: #fecaca; }
.iepc-text-danger-dark { color: #b91c1c; }
.iepc-text-danger { color: #dc2626; }

.iepc-bg-info-light { background-color: #eff6ff; }
.iepc-border-info-light { border-color: #bfdbfe; }
.iepc-text-info-dark { color: #1d4ed8; }
.iepc-text-info { color: #2563eb; }

.iepc-bg-secondary-light { background-color: #f9fafb; }
.iepc-border-secondary-light { border-color: #e5e7eb; }
.iepc-text-secondary-dark { color: #374151; }
.iepc-text-secondary { color: #4b5563; }

.iepc-bg-purple-light { background-color: #faf5ff; }
.iepc-border-purple-light { border-color: #e9d5ff; }
.iepc-text-purple-dark { color: #6b21a8; }
.iepc-text-purple { color: #9333ea; }

/* Menú Sidebar de Municipios */
.iepc-sidebar-wrapper {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    max-height: 540px;
    overflow-y: auto;
    margin-top: 0;
    margin-bottom: 2rem;
}

.iepc-sidebar-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    padding: 0 0 0.75rem 0;
    margin-bottom: 0.75rem;
    border-bottom: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.iepc-sidebar-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.iepc-sidebar-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0.75rem;
    color: #111827;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    font-weight: 400;
    border-radius: 0.5rem;
}

.iepc-sidebar-item:hover {
    background-color: #f5f6f8;
    color: #111827;
    text-decoration: none;
}

.iepc-sidebar-item.active {
    background-color: #fff5f9;
    color: #ff0c75;
    font-weight: 500;
}

/* Scrollbar para la caja del sidebar */
.iepc-sidebar-wrapper::-webkit-scrollbar {
    width: 6px;
}
.iepc-sidebar-wrapper::-webkit-scrollbar-track {
    background: transparent;
}
.iepc-sidebar-wrapper::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
.iepc-sidebar-wrapper::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Estado activo sólido (rosa intenso) para el menú Navegación */
.iepc-sidebar-item.active-pink {
    background-color: #ff0c75 !important;
    color: #ffffff !important;
    font-weight: 500;
}
.iepc-sidebar-item.active-pink i {
    color: #ffffff !important;
}
.iepc-sidebar-item.active-pink:hover {
    background-color: #aa1d52 !important;
}

.iepc-premium-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    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%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    transition: all 0.2s ease;
    width: 250px;
    max-width: 100%;
}

.iepc-premium-select:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.iepc-premium-select:focus {
    outline: none;
    border-color: #ff0c75;
    box-shadow: 0 0 0 3px rgba(255, 12, 117, 0.15);
}

