:root {
    --elite-blue-950: #06142f;
    --elite-blue-900: #0a1f4c;
    --elite-blue-850: #0e2b6a;
    --elite-blue-800: #10316b;
    --elite-blue-700: #1b53c0;
    --elite-blue-600: #2f6bdb;
    --elite-blue-100: #eaf2ff;
    --elite-gold-100: #f6f0dc;
    --elite-surface: #f4f7fb;
    --elite-card: #ffffff;
    --elite-border: #d8e3f4;
    --elite-text: #1b2840;
    --elite-muted: #63759a;
    --elite-shadow: 0 16px 40px rgba(16, 49, 107, 0.12);
    --elite-shadow-soft: 0 12px 30px rgba(8, 26, 64, 0.10);
}

body.elite-theme,
body.elite-theme .card,
body.elite-theme .table,
body.elite-theme .btn,
body.elite-theme input,
body.elite-theme select,
body.elite-theme textarea,
body.elite-theme .form-control,
body.elite-theme .form-select,
.elite-login-page,
.elite-public-body {
    font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body.elite-theme {
    background: linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
    color: var(--elite-text);
    font-size: 0.94rem;
}

.elite-login-page {
    background:
        radial-gradient(circle at top left, rgba(27, 83, 192, 0.15), transparent 35%),
        linear-gradient(180deg, #f8fbff 0%, #eaf2ff 100%);
}

.elite-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(216, 227, 244, 0.9);
    box-shadow: 0 8px 24px rgba(16, 49, 107, 0.08);
}

.elite-menu-toggle {
    color: var(--elite-blue-800) !important;
    font-size: 1.1rem;
}

.app-main {
    background: transparent;
}

.app-content-header {
    padding-top: 1rem;
    padding-bottom: 0.35rem;
}

.elite-page-title {
    color: var(--elite-blue-900);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.elite-sidebar {
    background: linear-gradient(180deg, var(--elite-blue-900) 0%, #0d2b68 45%, #123a86 100%) !important;
}

.elite-sidebar .brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 72px;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.elite-brand-logo {
    width: auto;
    height: 44px;
    max-width: 52px;
    max-height: 44px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    padding: 4px;
}

.elite-sidebar .brand-text {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.elite-sidebar .sidebar-menu > .nav-item > .nav-link {
    color: rgba(255, 255, 255, 0.88);
    border-radius: 14px;
    margin: 0.2rem 0.65rem;
    padding: 0.82rem 0.95rem;
    transition: all 0.2s ease;
}

.elite-sidebar .sidebar-menu > .nav-item > .nav-link:hover,
.elite-sidebar .sidebar-menu > .nav-item > .nav-link.active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.elite-sidebar .sidebar-menu .nav-icon {
    color: #bfdbff;
}

.elite-user-chip {
    background: var(--elite-blue-100);
    border: 1px solid #d5e4ff;
    border-radius: 999px;
    padding: 0.35rem 0.85rem 0.35rem 0.4rem;
}

.elite-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    border: 2px solid #cfe0ff;
}

.elite-user-meta {
    display: flex;
    flex-direction: column;
    margin-left: 0.6rem;
    line-height: 1.1;
}

.elite-user-name {
    font-weight: 700;
    color: var(--elite-blue-900);
    font-size: 0.92rem;
}

.elite-user-role {
    color: var(--elite-muted);
    font-size: 0.72rem;
}

.elite-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    box-shadow: 0 10px 24px rgba(16, 49, 107, 0.12);
}

.elite-icon-btn-danger {
    background: #ffeff1;
    color: #d63b57;
}

.elite-icon-btn-danger:hover {
    background: #ffe0e5;
    color: #b92f48;
}

.card,
.info-box,
.small-box {
    background: var(--elite-card);
    border: 1px solid rgba(216, 227, 244, 0.95);
    border-radius: 18px;
    box-shadow: var(--elite-shadow-soft);
}

.card-header {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid #ebf1fa;
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
}

.table > :not(caption) > * > * {
    padding: 0.85rem 0.75rem;
    vertical-align: middle;
}

.table thead th {
    background: #f6f9ff;
    color: var(--elite-blue-900);
    font-weight: 700;
    border-bottom-width: 1px;
}

.badge {
    font-size: 0.76rem;
    border-radius: 999px;
    padding: 0.42rem 0.62rem;
    font-weight: 700;
}

.text-bg-success,
.bg-success {
    background-color: #198754 !important;
}

.text-bg-secondary,
.bg-secondary {
    background-color: #6c757d !important;
}

.text-bg-primary,
.bg-primary {
    background-color: var(--elite-blue-700) !important;
}

.elite-info-item {
    background: #f8fbff;
    border: 1px solid #e3edf9;
    border-radius: 16px;
    padding: 1rem;
}

.elite-alert {
    border-radius: 14px;
    box-shadow: var(--elite-shadow-soft);
}

.elite-footer {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid var(--elite-border);
}

.elite-login-box {
    width: min(440px, calc(100vw - 2rem));
}

.elite-login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.elite-login-brand-logo {
    width: auto;
    height: 104px;
    max-width: 112px;
    object-fit: contain;
}

.elite-login-brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--elite-blue-900);
    letter-spacing: 0.02em;
}

