/* Hoja de estilos propia de netnologic. Define su presentación y variantes adaptables. */
:root {
    --green: #214ee7;
    --green-dark: #173bb5;
    --navy: #0b1530;
    --ink: #15213b;
    --muted: #6c7890;
    --bg: #f6f8fc;
    --line: #e3e8f2;
    --pale: #eef2ff;
    --lime: #19cbe2;
    --shadow: 0 5px 18px #0b153009;
    font-family: Inter, 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
}
.brand {
    letter-spacing: -1px;
}
.vendia-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.vendia-word {
    font-size: 33px;
    font-weight: 800;
    letter-spacing: -1.8px;
    line-height: 1.15;
    color: var(--navy);
    position: relative;
}
.vendia-dot {
    color: #214ee7;
    font-size: 9px;
    position: absolute;
    top: 0;
    right: 24px;
}
.vendia-product {
    font-size: 8px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #6c7890;
}
.admin .vendia-word {
    color: #fff;
}
.admin .vendia-product {
    color: #a8b8e0;
}
.card,
.table-card,
.branch-card {
    border-radius: 9px;
    box-shadow: none;
}
.btn,
input,
select,
textarea,
.search {
    border-radius: 6px;
}
.btn {
    background: #214ee7;
    color: #fff;
}
.btn:hover {
    background: #173bb5;
}
.btn.secondary:hover,
.nav-item:hover {
    background: #f1f4fb;
}
.admin .sidebar {
    background: #0b1530;
}
.admin .workspace {
    background: #162449;
    border-color: #273a66;
}
.admin .nav-item.active {
    background: #214ee7;
    color: white;
}
.admin .nav-item:hover {
    background: #192d57;
}
.side-nav .nav-item.active {
    background: #eef2ff;
    color: #214ee7;
}
.admin .side-nav .nav-item.active {
    background: #214ee7;
    color: white;
}
.demo-bar {
    background: #fff;
    border-color: #e3e8f2;
    color: #6c7890;
}
.demo-tabs button {
    color: #6c7890;
}
.demo-tabs button.active {
    background: #eef2ff;
    color: #214ee7;
    box-shadow: none;
}
.workspace,
.help-card,
.quick-item .tile-icon,
.stat .stat-icon {
    background: #f4f6fc;
    border-color: #e3e8f2;
}
.welcome,
.link-hero {
    background: #eef2ff;
    border-color: #dde5fa;
}
.welcome h2 {
    color: #0b1530;
}
.welcome p,
.link-hero p {
    color: #5d6c8d;
}
.notice {
    background: #f1f5ff;
    color: #344f8c;
    border-color: #dbe5fb;
}
.side-footer img {
    display: block;
    width: 120px;
    height: 40px;
    object-fit: contain;
    object-position: left;
    margin-top: 8px;
}
.side-footer > span {
    font-size: 8px;
    letter-spacing: 1px;
}
.admin .side-footer {
    background: #fff;
    margin: 15px -17px -18px;
    padding: 16px 28px;
}
.stat strong {
    color: #0b1530;
}
.stat-icon {
    background: #eef2ff !important;
}
.topbar {
    height: 66px;
}
.content {
    padding: 26px;
}
.page-head h1 {
    font-size: 26px;
    letter-spacing: -0.6px;
}
.pill {
    background: #eef2ff;
    color: #214ee7;
}
.pill.orange {
    background: #fff4e7;
    color: #a96512;
}
.pill.gray {
    background: #edf1f5;
    color: #637087;
}
.pill.red {
    background: #fff0ef;
    color: #b4372d;
}
.table-scroll {
    scrollbar-width: thin;
}
th {
    background: #f6f8fc;
    color: #78849a;
}
td {
    border-color: #edf0f7;
}
.swal2-popup {
    font-family: inherit !important;
}
.swal2-container {
    z-index: 10000 !important;
}
.vendia-auth {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 47% 53%;
    background: #fff;
}
.auth-story {
    padding: 46px 55px;
    background: #0b1530;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}
.auth-story .vendia-word {
    color: white;
    font-size: 42px;
}
.auth-story .vendia-product {
    color: #95a9d2;
}
.auth-message {
    padding: 65px 0;
    max-width: 400px;
}
.auth-kicker {
    font-size: 10px;
    letter-spacing: 2px;
    color: #19cbe2;
}
.auth-message h1 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 22px 0;
    color: white;
}
.auth-message p {
    color: #aab9d7;
    line-height: 1.8;
    max-width: 300px;
}
.auth-parent {
    width: 152px;
    height: auto;
}
.auth-lines {
    display: flex;
    gap: 8px;
    margin-top: 35px;
}
.auth-lines span {
    height: 5px;
    width: 36px;
    background: #214ee7;
}
.auth-lines span:nth-child(2) {
    background: #4e7fff;
}
.auth-lines span:nth-child(3) {
    background: #19cbe2;
}
.auth-form-panel {
    display: grid;
    place-items: center;
    padding: 55px 32px;
}
.auth-form-inner {
    width: 100%;
    max-width: 380px;
}
.auth-form-inner h1 {
    font-size: 28px;
    letter-spacing: -0.8px;
}
.auth-intro {
    color: #6c7890;
    margin: 12px 0 30px;
    line-height: 1.7;
}
.auth-form-inner label {
    font-size: 12px;
}
.auth-form-inner input {
    border-color: #d4ddec;
    min-height: 46px;
}
.auth-form-inner .btn {
    width: 100%;
    margin-top: 10px;
    min-height: 46px;
}
.auth-form-inner footer {
    font-size: 11px;
    color: #8894ac;
    margin-top: 45px;
}
.auth-error {
    color: #b4372d;
    font-size: 12px;
    line-height: 1.6;
}
.auth-switch {
    margin-top: 24px;
    font-size: 12px;
}
.auth-form-inner .overline {
    color: #214ee7;
}
.cube-embedded {
    background: #f6f8fc;
}
.cube-embedded .shell {
    display: block;
    min-height: calc(100dvh - 42px);
}
.cube-embedded .sidebar {
    position: relative;
    height: auto;
    display: block;
    padding: 10px 18px;
    background: white;
    color: #15213b;
    border: 0;
    border-bottom: 1px solid #e3e8f2;
}
.cube-embedded .sidebar > .brand,
.cube-embedded .side-caption,
.cube-embedded .workspace,
.cube-embedded .divider-label,
.cube-embedded .side-bottom,
.cube-embedded .side-footer {
    display: none;
}
.cube-embedded .side-nav {
    display: flex;
    gap: 5px;
    margin: 0;
    overflow-x: auto;
}
.cube-embedded .nav-item {
    width: auto;
    white-space: nowrap;
    font-size: 12px;
    padding: 10px 12px;
    color: #6c7890;
}
.cube-embedded .admin .side-nav .nav-item.active {
    background: #eef2ff;
    color: #214ee7;
}
.cube-embedded .topbar {
    height: 52px;
    padding: 0 24px;
}
.cube-embedded .profile {
    display: none;
}
.cube-embedded .content {
    max-width: none;
    padding: 22px;
}
.cube-embedded .demo-bar {
    position: sticky;
    top: 0;
    z-index: 20;
}
.cube-embedded .page-head {
    margin-bottom: 20px;
}
.cube-embedded .stats {
    gap: 12px;
}
.cube-embedded .stat {
    padding: 16px;
}
.cube-embedded .subnote {
    margin-top: 20px;
}
.cube-embedded .demo-tabs button {
    font-size: 11px;
}
@media (max-width: 850px) {
    .vendia-auth {
        grid-template-columns: 1fr;
    }
    .auth-story {
        padding: 26px 28px;
        min-height: 180px;
    }
    .auth-story .vendia-word {
        font-size: 32px;
    }
    .auth-message {
        padding: 22px 0 0;
    }
    .auth-message h1 {
        font-size: 30px;
        letter-spacing: -1px;
        margin: 10px 0;
    }
    .auth-message h1 br {
        display: none;
    }
    .auth-message h1 br:after {
        content: ' ';
    }
    .auth-message p,
    .auth-parent,
    .auth-lines,
    .auth-kicker {
        display: none;
    }
    .auth-form-panel {
        padding: 35px 24px;
        place-items: start center;
    }
    .auth-form-inner h1 {
        font-size: 25px;
    }
    .auth-form-inner footer {
        margin-top: 30px;
    }
    .cube-embedded .content {
        padding: 16px;
    }
    .cube-embedded .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cube-embedded .topbar {
        padding: 0 16px;
    }
    .cube-embedded .sidebar {
        padding: 7px 10px;
    }
    .cube-embedded .demo-bar {
        padding: 8px 12px;
        height: auto;
        min-height: 42px;
        flex-wrap: wrap;
        gap: 4px;
    }
    .cube-embedded .demo-bar > span {
        font-size: 9px;
    }
    .cube-embedded .page-head {
        flex-wrap: wrap;
    }
    .cube-embedded .personalize-layout,
    .cube-embedded .link-layout {
        grid-template-columns: 1fr;
    }
}

.cube-embedded .shell .sidebar {
    float: none;
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 8px 16px;
    overflow: visible;
    transition: none;
}
.cube-embedded .shell .main {
    margin-left: 0;
    transition: none;
}
.cube-embedded .shell .side-nav {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 4px;
}
.cube-embedded .shell .nav-item {
    width: auto;
    min-height: 36px;
    justify-content: flex-start;
    padding: 8px 10px;
    flex-shrink: 0;
    font-size: 11px;
}
.cube-embedded .shell .nav-item .nav-label {
    display: inline;
    font-size: 11px;
}
.cube-embedded .shell .nav-item > .icon {
    width: 17px;
    height: 17px;
}
.cube-embedded .shell .sidebar-toggle {
    display: none;
}
.cube-embedded .shell .side-nav .order-badge {
    position: static;
    margin-left: 3px;
}
.cube-embedded .shell .topbar {
    height: 48px;
    padding: 0 22px;
}
.cube-embedded .shell .content {
    padding: 22px;
}
