.blgcomment-list>li:nth-child(n+2) {
    margin-block-start: 15px !important;
}
.custom-card {
    border: 1px solid #ced4da;
}
.customizer-action svg{
    width: 23px !important;
    color: #ffffff !important;
}
.active-mode{
    border: solid 2px #000000 !important;
}
.property-img{
    max-width: 507px;
    max-height: 286px;
}
.text-justify{
    text-align: justify;
}
.custom .media{
    padding: 10px !important;
}
.user-avatar{
    width: 30px;
    height: 30px;
}
@media only screen and (max-width: 410px) {
    .header_li {
        display: none !important;
    }
}
.blgcomment-list li .media img{
    width: auto;
    height: 40px !important;
}

#card-element {
    border: 1px solid #e5e5e5 !important;
    border-radius: 5px !important;
    padding: 13px !important;
}
.codex-sidebar .logo-gridwrap{
    padding: 0px 16px !important;
}

.setting-logo{
    width:300px !important;;
}

.landing-logo{
    max-width: 230px;

}
.auth-main .auth-wrapper.v2 .logo{
    max-width: 225px;

}
.b-brand .logo{
    max-width: 155px !important;

}
.lan-footer .codex-brand{
    margin-block-end: 0px !important;
}
.email-sidebar ul.custom-sidebarmenu-list {
    margin-block-start: 0px;
}
.invoice-logo{
    width: 250px;
}

