.text-gray {
    color: white;
    font-size: 1em;
    text-transform: uppercase!important;
    padding-bottom: 1.5rem!important;
    padding-right: 1rem!important;
    padding-left: 1rem!important;
    margin-bottom: 0!important;
    border-bottom: var(--bs-border-width) var(--bs-border-style) #dee2e600!important;
    font-weight: 500;
}
.nav-link:hover{
    background:  #009bbad4;
    
}
.nav-link{
    color: white !important;
}
A{
    text-decoration: None;
}
.body{
    background: transparent;
}
#sidebar{
    overflow-y: auto;
    margin-left: 20px;
    background-color: #3d3d3d;
}
.text-gray > i{
    margin-top: 10px;
    color: green
}


.disnone{
    display: none
}
.imageHeader{
    margin-left: 30px;margin-top: 10px;
}

.rows{
    color: black !important;
    cursor: pointer;
}

html, body {
    height: 100%;
  }
  
.full-height {
    height: 98%;
}
select{
    cursor:pointer
}
.rowbody{
    margin-top:10px;
    margin-left: 10px;
}
.rowGroup{
    margin-top: 15px;
}
#confgnrl:hover{
    cursor:pointer
}
#confgnrl{
    color: green;
}

.bkctrans {
    background: rgba(255, 255, 255, 0.8);
}

body{
    background-color: #f7f7f7;
    background-size: cover;
    background-repeat: no-repeat;
    overflow-y: hidden;
    overflow-x: hidden;
}
#actvul{
    margin-top: 8px;
}
.ppointer{
    cursor: pointer;
    padding-top: 5px;
}
.row{
    overflow: auto;
}
.litabs{
    color: black !important;
}
.avcss{display:none}
.row{ overflow: hidden;}
.form-control {background-color: #dbd5d56e;}

@media only screen and (max-width: 600px) {
    .cardInit {
        width: 100%;
    }
    .row {
        padding-right: 0;
        overflow-y: auto;
    }
    #sidebar {
        margin-left: 0px;
        height: 100%;
    }
    main{
        overflow-y: auto; 
        overflow-x: hidden;
    }
}
.div1{
    background-color: #009bba;
}
#divheader{
    overflow: inherit; margin-top: 10px;
}
.labelactval{
    font-size: calc(.8rem + .3vw);color: white;
}
#imggearsolid{
    width: 13px;height: 17px;
}
#cursorExpedientesrow, #cursorCatalogosrow, #cursorAlertasrow, #cursorMatrizrow,
#cursorreportesrow, #cursorfilesrow, #cursorListasrow, #cursorarrendamientorow, #cursorDINrow, #cursorBLIrow,
#cursorINMrow, #cursoravisosrow,#cursorDONrow,#cursorAudirow, #cursorAudi11row, #cursormutuorow, #cursorVEHrow,#cursorspr_admonrow  {
    width: 13px;height: 17px;float: inline-end;
}
#pindex{
    padding-top: 25px;
}
#h3textfoot{
    color: white;
}
#divbody{
    height: 95%;overflow: auto;
}