.elite-login-brand-copy {
    color: var(--elite-muted);
    text-align: center;
}

.login-card-body {
    border-radius: 22px;
}

.form-control,
.form-select,
.input-group-text {
    border-radius: 12px;
}

.input-group > .form-control,
.input-group > .form-select {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group > .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background: #f5f8fd;
    border-color: #dbe7f7;
    color: var(--elite-blue-800);
}

.btn {
    border-radius: 12px;
    font-weight: 600;
}

.tabla-acciones {
    white-space: nowrap;
}

.app-content,
.app-content .card,
.app-content .card-body,
.app-content .table,
.app-content .table thead th,
.app-content .table tbody td,
.app-content .form-label,
.app-content .form-control,
.app-content .form-select,
.app-content .btn,
.app-content .badge,
.app-content .small,
.app-content small {
    font-size: 0.875rem;
}

.app-content .card-title,
.app-content h3,
.app-content h4,
.app-content h5,
.app-content h6 {
    font-size: 1rem;
}

.app-content .table > :not(caption) > * > * {
    padding: 0.7rem 0.68rem;
}

.elite-public-body {
    background: #f4f7fc;
    color: var(--elite-text);
}

.elite-public-site {
    min-height: 100vh;
}

.elite-topbar {
    background: linear-gradient(90deg, var(--elite-blue-950) 0%, var(--elite-blue-850) 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.84rem;
}

.elite-topbar-copy,
.elite-topbar-links span,
.elite-topbar-links a {
    color: rgba(255, 255, 255, 0.9);
}

.elite-topbar-links a:hover {
    color: #ffffff;
}

.elite-public-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(216, 227, 244, 0.9);
    box-shadow: 0 10px 30px rgba(8, 26, 64, 0.07);
}

.elite-public-logo {
    width: auto;
    height: 58px;
    max-width: 72px;
    object-fit: contain;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(16, 49, 107, 0.12);
    padding: 0.25rem;
}

.elite-public-brand-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.elite-public-brand {
    color: var(--elite-blue-900);
    letter-spacing: 0.05em;
    font-size: 1.15rem;
}

