﻿@import url(//fonts.googleapis.com/css?family=Krona+One);
@import url(//fonts.googleapis.com/css?family=Oswald:700,400,300);
@import url(//fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300,300italic);
@import url(//fonts.googleapis.com/css?family=Open+Sans:700,300,300italic);
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');



/* ===== PALETA CORPORATIVA RMA ===== */
:root {
    --rma-primary: #1b1464;
    --rma-mid: #4a0e8f;
    --rma-accent: #9e4f67;
    --rma-gradient: linear-gradient(135deg, #1b1464 0%, #4a0e8f 55%, #9e4f67 100%);
    --rma-gradient-h: linear-gradient(90deg, #1b1464 0%, #4a0e8f 55%, #9e4f67 100%);
    --rma-navbar-bg: rgba(27, 20, 100, 0.94);
    --rma-card-shadow: 0 4px 24px rgba(27, 20, 100, 0.10);
    --rma-card-hover-shadow: 0 16px 48px rgba(27, 20, 100, 0.22);
    --rma-body-bg: #f4f5fb;
    --rma-contenido-bg: #ffffff;
    --rma-text-main: #2d3748;
    --rma-text-muted: #718096;
    --rma-border: rgba(27, 20, 100, 0.10);
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
    --rma-body-bg: #0f0e1a;
    --rma-contenido-bg: #1a1830;
    --rma-text-main: #e2e8f0;
    --rma-text-muted: #a0aec0;
    --rma-border: rgba(255, 255, 255, 0.10);
    --bs-body-bg: #0f0e1a;
    --bs-body-color: #e2e8f0;
    --bs-card-bg: #1a1830;
    --bs-border-color: rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] body {
    background-color: var(--rma-body-bg);
    color: var(--rma-text-main);
}

[data-theme="dark"] #CuerpoPrincipalHTML,
[data-theme="dark"] #CuerpoPrincipalHTMLBody,
[data-theme="dark"] form {
    background: var(--rma-body-bg) !important;
}

[data-theme="dark"] #Contenido {
    background-color: var(--rma-contenido-bg) !important;
    color: var(--rma-text-main);
}

[data-theme="dark"] .card {
    background-color: #1a1830;
    border-color: var(--rma-border);
    color: var(--rma-text-main);
}

[data-theme="dark"] .dropdown-menu {
    background-color: #1a1830;
    border-color: var(--rma-border);
}

[data-theme="dark"] .dropdown-item {
    color: #e2e8f0;
}

[data-theme="dark"] .dropdown-item:hover {
    background-color: rgba(74, 14, 143, 0.3);
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
    font-size: 0.75rem;
}
#CuerpoPrincipalHTML .t-container .t-row {
    max-width: 100%;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

#CuerpoPrincipalHTML, #CuerpoPrincipalHTMLBody, form {
    height: 100%;
    background: url("Fondo.jpg");
}

#Contenido {
    background-color: White;
    border-radius: 5px 5px 5px 5px;
    margin: 5px;
    padding: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

#Contenido a,
#Contenido a:hover,
#Contenido a:focus,
#Contenido a:active {
    text-decoration: none !important;
}

#sidenav-main .dropdown-menu {
    z-index: 2000;
}

/* RadGrid edit popup must stay above all overlays */
.rgEditForm,
.RadGrid_MetroTouch .rgEditForm,
.rwWindowContent,
.RadWindow .rwWindowContent,
.RadWindow_MetroTouch {
    z-index: 99999 !important;
}

/* RadComboBox dropdown above RadGrid/RadWindow edit popup */
.RadComboBoxDropDown,
div.RadComboBoxDropDown,
.rcbSlide,
div.rcbSlide {
    z-index: 100000 !important;
}

.rwWindowContent,
.RadWindow .rwWindowContent,
.rgEditForm {
    overflow: visible !important;
}

.RadComboBoxDropDown .rcbCheckBox {
    vertical-align: top;
    margin-top: 0.2rem;
}

.RadComboBoxDropDown .rcbItem > label,
.RadComboBoxDropDown .rcbHovered > label,
.RadComboBoxDropDown .rcbDisabled > label,
.RadComboBoxDropDown .rcbLoading > label,
.RadComboBoxDropDown .rcbCheckAllItems > label,
.RadComboBoxDropDown .rcbCheckAllItemsHovered > label {
    display: inline-block !important;
    vertical-align: top;
    width: auto !important;
}

.RadComboBoxDropDown .subsistema-item {
    display: inline-block;
    vertical-align: top;
    margin-left: 0.35rem;
}

.RadComboBoxDropDown .subsistema-item-titulo {
    display: block;
    font-weight: 700;
}

.RadComboBoxDropDown .subsistema-item-desc {
    display: block;
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    #sidenav-main .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

.RadOrgChart {
    white-space: normal !important;
}


.TituloTabla {
    /*background-color: #C9C9C9;*/
    font-family: 'Open Sans Condensed';
    font-size: large;
    line-height: 1;
}

.CeldaTabla {
    line-height: 1.2;
    font-size: small;
}


.EditRow TD {
    border-bottom: 1px solid #d9d6cf;
    font-size: medium;
    vertical-align: top;
}

.FilaComandos td table {
    line-height: 0px !important;
}

body {
    font-size: 16px;
    font-family: 'Inter', 'Open Sans Condensed', sans-serif;
    color: var(--rma-text-main);
    background-color: var(--rma-body-bg);
    margin: 0;
}

ul {
    padding-left: 10px;
}

.orden0 {
    z-index: 0;
}


.main-container {
    min-height: 100%;
    padding: 0;
}

html .t-container {
    width: 100%;
    /*max-width: none;*/
}

.t-row-wrap > .t-row {
    max-width: none;
}

html .t-row {
    /*max-width: 1440px;*/
}

.marginleft15px {
    margin-left: 15px;
}

html .expand-row {
    max-width: none !important;
    padding: 0;
}

.expand-row {
    padding: 20px;
}





/*  Header Section */
.header-wrapper {
    background-color: whitesmoke;
    height: auto;
}

    .header-wrapper h1 {
        margin: 0;
        padding: 0;
        font-size: 1em;
    }


.t-rwd-logo {
    display: block;
    height: 2.5em;
    line-height: 2.5em;
    background-position: 0 0;
    font-family: Krona One;
    text-decoration: none;
    color: rgb(27,20,100);
    font-size: x-large;
    padding-left: 110px;
    background-image: url('LogoRMA.png');
    background-repeat: no-repeat;
}

.t-rwd-pie {
    display: block;
    height: 2.5em;
    line-height: 2.5em;
    background-position: 0 0;
    font-family: Krona One;
    text-decoration: none;
    color: white;
    font-size: medium;
}

.LetraCapital {
    color: rgb(158, 79, 103);
    font-size: xx-large;
    font-weight: bold;
}

.CajaTexto {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #CCCCCC;
    color: #4A4A4A;
    display: block;
    font-family: 'Open Sans Condensed';
    font-size: 16px;
    margin-bottom: 10px;
    padding: 7px 5px;
    transition: border-color 0.3s ease 0s;
    width: 95%;
}


/* Menu Styles */
.menu-wrapper .RadMenu.RadMenu_MetroTouch {
    font-size: .9em;
    font-family: 'Open Sans Condensed';
}

    .menu-wrapper .RadMenu.RadMenu_MetroTouch .rmRootGroup {
        background-color: transparent;
        color: rgb(27,20,100);
        border: none;
        font-weight: bold;
        height: 0.2166em;
    }

.menu-wrapper .RadMenu_MetroTouch .rmRootGroup .rmItem,
.menu-wrapper .RadMenu_MetroTouch .rmRootGroup .rmRootLink:hover,
.menu-wrapper .RadMenu_MetroTouch .rmRootGroup .rmFocused > .rmLink,
.menu-wrapper .RadMenu_MetroTouch .rmLink.rmRootLink {
    border-color: transparent;
}

.menu-wrapper .RadMenu_MetroTouch .rmLink.rmRootLink {
    color: rgb(27,20,100);
    height: 3.75em;
    line-height: 3.75em;
}

    .menu-wrapper .RadMenu_MetroTouch .rmLink.rmRootLink:hover {
        background-color: #fff;
        color: rgb(158, 79, 103);
        font-weight: bolder;
        /*border-top: solid 4px rgb(158, 79, 103);
        border-bottom: solid 4px rgb(158, 79, 103);*/
    }

.menu-wrapper .RadMenu_MetroTouch .rmRootGroup .rmExpanded,
.menu-wrapper .RadMenu_MetroTouch .rmRootGroup .rmSelected > .rmRootLink,
.menu-wrapper .RadMenu_MetroTouch .rmRootGroup .rmExpanded > .rmRootLink {
    background-color: #fff;
}

.menu-wrapper .RadMenu_MetroTouch .rmRootGroup .rmSlide {
    font-weight: normal;
}



.menu-wrapper .RadMenu_MetroTouch .rmHorizontal .rmExpand:before,
.menu-wrapper .RadMenu_MetroTouch .rmBottomArrow .rmIcon {
    background-position: 4px -117px;
}

.t-rwd-boton-anaranjado {
    text-align: right;
}

    .t-rwd-boton-anaranjado .RadButton.RadButton_MetroTouch.rbLinkButton {
        min-width: 4.66em;
        margin-top: .4em;
        margin-bottom: .4em;
        background-color: rgb(158, 79, 103);
        border-radius: 2px;
        color: #fff;
        font-size: .937em;
        font-weight: bold;
        line-height: 1.2;
        padding: .6em 1em;
        text-align: center;
        transition-duration: 0.2s;
        transition-property: background-color, color;
        transition-timing-function: ease;
        border: none;
    }

        .t-rwd-boton-anaranjado .RadButton.RadButton_MetroTouch.rbLinkButton:hover,
        .t-rwd-boton-anaranjado .RadButton.RadButton_MetroTouch.rbLinkButton:focus {
            background-color: #414246;
        }

        .t-rwd-boton-anaranjado .RadButton.RadButton_MetroTouch.rbLinkButton.t-rwd-prim {
            background-color: #EE5315;
        }

            .t-rwd-boton-anaranjado .RadButton.RadButton_MetroTouch.rbLinkButton.t-rwd-prim:hover,
            .t-rwd-boton-anaranjado .RadButton.RadButton_MetroTouch.rbLinkButton.t-rwd-prim:focus {
                background-color: #C2410E;
            }

/* Mobile Menu styles */
.menu-wrapper .RadMenu_MetroTouch .rmRootToggle {
    margin-top: .8em;
}

/* End Menu Style */

/* Mobile Menu */

.RadMenu_MetroTouch.t-rwd-menu-mobile {
    position: static;
}

    .RadMenu_MetroTouch.t-rwd-menu-mobile .rmRootToggle {
        background-color: transparent;
        border-color: transparent;
        color: #fff;
        font-size: .7em;
        position: absolute;
        right: 0;
        top: .1em;
    }

.RadMenuPopup_MetroTouch.t-rwd-menu-mobile {
    z-index: 10000;
}

.RadMenu_MetroTouch.t-rwd-menu-mobile .rmRootToggle:active,
.RadMenu_MetroTouch.t-rwd-menu-mobile .rmRootToggle.rmExpanded {
    background-color: #fff;
    border-color: transparent;
    color: #000;
    width: 39px;
    height: 39px;
}


/* Mobile Menu End */

.menu-wrapper {
    /*height: 3.75em;*/
    background-color: #f9f9f9;
}

.content-wrapper {
    background-color: #fff;
    font-size: .94em;
    /*width: 100%;*/
    /*margin: 10px;*/
    vertical-align: top;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    border-radius: 5px 5px 5px 5px;
}






.footer-content {
    bottom: 0;
    height: auto;
    position: absolute;
    width: 100%;
}


.footer-wrapper {
    background-color: #2a2d33;
    width: 100%;
    padding: .5em 0;
    position: relative;
    bottom: 0;
    z-index: 0;
}

    .footer-wrapper .t-rwd-bottom-logo {
        padding: 1em 0 .5em 0;
    }

    .footer-wrapper .t-rwd-quick-links {
        padding-bottom: .5em;
    }

        .footer-wrapper .t-rwd-quick-links a {
            color: #fff;
            text-decoration: none;
            font-size: .6875em;
        }

            .footer-wrapper .t-rwd-quick-links a:before {
                color: #555555;
                font-size: 1.3em;
                margin-left: 3px;
                margin-right: 8px;
            }

            .footer-wrapper .t-rwd-quick-links a:first-child:before {
                display: none;
            }

            .footer-wrapper .t-rwd-quick-links a:before {
                color: #CED1D4;
                content: "|";
                display: inline-block;
                margin-right: 4px;
            }

.logo-wrapper {
    height: auto;
    background: linear-gradient(#fdfefe, #f0f2f4);
    border-bottom: 1px solid #b6bdc1;
    max-height: 100px;
}

.t-rwd-logo-wrapper {
    float: left;
    width: 16em;
    margin: 0;
    padding: .8em 0 0;
    color: #595b61;
    font-size: 1.875em;
}

    .t-rwd-logo-wrapper span {
        display: block;
    }

.logo-wrapper .t-rwd-relative {
    min-height: 40px;
}

    .logo-wrapper .t-rwd-relative div {
        position: static;
    }


h1 {
    font-family: 'Inter', 'Oswald', sans-serif;
    color: var(--rma-primary);
    margin-top: 15px;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

    h1 span {
        font-family: 'Inter', 'Oswald', sans-serif;
        color: var(--rma-accent);
        font-weight: 800;
    }



.TextoTitulo {
    font-family: 'Oswald';
    color: black;
    font-weight: 400;
    font-size: 15px;
}

.TextoSubTitulo {
    font-family: 'Oswald';
    color: black;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
}

.line-heightCero {
    line-height: 0 !important;
}

h2 {
    font-family: 'Inter', 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--rma-primary);
}

.TextoRojo {
    font-weight: bold;
    color: indianred;
}

.Cuadrito {
    background-color: rgb(158, 79, 103);
    color: white;
    font-family: 'Open Sans Condensed';
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    padding: 10px 3px 3px;
    border-radius: 3px;
    text-wrap: none;
    /*display: block;*/
}

.DivFlex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -webkit-flexbox;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}


.example-title, .example-description {
    display: inline-block;
    margin: 0;
}

    .example-title span {
        font-weight: 700;
        color: rgb(158, 79, 103);
    }

.example-title {
    font-family: 'Open Sans Condensed';
    color: rgb(27,20,100);
    font-weight: 300;
    margin-top: 30px;
    font-size: 35px;
}

.LetraAzul {
    color: rgb(158, 79, 103);
    font-family: 'Open Sans Condensed';
    font-weight: 700;
}

Caption {
    font-family: 'Open Sans Condensed';
    color: rgb(27,20,100);
    font-weight: 300;
}

    Caption span {
        font-weight: 700;
        color: rgb(158, 79, 103);
    }

.ImagenBotonEmpresa {
    display: inline-block;
    width: 80px;
    position: relative;
    height: 80px;
}



.TextoBotonEmpresa {
    display: inline-block;
    font-family: 'Oswald';
    font-size: large;
    text-align: left;
    line-height: 1;
    width: 155px;
    position: relative;
    white-space: normal;
}

.BotonEmpresa {
    height: 85px;
    width: 240px;
}

    .BotonEmpresa:hover .TextoBotonEmpresa {
        width: 190px;
    }

    .BotonEmpresa:hover .ImagenBotonEmpresa {
        display: none;
    }

.BotonEstandar {
    width: 100px;
    height: 70px;
}

    .BotonEstandar:hover .TextoBotonEstandar {
        width: 190px;
    }

.TextoBotonNombreUnidad {
    font-family: 'Oswald';
    font-size: large;
    text-align: left;
    line-height: 1;
    width: 100%;
    white-space: normal;
    /*padding-top: 5px;*/
}

.TextoBotonDescripcion {
    font-family: 'Open Sans Condensed';
    font-size: small;
    text-align: left;
    line-height: 1;
    width: 100%;
    padding-top: 5px;
    white-space: normal;
}




.leftColumn {
    border-right: 2px solid #DDDDDD;
    padding-right: 8px;
    padding-left: 4px;
    width: 180px;
    vertical-align: top;
    background-color: #F6F6F6;
}

.leftColumn2 {
    border-right: 2px solid #DDDDDD;
    border-top: 2px solid #DDDDDD;
    padding-right: 8px;
    padding-left: 4px;
    width: 33%;
    vertical-align: top;
}

.leftColumn3 {
    border-right: 2px solid #DDDDDD;
    border-top: 2px solid #DDDDDD;
    padding-right: 8px;
    padding-left: 4px;
    vertical-align: top;
    width: 50%;
}


.rightColumn {
    padding-left: 8px;
    vertical-align: top;
}

.rightColumn2 {
    border-top: 2px solid #DDDDDD;
    padding-left: 8px;
    vertical-align: top;
}

.pregunta {
    font-weight: bold;
}

    .pregunta td {
        line-height: 0px !important;
        padding: 0px;
        margin: 0px;
    }

.TituloEmpresaOrganigrama .rocItemTemplate .TextoTitulo {
    background-color: black;
    color: white;
    width: 100%;
    line-height: 1.5;
}

.TituloActivoOrganigrama .rocItemTemplate .TextoTitulo {
    color: linear-gradient(white, indianred) !important;
    width: 100%;
    line-height: 1.5;
    border-radius: 25px;
}


.BotonMenu {
    width: 160px;
    text-align: center;
    vertical-align: central;
    display: inline-block;
}

    .BotonMenu:hover .TextoBotonMenu {
        /*width: 190px;*/
    }

    .BotonMenu:hover .ImagenBotonMenu {
        display: none;
    }

.TituloBotonMenu {
    line-height: 1;
    width: 100%;
    font-family: 'Oswald';
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.BotonMenuEmpresa {
    border: 1px solid rgb(158, 79, 103);
    -webkit-box-shadow: 0 0 8px #aaa;
    -moz-box-shadow: 0 0 8px #aaa;
    box-shadow: 0 0 8px #aaa;
}

.TituloBotonMenuEmpresa {
    color: white;
    background-color: rgb(158, 79, 103);
    border-color: rgb(158, 79, 103);
    height: 60px;
}


.Circulo {
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    vertical-align: middle;
    display: table-cell !important;
}

.CssLabelComboBox {
    width: 240px !important;
}

.rbToggleButton.yesNo {
    padding: 0;
}

.yesNoHovered .rbText {
    color: White !important;
}

.RadGrid {
    border-radius: 10px;
    overflow: hidden;
}

/* Page-header band — reemplaza el círculo icon-shape */
.page-header {
    border-left: 5px solid rgba(255, 255, 255, 0.35);
}
.page-header i {
    opacity: 0.9;
    flex-shrink: 0;
}

/* ===== GLASSMORPHISM NAVBAR ===== */
#sidenav-main {
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 32px rgba(27, 20, 100, 0.35);
}

#sidenav-main .navbar-nav .nav-link:hover h5 {
    color: #c4a1d4 !important;
    transition: color 0.2s;
}

#sidenav-main .dropdown-menu {
    border: 1px solid var(--rma-border);
    box-shadow: 0 8px 32px rgba(27, 20, 100, 0.18);
    border-radius: 0.75rem;
    animation: dropFadeIn 0.18s ease;
}

@keyframes dropFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== DARK MODE TOGGLE ===== */
#dark-mode-toggle {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #ffffff;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

#dark-mode-toggle:hover {
    background: rgba(255,255,255,0.22);
    transform: scale(1.05);
}