.codex-calendar .events-list li{
    font-size: 13px;
    font-weight: 500;
    padding: 10px 10px;
    border-radius: 5px;
    color: #fff;
    line-height: 1;
}
.codex-calendar .events-list{
    overflow: auto;
    height: 863px;
}
.landing_logo{
    filter: drop-shadow(2px 3px 7px #011C4B);
}
.head-invoice img{
    width: 250px;
}
.cdx-invoice .body-invoice .table tr td{
    padding: 10px 10px !important;
}


.codex-brand img{
    width: 300px;
}
.codex-authbox .auth-header .codex-brand {
    margin-block-end: 0px;
}


.intro {
    background-repeat: no-repeat;
    background-size: cover;
}

.landing_dash {
    position: absolute;
    right: 0px;
    top: 50%;
    left: auto;
    bottom: 0;
    transform: translateY(-50%);
    overflow: hidden;
    height: 585px;
    display: flex;
    align-items: center;
    width: 60%;
}

.landing_dash img {
    object-fit: cover;
    position: relative;
    right: -220px;
    border-radius: 10px;
    left: auto;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1440px) {
    .landing_dash {
        display: none;
    }
}

.lan-footer {
    text-align: center;
    background-color: unset;
}
.lan-footer .support-contain p {
    color: #051722;
    font-size: calc(16px + 4*(100vw - 420px) / 1500);
}
.select2-container .select2-selection--single {
    height: 43px !important;
    border-color: #e5e5e5;
}
.select2-container .select2-selection--multiple{
    min-height: 43px !important;
}
.select2-container--default .select2-selection--multiple{
    border: 1px solid #e5e5e5;
}

/* =========================================================================== */
.dt-length{
    padding-left: 7px !important;
}
.dt-search{
    padding-right: 7px !important;
}
.dt-info{
    padding-left: 7px !important;
}
.dt-paging{
    padding-right: 7px !important;
}
.dt-buttons{
    padding-left: 7px !important;
    float: left;
}
.dt-container{
    margin-top: 10px;
}
.dt-info{
    float: left;
}
.dt-paging{
    float: right;
    padding-top: .85em;
}
.form-group{
    margin-bottom: 15px;
}
div:where(.swal2-container) .swal2-popup {
    background: #171d2d !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5) !important;
}
div:where(.swal2-container) h2:where(.swal2-title){
    font-size: 1.25em !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}
div:where(.swal2-container) .swal2-html-container{
    font-size: 0.95em !important;
    color: #cbd5e1 !important; /* Plomo claro legible sobre fondo oscuro */
    line-height: 1.5 !important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
    font-size: 0.85em !important;
    color: #e2e8f0 !important;
    background-color: #475569 !important;
    border-radius: 8px !important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{
    font-size: 0.85em !important;
    color: #ffffff !important;
    background-color: #7137f4 !important;
    border-radius: 8px !important;
    padding: 0.6em 1.8em !important;
    font-weight: 600 !important;
}
div:where(.swal2-icon){
    width: 4em !important;
    height: 4em !important;
}
.account-tabs .nav-item .nav-link {
    position: relative;
    padding: 0.7rem 1rem;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
}
.testaments-cards::after {
    background: transparent !important;
}
.pricingpricing .price-card .product-list li::before {
    content : '\eb55';
    color: red;
}
.pricingpricing .price-card .product-list li.enable::before {
    content: "\ea5e";
    color: #00c853;
}
.pricingpricing .price-card .product-list li {
    opacity: 1 !important;
}

.account-tabs .nav-item .nav-link.active
{
    color: var(--bs-secondary-rgb);
    background: rgba(var(--bs-secondary-rgb), 0.1);
}

/* Responsive behavior for all DataTables */
div.dt-container,
.dataTables_wrapper {
    width: 100%;
    max-width: 100%;
}

div.dt-scroll-body,
.dataTables_wrapper .dataTables_scrollBody {
    overflow-x: auto !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

table.dataTable,
table.dataTable.table,
table.basic-datatable,
table.advance-datatable {
    width: 100% !important;
}

table.dataTable th,
table.dataTable td,
table.basic-datatable th,
table.basic-datatable td,
table.advance-datatable th,
table.advance-datatable td {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Trainees table: keep technical columns in one line and let only User column wrap */
table.trainee-table th,
table.trainee-table td {
    white-space: nowrap !important;
    word-break: normal;
    overflow-wrap: normal;
}

table.trainee-table th.trainee-user-col,
table.trainee-table td.trainee-user-col {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 220px;
}
.superadmin-dashboard {
    --surface-bg: #f6f7fb;
    --card-border: #e9ecf2;
    --text-muted: #6f7788;
    --shadow-soft: 0 2px 12px rgba(16, 24, 40, .06);
    --teal: #15b79e;
    --orange: #f79009;
    --purple: #7a5af8;
    --red: #f04438;
    --dark: #0f172a;
    margin-bottom: 2rem;
}

.superadmin-dashboard .dashboard-headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.superadmin-dashboard .dashboard-date {
    color: var(--text-muted);
    margin-bottom: 0;
}

.superadmin-dashboard .btn-reportes {
    border-radius: 999px;
    padding: 10px 18px;
    background: var(--teal);
    color: #fff;
    font-weight: 600;
    border: none;
    box-shadow: var(--shadow-soft);
}

.superadmin-dashboard .metric-card,
.superadmin-dashboard .panel-card {
    border: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    background: #fff;
    height: 100%;
}

.superadmin-dashboard .metric-card .card-body,
.superadmin-dashboard .panel-card .card-body {
    padding: 1.2rem 1.25rem;
}

.superadmin-dashboard .metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    margin-bottom: 14px;
}

.superadmin-dashboard .metric-label {
    color: #475467;
    margin-bottom: 0;
}

.superadmin-dashboard .metric-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 4px;
}

.superadmin-dashboard .trend-pill {
    font-size: .85rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.superadmin-dashboard .trend-up {
    color: #067647;
    background: #ecfdf3;
}

.superadmin-dashboard .trend-down {
    color: #b42318;
    background: #fef3f2;
}

.superadmin-dashboard .chart-panel {
    min-height: 395px;
}

.superadmin-dashboard .donut-wrap {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 16px;
    position: relative;
    background: conic-gradient(var(--donut-data));
}

.superadmin-dashboard .donut-wrap::after {
    content: '';
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    background: #fff;
}

.superadmin-dashboard .distribution-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.superadmin-dashboard .distribution-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
    color: #344054;
}

.superadmin-dashboard .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.superadmin-dashboard .activity-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 12px;
    transition: .2s ease;
}

.superadmin-dashboard .activity-row:hover {
    background: #f8fafc;
}

.superadmin-dashboard .activity-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf3;
    color: #027a48;
    flex-shrink: 0;
}

.superadmin-dashboard .status-row {
    margin-bottom: 14px;
}

.superadmin-dashboard .status-track {
    background: #eaecf0;
    border-radius: 999px;
    height: 7px;
    overflow: hidden;
}

.superadmin-dashboard .status-fill {
    height: 100%;
    border-radius: 999px;
}

.superadmin-dashboard .quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.superadmin-dashboard .quick-actions a {
    border-radius: 14px;
    font-weight: 600;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
}

.pc-footer .footer-link {
    row-gap: 0.35rem;
}

.pc-footer .footer-link .list-inline-item {
    margin-right: 0 !important;
}
.trainee-autocomplete {
    position: relative;
}

.trainee-autocomplete__results {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 260px;
    overflow-y: auto;
    padding: 6px 0;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.trainee-autocomplete__option,
.trainee-autocomplete__empty {
    padding: 10px 14px;
    font-size: 14px;
}

.trainee-autocomplete__option {
    cursor: pointer;
    color: #212529;
    background: transparent;
}

.trainee-autocomplete__option:hover,
.trainee-autocomplete__option.is-active {
    background: #e9f7f4;
    color: #00a98f;
}

.trainee-autocomplete__empty {
    color: #6c757d;
}