.elite-public-brand-wrap small {
    color: var(--elite-muted);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.elite-public-header .nav-link {
    color: var(--elite-text);
    font-weight: 600;
}

.elite-public-header .nav-link:hover {
    color: var(--elite-blue-800);
}

.elite-public-toggler {
    border: 1px solid #d9e4f5;
    border-radius: 14px;
    width: 48px;
    height: 48px;
}

.elite-public-login-btn {
    border-radius: 999px;
    padding-inline: 1.2rem;
    box-shadow: 0 12px 28px rgba(16, 49, 107, 0.18);
}

.elite-hero-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4.5rem;
    background:
        radial-gradient(circle at top right, rgba(47, 107, 219, 0.18), transparent 26%),
        radial-gradient(circle at top left, rgba(10, 31, 76, 0.16), transparent 28%),
        linear-gradient(135deg, #0a1f4c 0%, #10316b 58%, #184ba8 100%);
}

.elite-hero-section::after {
    content: "";
    position: absolute;
    inset: auto -10% -120px auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 70%);
}

.elite-public-kicker {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: #b9d2ff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.78rem;
}

.elite-public-hero-title,
.elite-public-section-title,
.elite-contact-cta h2 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.elite-public-hero-title {
    color: #ffffff;
    font-size: clamp(2.25rem, 4vw, 4.2rem);
    line-height: 0.98;
    max-width: 12ch;
}

.elite-public-hero-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.04rem;
    line-height: 1.75;
    max-width: 58ch;
}

.elite-btn-ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.elite-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.elite-hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.elite-hero-bullets span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
}

.elite-hero-bullets i {
    color: #d8e8ff;
}

.elite-hero-stats {
    position: relative;
    z-index: 1;
}

.elite-stat-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 1rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 32px rgba(4, 18, 47, 0.15);
}

.elite-stat-card strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
}

.elite-stat-card span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.elite-hero-showcase {
    position: relative;
    z-index: 1;
}

.elite-hero-brand-panel,
.elite-public-info-card,
.elite-public-service-card,
.elite-product-placeholder,
.elite-solution-card,
.elite-public-mini-card,
.elite-trust-item {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(216, 227, 244, 0.95);
    border-radius: 24px;
    box-shadow: var(--elite-shadow);
}

.elite-hero-brand-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 1rem;
    align-items: center;
    padding: 1.4rem;
    margin-bottom: 1rem;
}

.elite-hero-brand-copy h2 {
    color: var(--elite-blue-900);
    margin-bottom: 0.6rem;
}

.elite-hero-brand-copy p,
.elite-public-section-copy,
.elite-public-info-card p,
.elite-public-service-card p,
.elite-product-placeholder p,
.elite-solution-card p,
.elite-public-mini-card p,
.elite-contact-cta p {
    color: var(--elite-muted);
    line-height: 1.7;
}

.elite-hero-brand-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.elite-hero-brand-logo {
    width: min(100%, 146px);
    height: auto;
    object-fit: contain;
}

.elite-public-mini-card {
    padding: 1.2rem;
    height: 100%;
}

.elite-public-mini-label {
    display: inline-block;
    color: var(--elite-blue-700);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.74rem;
    font-weight: 800;
    margin-bottom: 0.55rem;
}

.elite-public-mini-card strong,
.elite-public-info-card h3,
.elite-public-service-card h3,
.elite-product-placeholder h3,
.elite-solution-card h3,
.elite-public-section-title {
    color: var(--elite-blue-900);
}

.elite-public-mini-card-dark {
    background: linear-gradient(135deg, var(--elite-blue-900) 0%, #123a86 100%);
    border-color: rgba(255, 255, 255, 0.12);
}

.elite-trust-strip {
    position: relative;
    margin-top: -2rem;
    z-index: 2;
    padding-bottom: 1rem;
}

.elite-trust-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.1rem;
    min-height: 76px;
}

.elite-trust-item i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--elite-blue-100);
    color: var(--elite-blue-700);
}

.elite-trust-item span {
    font-weight: 700;
    color: var(--elite-blue-900);
}

.elite-public-section {
    padding: 5rem 0;
}

.elite-public-section-soft {
    background: linear-gradient(180deg, rgba(234, 242, 255, 0.6) 0%, rgba(245, 248, 253, 0.92) 100%);
}