#idcardbodytitle{
    padding: initial;
}
#idh3bodytitle{
    background-color: #3d3d3d;
    COLOR: #009bba;margin: 7px;
}
#idh3bbodytitle{
    padding-left: 10px;
}
#sidebar > li :hover{
    background-color:#009bba;
}
.btn-success{
    background-color: #004aba;
}
.btn-success:hover{
    background-color: #009bba;
}


        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #F0F2F5;
            color: #1a1a1a;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ── SHELL ── */
        .shell {
            display: flex;
            flex: 1;
            min-height: 100vh;
        }

        /* ── SIDEBAR ── */
        .sidebar {
            width: 220px;
            flex-shrink: 0;
            background: #1B2B4B;
            display: block;
            flex-direction: column;
            padding: 20px 0 0;
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            overflow-y: auto;
            z-index: 100;
        }

        .brand {
            padding: 0 18px 18px;
            border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 10px;
        }

        .brand-name {
            font-size: 13px;
            font-weight: 600;
            color: #fff;
            letter-spacing: 0.04em;
        }

        .brand-sub {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.38);
            margin-top: 3px;
            text-transform: uppercase;
            letter-spacing: 0.07em;
        }

        .nav-section {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.09em;
            color: rgb(29 243 215);
            
            padding: 16px 18px 5px;
        }

        .nav-trigger {
            display: flex;
            align-items: center;
            gap: 9px;
            padding: 9px 18px;
            font-size: 12px;
            color: white;
            cursor: pointer;
            border-left: 2px solid transparent;
            user-select: none;
            transition: background 0.12s, color 0.12s;
        }

        .nav-trigger:hover {
            background: rgba(255, 255, 255, 0.06);
            color: rgba(255, 255, 255, 0.85);
        }

        .nav-trigger.active,
        .nav-trigger.open {
            background: rgba(255, 255, 255, 0.09);
            color: #fff;
            border-left-color: #1D9E75;
        }

        .nav-trigger .ti {
            font-size: 15px;
            flex-shrink: 0;
        }

        .nav-trigger .label {
            flex: 1;
        }

        .nav-trigger .chevron {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.28);
            transition: transform 0.22s;
        }

        .nav-trigger.open .chevron {
            transform: rotate(180deg);
            color: rgba(255, 255, 255, 0.55);
        }

        .nav-sub {
            overflow: hidden;
            max-height: 0;
            transition: max-height 0.28s ease;
        }

        .nav-sub.open {
            max-height: 500px;
        }

        .sub-item {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            padding: 7px 18px 7px 40px;
            font-size: 11px;
            color: white;
            cursor: pointer;
            border-left: 2px solid transparent;
            line-height: 1.35;
            transition: background 0.1s, color 0.1s;
        }

        .sub-item:hover {
            background: rgba(255, 255, 255, 0.05);
            color: rgba(255, 255, 255, 0.72);
        }

        .sub-item.active {
            background: rgba(29, 158, 117, 0.14);
            color: #5DCAA5;
            border-left-color: #1D9E75;
        }

        .sub-item .dot {
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: currentColor;
            flex-shrink: 0;
            margin-top: 5px;
            opacity: 0.5;
        }

        .sub-item.active .dot {
            opacity: 1;
        }

        .sidebar-footer {
            margin-top: auto;
            padding: 14px 18px;
            border-top: 0.5px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.45);
        }

        .sidebar-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #1D9E75;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 600;
            color: #fff;
            flex-shrink: 0;
        }

        .sidebar-user {
            flex: 1;
            overflow: hidden;
        }

        .sidebar-username {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.7);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .sidebar-role {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.3);
        }

        /* ── MAIN ── */
        .main {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* ── TOPBAR ── */
        .topbar {
            position: sticky;
            top: 0;
            z-index: 50;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 28px;
            height: 56px;
            background: #fff;
            border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
        }

        .topbar-left {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .topbar-title {
            font-size: 15px;
            font-weight: 600;
            color: #1a1a1a;
        }

        .breadcrumb {
            font-size: 12px;
            color: #888;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .breadcrumb span {
            color: #bbb;
        }

        .topbar-right {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .topbar-select {
            font-size: 12px;
            padding: 6px 12px;
            border-radius: 8px;
            border: 0.5px solid #ddd;
            background: #f5f5f5;
            color: #555;
            cursor: pointer;
            outline: none;
        }

        .topbar-select:focus {
            border-color: #1D9E75;
        }

        .topbar-icon-btn {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: #f5f5f5;
            border: 0.5px solid #e5e5e5;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #666;
            font-size: 16px;
            transition: background 0.12s;
        }

        .topbar-icon-btn:hover {
            background: #eee;
        }

        .topbar-badge-wrap {
            position: relative;
        }

        .badge-dot {
            position: absolute;
            top: 4px;
            right: 4px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #E24B4A;
            border: 1.5px solid #fff;
        }

        .topbar-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #1B2B4B;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 600;
            color: #fff;
            cursor: pointer;
        }

        /* ── CONTENT ── */
        .content {
            flex: 1;
            padding: 24px 28px 32px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .page-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
        }

        .page-header-title {
            font-size: 20px;
            font-weight: 600;
            color: #1a1a1a;
        }

        .page-header-sub {
            font-size: 13px;
            color: #888;
            margin-top: 3px;
        }

        .header-date {
            font-size: 12px;
            color: #aaa;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* ── KPI CARDS ── */
        .kpi-row {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
        }

        .kpi-card {
            background: #fff;
            border: 0.5px solid rgba(0, 0, 0, 0.08);
            border-radius: 12px;
            padding: 16px 18px;
            position: relative;
            overflow: hidden;
            transition: box-shadow 0.15s;
        }

        .kpi-card:hover {
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
        }

        .kpi-label {
            font-size: 11px;
            color: #888;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .kpi-value {
            font-size: 28px;
            font-weight: 600;
            color: #1a1a1a;
            line-height: 1;
        }

        .kpi-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 8px;
        }

        .kpi-badge {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            font-size: 10px;
            padding: 3px 8px;
            border-radius: 20px;
            font-weight: 500;
        }

        .badge-red {
            background: #FCEBEB;
            color: #A32D2D;
        }

        .badge-green {
            background: #EAF3DE;
            color: #3B6D11;
        }

        .badge-amber {
            background: #FAEEDA;
            color: #854F0B;
        }

        .badge-gray {
            background: #f0f0f0;
            color: #666;
        }

        .kpi-icon-bg {
            position: absolute;
            right: 14px;
            top: 14px;
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

        .kpi-accent {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
        }

        /* ── BOTTOM ROW ── */
        .bottom-row {
            display: grid;
            grid-template-columns: 1fr 330px;
            gap: 16px;
        }

        .card {
            background: #fff;
            border: 0.5px solid rgba(0, 0, 0, 0.08);
            border-radius: 12px;
            padding: 20px 22px;
        }

        .card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }

        .card-title {
            font-size: 13px;
            font-weight: 600;
            color: #1a1a1a;
        }

        .card-action {
            font-size: 11px;
            color: #1D9E75;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* legend */
        .chart-legend {
            display: flex;
            gap: 16px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 11px;
            color: #888;
        }

        .legend-dot {
            width: 8px;
            height: 8px;
            border-radius: 2px;
            flex-shrink: 0;
        }

        /* ── RISK LIST ── */
        .risk-item {
            padding: 12px 0;
            border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
        }

        .risk-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .risk-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 6px;
        }

        .risk-name {
            font-size: 12px;
            font-weight: 500;
            color: #1a1a1a;
            flex: 1;
            padding-right: 10px;
            line-height: 1.3;
        }

        .risk-pct {
            font-size: 13px;
            font-weight: 600;
            flex-shrink: 0;
        }

        .risk-pct-red {
            color: #A32D2D;
        }

        .risk-pct-amber {
            color: #854F0B;
        }

        .risk-bar-bg {
            height: 5px;
            background: #f0f0f0;
            border-radius: 3px;
            overflow: hidden;
        }

        .risk-bar-fill {
            height: 100%;
            border-radius: 3px;
            transition: width 0.6s ease;
        }

        .risk-tag {
            font-size: 10px;
            color: #aaa;
            margin-top: 4px;
        }

        /* ── FOOTER ── */
        footer {
            text-align: center;
            font-size: 11px;
            color: #aaa;
            padding: 14px 28px;
            border-top: 0.5px solid rgba(0, 0, 0, 0.07);
            background: #fff;
        }
        a{
            text-decoration: auto;
        }

.disnone{
    display: none;
}
.lifilelarr, .lifilelinm, .lifilespr_admon, .lifileldin, .lifileldon, .lifilelveh, .lifilelbli{
    display: none;
}