/* ===== CARD HOVER EFFECT (como la landing) ===== */
.card {
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1), border-top-color 0.3s;
    border-top: 3px solid transparent;
    box-shadow: var(--rma-card-shadow);
    border-radius: 0.875rem;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rma-card-hover-shadow);
}

.card-stats {
    border-left: 4px solid transparent;
    transition: border-left-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.card-stats:hover {
    box-shadow: var(--rma-card-hover-shadow);
    transform: translateY(-4px);
}

/* ===== RADGRID CON ESTILO BOOTSTRAP NATIVO ===== */
.RadGrid table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.RadGrid .rgHeader,
.RadGrid .rgResizeCol {
   
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 12px;
    border: none !important;
}

.RadGrid .rgRow td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--rma-border);
    vertical-align: middle;
    transition: background 0.15s;
}

.RadGrid .rgAltRow td {
    background-color: rgba(27, 20, 100, 0.03);
}

.RadGrid .rgRow:hover td,
.RadGrid .rgAltRow:hover td {
    background-color: rgba(74, 14, 143, 0.07);
}

.RadGrid .rgSelectedRow td {
    background-color: rgba(27, 20, 100, 0.12) !important;
    color: var(--rma-primary);
    font-weight: 500;
}

.RadGrid .rgPager {
    background: rgba(27, 20, 100, 0.04);
    border-top: 2px solid var(--rma-border);
    padding: 8px;
}