.elite-public-section-light {
    background: #ffffff;
}

.elite-section-heading {
    max-width: 720px;
}

.elite-public-section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.elite-public-info-card,
.elite-public-service-card,
.elite-product-placeholder,
.elite-solution-card {
    padding: 1.55rem;
}

.elite-public-info-card i,
.elite-public-service-card i {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 1rem;
    background: var(--elite-blue-100);
    color: var(--elite-blue-700);
    font-size: 1.22rem;
}

.elite-solution-tag {
    display: inline-flex;
    padding: 0.36rem 0.7rem;
    border-radius: 999px;
    background: var(--elite-gold-100);
    color: var(--elite-blue-900);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.85rem;
}

.elite-solution-card ul {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
    color: var(--elite-blue-900);
}

.elite-solution-card li + li {
    margin-top: 0.4rem;
}

.elite-contact-cta-section {
    background: linear-gradient(135deg, var(--elite-blue-900) 0%, #123a86 65%, #2056b3 100%);
}

.elite-contact-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 40px rgba(4, 18, 47, 0.2);
}

.elite-contact-cta h2,
.elite-contact-cta p {
    color: #ffffff;
}

.elite-contact-cta .elite-public-kicker {
    color: rgba(255, 255, 255, 0.75);
}

.elite-public-footer {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(216, 227, 244, 0.95);
}

.elite-footer-logo {
    width: auto;
    height: 54px;
    object-fit: contain;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 49, 107, 0.12);
    padding: 0.25rem;
}

@media (max-width: 991.98px) {
    .elite-user-chip {
        display: none !important;
    }

    .elite-public-header .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid rgba(216, 227, 244, 0.95);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
    }

    .elite-hero-section {
        padding-top: 4.5rem;
    }

    .elite-hero-brand-panel {
        grid-template-columns: 1fr;
    }

    .elite-trust-strip {
        margin-top: 0;
        padding-top: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .elite-topbar {
        display: none;
    }

    .elite-public-brand {
        font-size: 1rem;
    }

    .elite-public-brand-wrap small {
        font-size: 0.68rem;
    }

    .elite-public-logo,
    .elite-footer-logo {
        height: 50px;
        max-width: 62px;
    }

    .elite-public-section,
    .elite-contact-cta-section {
        padding: 4rem 0;
    }

    .elite-contact-cta {
        padding: 1.4rem;
    }
}

html {
    font-size: 13px;
}

body.elite-theme {
    font-size: 0.88rem;
}