[data-theme="dark"] .RadGrid .rgAltRow td {
    background-color: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .RadGrid .rgRow:hover td,
[data-theme="dark"] .RadGrid .rgAltRow:hover td {
    background-color: rgba(196, 161, 212, 0.10);
}

/* ===== BOTONES MODERNOS ===== */
.btn-rma-primary {
    background: var(--rma-gradient);
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(27, 20, 100, 0.3);
}

.btn-rma-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 20, 100, 0.4);
    color: #ffffff;
}

.btn-rma-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(27, 20, 100, 0.3);
}

.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.btn:focus {
    box-shadow: 0 0 0 3px rgba(74, 14, 143, 0.25);
}

/* ===== SKELETON LOADER ===== */
.skeleton {
    background: linear-gradient(90deg, #e8eaf0 25%, #f4f5fb 50%, #e8eaf0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s infinite;
    border-radius: 0.5rem;
    display: block;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 0.75rem;
}

.skeleton-card {
    height: 120px;
    border-radius: 0.875rem;
}

@keyframes skeletonShimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

[data-theme="dark"] .skeleton {
    background: linear-gradient(90deg, #1a1830 25%, #252240 50%, #1a1830 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s infinite;
}

/* ===== BREADCRUMB MODERNO ===== */
.breadcrumb-rma {
    background: linear-gradient(135deg, rgba(27,20,100,0.07) 0%, rgba(74,14,143,0.05) 100%);
    border-left: 4px solid var(--rma-mid);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.breadcrumb-rma .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-rma .breadcrumb-item a {
    color: var(--rma-mid);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-rma .breadcrumb-item a:hover {
    color: var(--rma-accent);
    text-decoration: underline;
}

.breadcrumb-rma .breadcrumb-item.active {
    color: var(--rma-text-muted);
    font-weight: 600;
}

[data-theme="dark"] .breadcrumb-rma {
    background: linear-gradient(135deg, rgba(74,14,143,0.15) 0%, rgba(158,79,103,0.10) 100%);
}

/* ===== FOOTER GRADIENTE ===== */
.footer-gradient {
    background: black !important;
}

.footer-gradient a,
.footer-gradient .nav-link,
.footer-gradient p {
    color: rgba(255,255,255,0.82) !important;
}

.footer-gradient a:hover,
.footer-gradient .nav-link:hover {
    color: #ffffff !important;
}

/* ===== TIPOGRAFÍA JERARQUIZADA ===== */
h3 {
    font-family: 'Inter', 'Oswald', sans-serif;
    font-weight: 700;
    color: var(--rma-primary);
    letter-spacing: -0.01em;
}

h4, h5, h6 {
    font-family: 'Inter', 'Open Sans Condensed', sans-serif;
    font-weight: 600;
    color: var(--rma-primary);
}

.lead {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--rma-text-muted);
}

.TituloTabla {
    font-family: 'Inter', 'Open Sans Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--rma-primary);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.CeldaTabla {
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    font-size: 0.875rem;
}

/* ===== CONTENIDO PRINCIPAL ===== */
#Contenido {
    background-color: var(--rma-contenido-bg);
}

/* ===== HEADER GRADIENT BAND ===== */
.bg-gradient-primary {
    background: var(--rma-gradient) !important;
}

/* ===== ESPACIADO CARDS ===== */
.row-cards > [class*="col-"] {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
    margin-bottom: 1.5rem;
}

/* ===== BADGE DROPDOWNS ===== */
.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rma-accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50px;
    min-width: 1.2em;
    height: 1.2em;
    padding: 0 4px;
    margin-left: 4px;
    vertical-align: middle;
    line-height: 1;
}

/* ================================================================
   LANDING DNA — feature-card, section-badge, divider, icon-wrap,
   hero-band con orbs (mismo look que index.html)
   ================================================================ */

/* ----- Feature-card top bar animation (igual que landing) ----- */
.card-stats {
    position: relative;
    overflow: hidden;
}

.card-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--rma-gradient-h);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
    z-index: 1;
}

.card-stats:hover::before {
    transform: scaleX(1);
}

/* ----- Icon-wrap dentro de cards (feature-icon-wrap de landing) ----- */
.card-stats .card-body .col-auto {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-stats .card-body .col-auto i {
    font-size: 1.6rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    flex-shrink: 0;
    transition: transform 0.25s;
}

.card-stats:hover .card-body .col-auto i {
    transform: scale(1.12);
}

.card-stats .card-body .col-auto i.text-danger  { background: rgba(220, 53,  69,  0.10); }
.card-stats .card-body .col-auto i.text-primary { background: rgba(27,  20,  100, 0.09); }
.card-stats .card-body .col-auto i.text-warning { background: rgba(255, 193, 7,   0.13); }
.card-stats .card-body .col-auto i.text-info    { background: rgba(13,  202, 240, 0.10); }
.card-stats .card-body .col-auto i.text-success { background: rgba(25,  135, 84,  0.10); }

[data-theme="dark"] .card-stats .card-body .col-auto i.text-danger  { background: rgba(220, 53,  69,  0.18); }
[data-theme="dark"] .card-stats .card-body .col-auto i.text-primary { background: rgba(74,  14,  143, 0.20); }
[data-theme="dark"] .card-stats .card-body .col-auto i.text-warning { background: rgba(255, 193, 7,   0.18); }
[data-theme="dark"] .card-stats .card-body .col-auto i.text-info    { background: rgba(13,  202, 240, 0.18); }
[data-theme="dark"] .card-stats .card-body .col-auto i.text-success { background: rgba(25,  135, 84,  0.18); }

/* ----- Section badge (pill de categoría, como en landing) ----- */
.section-badge-rma {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(27, 20, 100, 0.07);
    color: var(--rma-primary);
    border: 1px solid rgba(27, 20, 100, 0.15);
    border-radius: 2rem;
    padding: 0.3rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .section-badge-rma {
    background: rgba(74, 14, 143, 0.18);
    border-color: rgba(196, 161, 212, 0.25);
    color: #c4a1d4;
}

/* ----- Divider gradient (línea decorativa de 60px, como en landing) ----- */
.divider-gradient {
    width: 60px;
    height: 4px;
    background: var(--rma-gradient-h);
    border-radius: 2px;
    margin: 0.4rem 0 1.5rem;
    border: none;
    opacity: 1;
}

.divider-gradient-sm {
    width: 40px;
    height: 3px;
    background: var(--rma-gradient-h);
    border-radius: 2px;
    margin: 0.3rem 0 1rem;
    border: none;
    opacity: 0.7;
}

/* ----- Section group (contenedor de sección con separación) ----- */
.section-group {
    padding: 0.5rem 0 0.75rem;
}

.section-group + .section-group {
    border-top: 1px solid var(--rma-border);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

/* ----- Hero band con orbs (banda de cabecera como en landing) ----- */
.header.bg-gradient-primary {
    position: relative;
    overflow: hidden;
}

.header-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.22;
    animation: orbFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.header-orb-1 {
    width: 350px;
    height: 350px;
    background: #9e4f67;
    top: -40%;
    right: -5%;
    animation-delay: 0s;
}

.header-orb-2 {
    width: 250px;
    height: 250px;
    background: #4a0e8f;
    bottom: -30%;
    left: 10%;
    animation-delay: 3s;
}

.header-orb-3 {
    width: 180px;
    height: 180px;
    background: #1b1464;
    top: 20%;
    left: 40%;
    animation-delay: 5s;
}

@keyframes orbFloat {
    0%,  100% { transform: translateY(0)    scale(1);    }
    50%        { transform: translateY(-20px) scale(1.06); }
}

/* ----- Card title en cards de landing (h5 uppercase) ----- */
.card-stats .card-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--rma-text-muted) !important;
}

.card-stats .h2.fw-bold {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--rma-text-main);
    line-height: 1.3;
}