.elite-sidebar {
    background: linear-gradient(180deg, #0a2b63 0%, #08224f 56%, #061a3b 100%) !important;
    color: rgba(255, 255, 255, 0.92);
}

.elite-sidebar .sidebar-wrapper {
    padding-bottom: 1rem;
}

.elite-sidebar .brand-link {
    min-height: 68px;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.elite-sidebar .brand-text {
    font-size: 1.05rem;
    font-weight: 600;
}

.elite-sidebar .sidebar-menu > .nav-item > .nav-link,
.elite-sidebar .nav-treeview > .nav-item > .nav-link {
    font-size: 0.86rem;
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
}

.elite-sidebar .sidebar-menu > .nav-item > .nav-link {
    margin: 0.18rem 0.7rem;
}

.elite-sidebar .nav-treeview > .nav-item > .nav-link {
    margin: 0.12rem 0.7rem 0.12rem 1.4rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.elite-sidebar .nav-treeview > .nav-item > .nav-link:hover,
.elite-sidebar .nav-treeview > .nav-item > .nav-link.active,
.elite-sidebar .elite-nav-group-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.elite-sidebar .nav-treeview .nav-icon {
    color: #c9ddff;
    font-size: 0.92rem;
}

.elite-nav-header {
    color: rgba(215, 229, 255, 0.72) !important;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1rem 1rem 0.35rem;
}

.elite-nav-group > .nav-link {
    margin: 0.1rem 0.7rem;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.elite-nav-group > .nav-link .nav-arrow {
    font-size: 0.75rem;
}

.elite-nav-group.menu-open > .nav-link {
    background: rgba(255, 255, 255, 0.1);
}

.elite-navbar .nav-link,
.elite-navbar .dropdown-item,
.breadcrumb,
.card-title,
.btn,
.form-label,
label,
.form-control,
.form-select,
.input-group-text,
.table,
.list-group-item,
.alert,
.badge,
.small,
small,
.pagination,
.dropdown-menu,
.nav-tabs .nav-link {
    font-size: 0.86rem;
}

h1, .h1 { font-size: 1.65rem; }
h2, .h2 { font-size: 1.45rem; }
h3, .h3 { font-size: 1.18rem; }
h4, .h4 { font-size: 1.04rem; }
h5, .h5 { font-size: 0.96rem; }
h6, .h6 { font-size: 0.88rem; }

.card-header,
.card-body,
.card-footer {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.table > :not(caption) > * > * {
    padding: 0.62rem 0.6rem;
}

.table thead th {
    font-size: 0.81rem;
}

.form-control,
.form-select,
.input-group-text {
    min-height: calc(1.5em + 0.65rem + 2px);
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.btn {
    padding: 0.42rem 0.72rem;
}

.btn-sm,
.btn-group-sm > .btn {
    padding: 0.28rem 0.55rem;
    font-size: 0.8rem;
}

.app-content-header {
    padding-top: 0.85rem;
    padding-bottom: 0.2rem;
}

.elite-page-title {
    font-size: 1.45rem;
}

.tabla-acciones .btn {
    margin: 0 0.08rem;
}

.elite-dashboard {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.elite-dashboard-hero {
    background:
        radial-gradient(circle at top right, rgba(47, 107, 219, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(6, 20, 47, 0.96) 0%, rgba(16, 49, 107, 0.96) 52%, rgba(27, 83, 192, 0.88) 100%);
    border: none;
    color: #fff;
    overflow: hidden;
}

.elite-dashboard-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
}

.elite-dashboard-heading {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.elite-dashboard-subtitle {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.elite-dashboard-filter {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    color: #fff;
}

.elite-dashboard-filter .form-label,
.elite-dashboard-filter .form-text {
    color: rgba(255, 255, 255, 0.84);
}

.elite-dashboard-filter .form-control,
.elite-dashboard-filter .form-select {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.3);
}

.elite-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.elite-quick-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 600;
}

.elite-quick-action:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.elite-kpi-card {
    border: none;
    color: #fff;
    overflow: hidden;
}

.elite-kpi-card .card-body {
    padding: 1.15rem 1.1rem;
}

.elite-kpi-primary {
    background: linear-gradient(135deg, #0f3d91 0%, #1b53c0 100%);
}

.elite-kpi-success {
    background: linear-gradient(135deg, #0e7b57 0%, #18a06f 100%);
}

.elite-kpi-danger {
    background: linear-gradient(135deg, #8f1f39 0%, #c63d5f 100%);
}

.elite-kpi-warning {
    background: linear-gradient(135deg, #8c5b10 0%, #d79b22 100%);
}

.elite-kpi-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    opacity: 0.86;
}

.elite-kpi-value {
    font-size: 1.48rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-top: 0.35rem;
    line-height: 1.15;
}

.elite-kpi-meta {
    font-size: 0.8rem;
    opacity: 0.88;
    margin-top: 0.45rem;
}

.elite-insight-card {
    border: 1px solid rgba(216, 227, 244, 0.95);
}

.elite-insight-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--elite-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.elite-insight-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--elite-blue-900);
    margin-top: 0.25rem;
}

.elite-insight-note {
    font-size: 0.77rem;
    color: var(--elite-muted);
    margin-top: 0.55rem;
    line-height: 1.35;
}

.elite-progress {
    height: 8px;
    border-radius: 999px;
    background: #edf3fd;
}

.elite-mini-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.68rem 0;
    border-bottom: 1px dashed #dde7f5;
    gap: 1rem;
    font-size: 0.84rem;
}

.elite-mini-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.elite-mini-stat:first-child {
    padding-top: 0;
}

.elite-mini-stat span {
    color: var(--elite-muted);
}

.elite-mini-stat strong {
    color: var(--elite-blue-900);
    font-size: 0.94rem;
}

@media (max-width: 991.98px) {
    .elite-dashboard-heading {
        font-size: 1.35rem;
    }

    .elite-kpi-value,
    .elite-insight-value {
        font-size: 1.25rem;
    }
}


.elite-alert-card {
    border-width: 1px;
    position: relative;
    overflow: hidden;
}

.elite-alert-card::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    opacity: 0.95;
}

.elite-alert-success::after { background: #198754; }
.elite-alert-warning::after { background: #f0ad4e; }
.elite-alert-danger::after { background: #d63b57; }

.elite-alert-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.elite-alert-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4f7fb;
    color: var(--elite-blue-800);
    font-size: 1rem;
}

.elite-alert-title {
    font-size: 0.82rem;
    color: var(--elite-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.elite-alert-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--elite-blue-900);
    line-height: 1.1;
    margin-top: 0.2rem;
}

.elite-alert-detail {
    color: var(--elite-muted);
    font-size: 0.74rem;
    margin-top: 0.45rem;
}

.elite-chart-wrap {
    position: relative;
    width: 100%;
}

.elite-chart-lg {
    min-height: 320px;
}

.elite-chart-md {
    min-height: 260px;
}

.elite-chart-legend {
    display: grid;
    gap: 0.45rem;
}

.elite-legend-item {
    font-size: 0.75rem;
    color: var(--elite-text);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.elite-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.elite-dot.success { background: #198754; }
.elite-dot.warning { background: #f0ad4e; }
.elite-dot.danger { background: #d63b57; }

.elite-decision-actions {
    display: grid;
    gap: 0.7rem;
}

.elite-decision-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    background: #f8fbff;
    border: 1px solid #e3edf9;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    color: var(--elite-blue-900);
    transition: all 0.2s ease;
}

.elite-decision-link:hover {
    background: #eef5ff;
    border-color: #c9ddff;
    transform: translateY(-1px);
}

.elite-decision-link i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 83, 192, 0.12);
    color: var(--elite-blue-800);
}

@media (max-width: 991.98px) {
    .elite-chart-lg {
        min-height: 280px;
    }

    .elite-chart-md {
        min-height: 240px;
    }
}

/* Frontend comercial: slider y contacto */
.elite-slider-section {
    position: relative;
}

.elite-hero-carousel {
    position: relative;
    background: var(--elite-blue-950);
}

.elite-hero-carousel .carousel-item {
    position: relative;
    min-height: 620px;
}

.elite-slider-image {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.elite-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 20, 47, 0.88) 0%, rgba(10, 31, 76, 0.72) 45%, rgba(10, 31, 76, 0.32) 100%);
}

.elite-slider-content {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.elite-slider-text {
    max-width: 620px;
    color: #fff;
}

.elite-slider-text h1,
.elite-slider-text h2 {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin-bottom: 1rem;
}

.elite-slider-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
    margin-bottom: 0;
}

.elite-carousel-indicators {
    bottom: 1.4rem;
    margin-bottom: 0;
}

.elite-carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
}

.elite-carousel-indicators .active {
    background: #fff;
}

.elite-hero-carousel .carousel-control-prev,
.elite-hero-carousel .carousel-control-next {
    width: 6%;
}

.elite-public-quickbar {
    position: relative;
    z-index: 3;
    margin-top: -54px;
    margin-bottom: 1.2rem;
}

.elite-quick-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(216, 227, 244, 0.95);
    border-radius: 18px;
    box-shadow: var(--elite-shadow-soft);
}

.elite-quick-card i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--elite-blue-100) 0%, #d9e8ff 100%);
    color: var(--elite-blue-800);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.elite-quick-card strong {
    display: block;
    color: var(--elite-blue-900);
    margin-bottom: 0.2rem;
}

.elite-quick-card span {
    color: var(--elite-muted);
    display: block;
}

.elite-contact-section {
    background: linear-gradient(180deg, #f7fbff 0%, #eef5fd 100%);
}

.elite-contact-panel,
.elite-contact-form-card,
.elite-contact-map-card {
    background: #fff;
    border: 1px solid #dfebfb;
    border-radius: 22px;
    box-shadow: var(--elite-shadow-soft);
}

.elite-contact-panel {
    padding: 1.8rem;
}

.elite-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.elite-contact-form-card,
.elite-contact-map-card {
    padding: 1.45rem;
}

.elite-contact-form-card h3,
.elite-contact-map-card h3 {
    font-size: 1.18rem;
    color: var(--elite-blue-900);
    margin-bottom: 0.35rem;
}

.elite-contact-form-card p,
.elite-contact-map-card p {
    color: var(--elite-muted);
}

.elite-contact-actions {
    display: grid;
    gap: 0.9rem;
}

.elite-contact-action {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    background: #f8fbff;
    border: 1px solid #e1ecfb;
    color: var(--elite-blue-900);
    transition: all 0.2s ease;
}

.elite-contact-action:hover {
    transform: translateY(-1px);
    border-color: #c8dcff;
    background: #eef5ff;
}

.elite-contact-action i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 83, 192, 0.12);
    color: var(--elite-blue-800);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.elite-contact-action-whatsapp i {
    background: rgba(37, 211, 102, 0.14);
    color: #1fa855;
}

.elite-contact-action strong {
    display: block;
    margin-bottom: 0.1rem;
}

.elite-contact-action span {
    display: block;
    color: var(--elite-muted);
    font-size: 0.92rem;
}

.elite-contact-note {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    background: #fff9e8;
    border: 1px solid #f1df9d;
    color: #7a6110;
    border-radius: 16px;
}

.elite-contact-note i {
    margin-top: 0.15rem;
}

.elite-contact-map-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.elite-contact-map-wrap {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e1ecfb;
    min-height: 320px;
    background: #edf4ff;
}

.elite-contact-map-wrap iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

.elite-contact-company-meta {
    display: grid;
    gap: 0.45rem;
    margin-top: 1rem;
    color: var(--elite-text);
}

.elite-whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #25d366;
    color: #fff;
    padding: 0.95rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 18px 35px rgba(10, 31, 76, 0.26);
    font-weight: 700;
}

.elite-whatsapp-float:hover {
    color: #fff;
    background: #1fb45a;
}

.elite-whatsapp-float i {
    font-size: 1.2rem;
}

@media (max-width: 991.98px) {
    .elite-hero-carousel .carousel-item,
    .elite-slider-content {
        min-height: 560px;
    }

    .elite-public-quickbar {
        margin-top: 0;
    }

    .elite-contact-map-head {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .elite-hero-carousel .carousel-item,
    .elite-slider-content {
        min-height: 500px;
    }

    .elite-slider-text h1,
    .elite-slider-text h2 {
        font-size: 2rem;
    }

    .elite-slider-text p {
        font-size: 0.98rem;
    }

    .elite-hero-carousel .carousel-control-prev,
    .elite-hero-carousel .carousel-control-next {
        width: 12%;
    }

    .elite-whatsapp-float span {
        display: none;
    }

    .elite-whatsapp-float {
        width: 58px;
        height: 58px;
        justify-content: center;
        padding: 0;
    }
}
