/* =========================================
   VivePOS - Diseño base
   Estilo moderno inspirado en macOS
   ========================================= */

:root {
    --bg: #f5f5f7;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-solid: #ffffff;

    --text: #1d1d1f;
    --text-secondary: #6e6e73;

    --border: rgba(0, 0, 0, 0.08);

    --primary: #007aff;
    --primary-hover: #0066d6;

    --danger: #ff3b30;
    --success: #34c759;
    --warning: #ff9500;

    --radius: 18px;
    --radius-small: 12px;

    --shadow:
        0 8px 30px rgba(0, 0, 0, 0.08);
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: var(--bg);
    color: var(--text);
}

/* LINKS */

a {
    color: var(--primary);
    text-decoration: none;
}

/* FORMULARIOS */

input,
select,
textarea,
button {
    font: inherit;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 7px;

    font-size: 14px;
    font-weight: 600;

    color: var(--text);
}

.form-control {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    border: 1px solid var(--border);
    border-radius: var(--radius-small);

    background: rgba(255, 255, 255, 0.8);

    color: var(--text);

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}

.form-control:focus {
    background: #ffffff;

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(0, 122, 255, 0.12);
}

/* BOTONES */

.btn {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border: 0;
    border-radius: var(--radius-small);

    cursor: pointer;

    font-weight: 600;

    transition:
        transform 0.15s,
        background 0.2s,
        opacity 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    width: 100%;

    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

/* TARJETAS */

.card {
    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ALERTAS */

.alert {
    padding: 13px 15px;
    margin-bottom: 18px;

    border-radius: var(--radius-small);

    font-size: 14px;
}

.alert-danger {
    color: #b42318;
    background: #fff0ef;
}

.alert-success {
    color: #137333;
    background: #edf9f0;
}

/* LOGIN */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        radial-gradient(
            circle at top left,
            rgba(0, 122, 255, 0.13),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(175, 82, 222, 0.10),
            transparent 35%
        ),
        var(--bg);
}

.login-card {
    width: 100%;
    max-width: 420px;

    padding: 38px;
}

.login-logo {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 18px;

    background: linear-gradient(
        145deg,
        #0a84ff,
        #0066cc
    );

    color: #ffffff;

    font-size: 26px;
    font-weight: 800;

    box-shadow:
        0 10px 25px rgba(0, 122, 255, 0.25);
}

.login-header {
    text-align: center;

    margin-bottom: 30px;
}

.login-title {
    font-size: 30px;
    font-weight: 700;

    letter-spacing: -0.8px;
}

.login-subtitle {
    margin-top: 7px;

    color: var(--text-secondary);

    font-size: 14px;
}

/* PIE */

.login-footer {
    margin-top: 25px;

    text-align: center;

    color: var(--text-secondary);

    font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 600px) {

    .login-page {
        padding: 16px;
        align-items: center;
    }

    .login-card {
        padding: 28px 22px;

        border-radius: 16px;
    }

    .login-logo {
        width: 60px;
        height: 60px;

        font-size: 23px;
    }

    .login-title {
        font-size: 27px;
    }

    .form-control,
    .btn {
        min-height: 52px;
    }
}
/* =========================================
   VivePOS - PANEL PRINCIPAL
   ========================================= */

.app-layout {
    min-height: 100vh;
    display: flex;
}

/* SIDEBAR */

.sidebar {
    width: 250px;
    height: 100vh;

    position: fixed;
    left: 0;
    top: 0;

    display: flex;
    flex-direction: column;

    padding: 18px 14px;

    background: rgba(255, 255, 255, 0.82);

    border-right: 1px solid var(--border);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    z-index: 1000;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 8px 8px 20px;
}

.sidebar-logo {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: linear-gradient(
        145deg,
        #0a84ff,
        #0066cc
    );

    color: white;

    font-size: 20px;
    font-weight: 800;

    box-shadow:
        0 6px 16px rgba(0, 122, 255, 0.25);
}

.sidebar-title {
    font-size: 17px;
    font-weight: 700;
}

.sidebar-subtitle {
    max-width: 150px;

    margin-top: 2px;

    overflow: hidden;

    color: var(--text-secondary);

    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

/* MENÚ */

.sidebar-menu {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.menu-item {
    min-height: 43px;

    display: flex;
    align-items: center;

    padding: 0 13px;

    border-radius: 10px;

    color: #3a3a3c;

    font-size: 14px;
    font-weight: 500;

    transition:
        background 0.2s,
        color 0.2s;
}

.menu-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.menu-item.active {
    background: rgba(0, 122, 255, 0.12);
    color: var(--primary);
    font-weight: 600;
}

.menu-danger {
    color: var(--danger);
}

.sidebar-bottom {
    margin-top: auto;
}

/* CONTENIDO */

.main-content {
    width: calc(100% - 250px);

    margin-left: 250px;

    min-height: 100vh;
}

/* TOPBAR */

.topbar {
    height: 76px;

    display: flex;
    align-items: center;

    padding: 0 30px;

    background: rgba(245, 245, 247, 0.82);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    position: sticky;
    top: 0;

    z-index: 500;
}

.topbar-left h1 {
    font-size: 22px;
    font-weight: 700;

    letter-spacing: -0.5px;
}

.user-area {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 10px;
}

.user-avatar {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary);
    color: white;

    font-weight: 700;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info strong {
    font-size: 13px;
}

.user-info span {
    max-width: 180px;

    overflow: hidden;

    color: var(--text-secondary);

    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

/* DASHBOARD */

.dashboard-content {
    padding: 30px;
}

.welcome-block {
    margin-bottom: 28px;
}

.welcome-block h2 {
    font-size: 28px;

    letter-spacing: -0.8px;
}

.welcome-block p {
    margin-top: 6px;

    color: var(--text-secondary);
}

.dashboard-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.dashboard-card {
    min-height: 160px;

    padding: 22px;

    background: rgba(255, 255, 255, 0.9);

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.04);
}

.dashboard-card-label {
    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 600;
}

.dashboard-card-value {
    margin-top: 20px;

    font-size: 28px;
    font-weight: 700;

    letter-spacing: -0.7px;
}

.dashboard-card-footer {
    margin-top: 18px;

    color: var(--text-secondary);

    font-size: 12px;
}

.status-ok {
    color: var(--success);
}

/* MENÚ MÓVIL */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    margin-right: 12px;

    border: none;
    border-radius: 10px;

    background: rgba(0, 0, 0, 0.05);

    cursor: pointer;

    font-size: 19px;
}

.sidebar-overlay {
    display: none;
}

/* TABLET */

@media (max-width: 1100px) {

    .dashboard-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

/* CELULAR */

@media (max-width: 768px) {

    .sidebar {
        transform: translateX(-100%);

        transition: transform 0.25s ease;

        box-shadow:
            15px 0 40px rgba(0, 0, 0, 0.12);
    }

    .sidebar.sidebar-open {
        transform: translateX(0);
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;

        z-index: 900;

        background: rgba(0, 0, 0, 0.25);

        backdrop-filter: blur(2px);
    }

    .sidebar-overlay.overlay-visible {
        display: block;
    }

    .main-content {
        width: 100%;
        margin-left: 0;
    }

    .mobile-menu-button {
        display: block;
    }

    .topbar {
        height: 68px;

        padding: 0 16px;
    }

    .topbar-left h1 {
        font-size: 19px;
    }

    .user-info {
        display: none;
    }

    .dashboard-content {
        padding: 20px 16px;
    }

    .welcome-block h2 {
        font-size: 24px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card {
        min-height: 135px;
    }
}
/* =========================================
   VIVEPOS - DASHBOARD EMPRESA
   Menú arriba + botones grandes
   ========================================= */

.company-layout {
    min-height: 100vh;
    background: var(--bg);
}

.company-topbar {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 16px 24px;

    background: rgba(255, 255, 255, 0.88);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.company-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-logo {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: linear-gradient(145deg, #0a84ff, #0066cc);

    color: #fff;
    font-size: 20px;
    font-weight: 800;

    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.20);
}

.company-title {
    font-size: 20px;
    font-weight: 700;
}

.company-subtitle {
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 12px;
}

.company-user-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-user-avatar {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.company-user-info {
    display: flex;
    flex-direction: column;
}

.company-user-info strong {
    font-size: 13px;
}

.company-user-info span {
    color: var(--text-secondary);
    font-size: 11px;
}

.company-logout-btn {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 14px;

    border-radius: 10px;

    background: rgba(255, 59, 48, 0.10);
    color: var(--danger);

    font-size: 13px;
    font-weight: 600;
}

.company-nav {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 24px;

    overflow-x: auto;

    background: rgba(245, 245, 247, 0.92);

    border-bottom: 1px solid var(--border);
}

.company-nav-link {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 16px;

    border-radius: 11px;

    background: rgba(255, 255, 255, 0.85);
    color: var(--text);

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    border: 1px solid var(--border);

    transition: background 0.2s, transform 0.15s;
}

.company-nav-link:hover {
    background: rgba(0, 122, 255, 0.06);
}

.company-nav-link.active {
    background: rgba(0, 122, 255, 0.12);
    color: var(--primary);
}

.company-content {
    padding: 28px 24px 32px;
}

.company-welcome {
    margin-bottom: 24px;
}

.company-welcome h1 {
    font-size: 34px;
    letter-spacing: -0.9px;
}

.company-welcome p {
    margin-top: 6px;
    color: var(--text-secondary);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;

    margin-bottom: 24px;
}

.quick-action-card {
    min-height: 110px;

    display: flex;
    align-items: center;
    gap: 16px;

    padding: 22px;

    background: rgba(255, 255, 255, 0.90);

    border: 1px solid var(--border);
    border-radius: 20px;

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);

    color: var(--text);

    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.quick-action-card:hover {
    transform: translateY(-1px);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.quick-action-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: rgba(0, 122, 255, 0.10);

    font-size: 26px;
}

.quick-action-text strong {
    display: block;
    font-size: 18px;
}

.quick-action-text span {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 13px;
}

.company-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.company-stat-card {
    min-height: 160px;

    padding: 22px;

    background: rgba(255, 255, 255, 0.90);

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.company-stat-label {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.company-stat-value {
    margin-top: 18px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.7px;
}

.company-stat-footer {
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 12px;
}

.company-stat-ok {
    color: var(--success);
}

/* TABLET */
@media (max-width: 1100px) {
    .quick-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* CELULAR */
@media (max-width: 768px) {
    .company-topbar {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .company-user-box {
        justify-content: space-between;
    }

    .company-user-info {
        flex: 1;
    }

    .company-nav {
        padding: 12px 16px;
    }

    .company-content {
        padding: 20px 16px 26px;
    }

    .company-welcome h1 {
        font-size: 28px;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    .company-stats-grid {
        grid-template-columns: 1fr;
    }

    .quick-action-card {
        min-height: 96px;
        padding: 18px;
    }

    .quick-action-text strong {
        font-size: 17px;
    }
}

/* =========================================
   TARJETAS CLICKEABLES DEL DASHBOARD
   ========================================= */

.dashboard-card-link {
    display: block;

    color: var(--text);

    text-decoration: none;

    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.dashboard-card-link:hover {
    color: var(--text);

    transform: translateY(-2px);

    background: #ffffff;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.07);
}

.dashboard-card-link:active {
    transform: scale(0.99);
}
/* =========================================
   VIVEPOS - MODALES
   ========================================= */

body.modal-open {
    overflow: hidden;
}

.vive-modal {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;

    z-index: 5000;
}

.vive-modal.modal-visible {
    display: flex;
}

.vive-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(20, 20, 22, 0.38);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.vive-modal-window {
    position: relative;

    width: 100%;

    max-height: calc(100vh - 48px);

    display: flex;
    flex-direction: column;

    background: rgba(255, 255, 255, 0.97);

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;

    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.20);

    overflow: hidden;

    z-index: 2;
}

.vive-modal-large {
    max-width: 780px;
}

.vive-modal-small {
    max-width: 440px;
}

.vive-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 24px;

    border-bottom: 1px solid var(--border);
}

.vive-modal-header h3 {
    font-size: 21px;
    letter-spacing: -0.4px;
}

.vive-modal-header p {
    margin-top: 4px;

    color: var(--text-secondary);

    font-size: 13px;
}

.modal-close {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.06);

    cursor: pointer;

    font-size: 21px;
}

.vive-modal-body {
    padding: 24px;

    overflow-y: auto;
}

.modal-section-title {
    margin: 5px 0 16px;

    color: var(--text-secondary);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.7px;
}

.modal-section-title:not(:first-child) {
    margin-top: 22px;
}

.form-grid-2 {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.password-generator {
    display: flex;
    gap: 8px;
}

.generate-password-btn {
    min-width: 95px;

    border: none;
    border-radius: 12px;

    background: rgba(0, 122, 255, 0.10);

    color: var(--primary);

    cursor: pointer;

    font-weight: 600;
}

.vive-modal-footer {
    display: flex;
    justify-content: flex-end;

    gap: 10px;

    padding: 16px 24px;

    border-top: 1px solid var(--border);

    background: rgba(248, 248, 250, 0.94);
}

.modal-btn {
    min-height: 44px;

    padding: 0 18px;

    border: none;
    border-radius: 11px;

    cursor: pointer;

    font-size: 14px;
    font-weight: 600;
}

.modal-btn-primary {
    background: var(--primary);
    color: #fff;
}

.modal-btn-secondary {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text);
}

.modal-btn-danger {
    background: var(--danger);
    color: #fff;
}


/* =========================================
   ACCIONES
   ========================================= */

.action-buttons {
    display: flex;
    align-items: center;

    gap: 7px;

    white-space: nowrap;
}

.action-btn {
    min-height: 34px;

    padding: 0 11px;

    border: none;
    border-radius: 9px;

    cursor: pointer;

    font-size: 12px;
    font-weight: 600;
}

.action-edit {
    background: rgba(0, 122, 255, 0.10);
    color: var(--primary);
}

.action-delete {
    background: rgba(255, 59, 48, 0.10);
    color: var(--danger);
}

.username-badge {
    display: inline-block;

    padding: 6px 9px;

    border-radius: 8px;

    background: rgba(0, 0, 0, 0.05);

    font-size: 12px;
    font-weight: 600;
}

.establishments-toolbar {
    margin: 5px 2px 12px;

    color: var(--text-secondary);

    font-size: 13px;
}

.delete-warning {
    font-size: 16px;
    line-height: 1.5;
}

.delete-help {
    margin-top: 9px;

    color: var(--text-secondary);

    font-size: 13px;
}


/* =========================================
   RESPONSIVE MODALES
   ========================================= */

@media (max-width: 700px) {

    .vive-modal {
        align-items: flex-end;

        padding: 0;
    }

    .vive-modal-window {
        max-width: none;

        max-height: 92vh;

        border-radius: 22px 22px 0 0;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .vive-modal-header,
    .vive-modal-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .vive-modal-footer {
        padding: 14px 18px;
    }

    .modal-btn {
        flex: 1;
    }

    .password-generator {
        flex-direction: column;
    }

    .generate-password-btn {
        min-height: 46px;
    }
}
/* =========================================================
   VIVEPOS ADMIN PRO
   Inspirado en dashboard moderno + macOS
   ========================================================= */

.vp-admin-body {
    margin: 0;
    background:
        radial-gradient(circle at 70% 0%, rgba(0, 122, 255, .055), transparent 30%),
        #f4f6f9;

    color: #182033;
}

.vp-admin-layout {
    min-height: 100vh;
}


/* =========================================================
   SIDEBAR OSCURO
   ========================================================= */

.vp-sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    width: 255px;

    display: flex;
    flex-direction: column;

    padding: 22px 14px;

    background:
        linear-gradient(
            180deg,
            #1b2940 0%,
            #162238 100%
        );

    color: #ffffff;

    z-index: 1200;

    box-shadow:
        12px 0 40px rgba(20, 30, 50, .08);
}

.vp-sidebar-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 4px 8px 28px;
}

.vp-sidebar-logo {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #2895ff,
            #006be6
        );

    font-size: 21px;
    font-weight: 800;

    box-shadow:
        0 8px 24px rgba(0, 122, 255, .28);
}

.vp-sidebar-name {
    font-size: 20px;
    font-weight: 800;

    letter-spacing: -.4px;
}

.vp-sidebar-small {
    margin-top: 2px;

    color: #8495ad;

    font-size: 11px;
}

.vp-sidebar-section-title {
    padding: 0 13px 12px;

    color: #71829a;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.1px;
}

.vp-sidebar-menu {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.vp-sidebar-item {
    min-height: 50px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 0 14px;

    border-radius: 13px;

    color: #c8d1df;

    font-size: 14px;
    font-weight: 600;

    transition:
        background .2s,
        color .2s,
        transform .15s;
}

.vp-sidebar-item:hover {
    background: rgba(255,255,255,.055);

    color: #ffffff;
}

.vp-sidebar-item.active {
    background:
        linear-gradient(
            90deg,
            rgba(40, 125, 255, .34),
            rgba(40, 125, 255, .18)
        );

    color: #ffffff;

    border-left: 3px solid #3892ff;

    box-shadow:
        inset 0 0 0 1px rgba(70, 140, 255, .11);
}

.vp-menu-icon {
    width: 22px;

    text-align: center;

    font-size: 16px;
}

.vp-sidebar-bottom {
    margin-top: auto;

    display: flex;
    flex-direction: column;

    gap: 8px;
}

.vp-sidebar-logout {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 10px;

    border: 1px solid rgba(255, 76, 76, .28);
    border-radius: 13px;

    background: rgba(255, 60, 60, .08);

    color: #ff7474;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.vp-main {
    min-height: 100vh;

    margin-left: 255px;
}


/* TOPBAR */

.vp-topbar {
    height: 86px;

    display: flex;
    align-items: center;

    padding: 0 30px;

    background: rgba(255,255,255,.88);

    border-bottom: 1px solid #e8ebf0;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    position: sticky;

    top: 0;

    z-index: 900;
}

.vp-topbar h1 {
    margin: 0;

    font-size: 20px;
    font-weight: 800;

    letter-spacing: -.4px;
}

.vp-topbar > div > span {
    display: block;

    margin-top: 5px;

    color: #96a1b2;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .4px;
}

.vp-user {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 11px;
}

.vp-user-avatar {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #278eff,
            #006bea
        );

    color: white;

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 5px 15px rgba(0,122,255,.18);
}

.vp-user strong {
    display: block;

    font-size: 13px;
}

.vp-user span {
    display: block;

    margin-top: 2px;

    color: #8994a5;

    font-size: 10px;
}


/* =========================================================
   PÁGINA
   ========================================================= */

.vp-page {
    padding: 34px;
}

.vp-page-title-row {
    margin-bottom: 22px;
}

.vp-page-title-row h2 {
    margin: 0;

    font-size: 30px;
    font-weight: 850;

    letter-spacing: -1px;
}

.vp-page-title-row p {
    margin: 5px 0 0;

    color: #7f8999;

    font-size: 14px;
}


/* =========================================================
   BARRA DE ACCIONES
   ========================================================= */

.vp-toolbar {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 22px;
}

.vp-search {
    height: 52px;

    flex: 1;

    display: flex;
    align-items: center;

    max-width: 630px;

    padding: 0 16px;

    background: rgba(255,255,255,.92);

    border: 1px solid #e3e7ed;
    border-radius: 16px;

    box-shadow:
        0 5px 20px rgba(30, 40, 60, .035);
}

.vp-search-icon {
    margin-right: 10px;

    color: #8290a2;

    font-size: 19px;
}

.vp-search input {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: #1e293b;

    font-size: 13px;
}

.vp-toolbar-actions {
    margin-left: auto;

    display: flex;

    gap: 10px;
}

.vp-action-button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 22px;

    border: none;
    border-radius: 999px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 750;

    transition:
        transform .15s,
        box-shadow .2s;
}

.vp-action-button:hover {
    transform: translateY(-1px);
}

.vp-action-blue {
    background:
        linear-gradient(
            135deg,
            #357cf3,
            #2465e8
        );

    color: #ffffff;

    box-shadow:
        0 9px 22px rgba(48, 112, 235, .20);
}


/* =========================================================
   TARJETAS RESUMEN
   ========================================================= */

.vp-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;

    margin-bottom: 22px;
}

.vp-summary-card {
    min-height: 105px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 20px;

    border: 1px solid #e6eaf0;
    border-radius: 19px;

    background:
        rgba(255,255,255,.89);

    color: #1c2738;

    box-shadow:
        0 8px 28px rgba(25, 35, 55, .04);

    transition:
        transform .15s,
        box-shadow .2s,
        border-color .2s;
}

.vp-summary-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 32px rgba(25,35,55,.065);
}

.vp-summary-card.selected {
    border-color: rgba(40, 120, 255, .35);

    box-shadow:
        0 8px 30px rgba(35, 115, 240, .08);
}

.vp-summary-card span {
    color: #7d899a;

    font-size: 12px;
    font-weight: 700;
}

.vp-summary-card strong {
    margin-top: 6px;

    font-size: 28px;
    font-weight: 850;
}

.vp-summary-card small {
    margin-top: 4px;

    color: #9aa4b2;

    font-size: 11px;
}

.vp-summary-green strong {
    color: #18a96a;
}

.vp-summary-orange strong {
    color: #ef920b;
}


/* =========================================================
   BASE DE DATOS
   ========================================================= */

.vp-database-card {
    overflow: hidden;

    background: rgba(255,255,255,.92);

    border: 1px solid #e5e9ef;
    border-radius: 24px;

    box-shadow:
        0 12px 40px rgba(20, 30, 50, .045);
}

.vp-database-header {
    min-height: 80px;

    display: flex;
    align-items: center;

    padding: 18px 24px;

    border-bottom: 1px solid #edf0f4;
}

.vp-database-header h3 {
    margin: 0;

    font-size: 15px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .2px;
}

.vp-database-header p {
    margin: 5px 0 0;

    color: #9aa5b5;

    font-size: 11px;
}

.vp-mini-add {
    width: 42px;
    height: 42px;

    margin-left: auto;

    border: none;
    border-radius: 13px;

    background: rgba(0,122,255,.09);

    color: #007aff;

    cursor: pointer;

    font-size: 23px;
    font-weight: 500;
}


/* =========================================================
   TABLA
   ========================================================= */

.vp-table-wrapper {
    width: 100%;

    overflow-x: auto;
}

.vp-table {
    width: 100%;

    border-collapse: collapse;

    min-width: 1050px;
}

.vp-table thead {
    background: #f7f9fc;
}

.vp-table th {
    padding: 16px 20px;

    border-bottom: 1px solid #e9edf3;

    color: #8793a5;

    font-size: 10px;
    font-weight: 800;

    text-align: left;

    text-transform: uppercase;

    letter-spacing: .25px;
}

.vp-table td {
    padding: 18px 20px;

    border-bottom: 1px solid #eef1f5;

    vertical-align: middle;

    font-size: 12px;
}

.vp-table tbody tr {
    transition: background .15s;
}

.vp-table tbody tr:hover {
    background: rgba(0,122,255,.018);
}

.vp-table tbody tr:last-child td {
    border-bottom: none;
}


/* EMPRESA */

.vp-business {
    min-width: 220px;

    display: flex;
    align-items: center;

    gap: 12px;
}

.vp-business-logo {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(0,122,255,.13),
            rgba(0,122,255,.06)
        );

    color: #007aff;

    font-size: 15px;
    font-weight: 850;
}

.vp-business strong {
    display: block;

    color: #202b3d;

    font-size: 13px;
}

.vp-business span {
    display: block;

    margin-top: 4px;

    color: #929eae;

    font-size: 10px;
}


/* DATOS TABLA */

.vp-table-primary {
    display: block;

    color: #293449;

    font-size: 12px;
}

.vp-table-secondary {
    display: block;

    margin-top: 4px;

    color: #9aa4b4;

    font-size: 10px;
}

.vp-document-type {
    display: inline-block;

    margin-right: 5px;

    padding: 4px 7px;

    border-radius: 7px;

    background: #edf4ff;

    color: #2879ed;

    font-size: 9px;
    font-weight: 800;
}

.vp-document-number {
    color: #48556a;

    font-weight: 650;
}

.vp-city {
    display: inline-flex;

    padding: 7px 10px;

    border-radius: 9px;

    background: #f5f7fa;

    color: #59677b;

    font-weight: 650;
}

.vp-login-info span {
    display: block;

    color: #a0a9b7;

    font-size: 9px;
}

.vp-login-info strong {
    display: block;

    margin-top: 3px;

    color: #2978ea;

    font-size: 12px;
}


/* =========================================================
   ESTADOS
   ========================================================= */

.vp-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 80px;

    padding: 7px 11px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;
}

.vp-status-active {
    background: #dff8eb;

    color: #16a866;
}

.vp-status-suspended {
    background: #fff0d8;

    color: #df8700;
}

.vp-status-inactive {
    background: #ffe1e2;

    color: #e0444e;
}


/* =========================================================
   ACCIONES
   ========================================================= */

.vp-row-actions {
    display: flex;
    justify-content: flex-end;

    gap: 8px;
}

.vp-row-btn {
    min-height: 34px;

    padding: 0 11px;

    border: none;
    border-radius: 10px;

    cursor: pointer;

    font-size: 10px;
    font-weight: 750;

    transition:
        transform .15s,
        box-shadow .15s;
}

.vp-row-btn:hover {
    transform: translateY(-1px);
}

.vp-row-edit {
    background: #e9f3ff;

    color: #1478ed;
}

.vp-row-delete {
    background: #fff0f0;

    color: #e44b50;
}

.vp-text-right {
    text-align: right !important;
}


/* =========================================================
   VACÍO
   ========================================================= */

.vp-empty {
    min-height: 350px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 40px;

    text-align: center;
}

.vp-empty-icon {
    width: 66px;
    height: 66px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #eef6ff,
            #e5f0ff
        );

    color: #207bea;

    font-size: 25px;
    font-weight: 850;
}

.vp-empty h3 {
    margin: 0;

    font-size: 20px;
}

.vp-empty p {
    margin: 8px 0 20px;

    color: #8995a6;

    font-size: 13px;
}

.vp-alert {
    margin-bottom: 18px;
}


/* =========================================================
   BOTÓN MÓVIL
   ========================================================= */

.vp-mobile-menu {
    display: none;

    width: 42px;
    height: 42px;

    margin-right: 14px;

    border: none;
    border-radius: 11px;

    background: #f0f3f7;

    cursor: pointer;
}

.vp-sidebar-overlay {
    display: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .vp-summary-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 780px) {

    .vp-sidebar {
        transform: translateX(-100%);

        transition: transform .25s ease;
    }

    .vp-sidebar.sidebar-open {
        transform: translateX(0);
    }

    .vp-main {
        margin-left: 0;
    }

    .vp-mobile-menu {
        display: block;
    }

    .vp-sidebar-overlay {
        position: fixed;

        inset: 0;

        z-index: 1100;

        background: rgba(15, 22, 34, .38);

        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .vp-sidebar-overlay.overlay-visible {
        display: block;
    }

    .vp-topbar {
        height: 72px;

        padding: 0 16px;
    }

    .vp-user > div:not(.vp-user-avatar) {
        display: none;
    }

    .vp-page {
        padding: 20px 15px;
    }

    .vp-page-title-row h2 {
        font-size: 25px;
    }

    .vp-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .vp-search {
        max-width: none;

        width: 100%;
    }

    .vp-toolbar-actions {
        width: 100%;

        margin-left: 0;
    }

    .vp-action-button {
        width: 100%;
    }

    .vp-summary-grid {
        grid-template-columns: 1fr;
    }

    .vp-database-card {
        border-radius: 18px;
    }
}

/* =========================================================
   VIVEPOS - MODAL COMPACTO
   ========================================================= */

.vive-modal {
    padding: 18px;
}

/* Ventana principal */
.vive-modal-window {
    max-height: 88vh;
    border-radius: 20px;
}

/* Modal crear / editar */
.vive-modal-large {
    max-width: 680px;
}

/* Modal eliminar */
.vive-modal-small {
    max-width: 420px;
}


/* CABECERA */

.vive-modal-header {
    padding: 17px 20px;
}

.vive-modal-header h3 {
    font-size: 19px;
}

.vive-modal-header p {
    margin-top: 3px;
    font-size: 12px;
}

.modal-close {
    width: 32px;
    height: 32px;
}


/* CUERPO */

.vive-modal-body {
    padding: 18px 20px;

    overflow-y: auto;
    overflow-x: hidden;
}


/* TÍTULOS DE SECCIÓN */

.modal-section-title {
    margin: 2px 0 11px;

    font-size: 10px;
    letter-spacing: 0.8px;
}

.modal-section-title:not(:first-child) {
    margin-top: 16px;
}


/* FORMULARIOS */

.form-grid-2 {
    gap: 12px;
}

.vive-modal .form-group {
    margin-bottom: 11px;
}

.vive-modal .form-label {
    margin-bottom: 5px;

    font-size: 12px;
}

.vive-modal .form-control {
    height: 42px;

    padding: 0 12px;

    border-radius: 10px;

    font-size: 13px;
}


/* CONTRASEÑA */

.password-generator {
    gap: 7px;
}

.generate-password-btn {
    min-width: 82px;
    height: 42px;

    padding: 0 12px;

    border-radius: 10px;

    font-size: 12px;
}


/* PIE DEL MODAL */

.vive-modal-footer {
    position: sticky;
    bottom: 0;

    padding: 12px 20px;

    background: rgba(248, 248, 250, 0.98);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.modal-btn {
    min-height: 40px;

    padding: 0 16px;

    border-radius: 10px;

    font-size: 12px;
}


/* =========================================================
   TABLET / CELULAR
   ========================================================= */

@media (max-width: 700px) {

    .vive-modal {
        padding: 0;

        align-items: flex-end;
    }

    .vive-modal-window {
        max-height: 94vh;

        border-radius: 20px 20px 0 0;
    }

    .vive-modal-large,
    .vive-modal-small {
        max-width: 100%;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .vive-modal-header {
        padding: 15px 17px;
    }

    .vive-modal-body {
        padding: 16px 17px;
    }

    .vive-modal-footer {
        padding: 12px 17px;
    }

    .password-generator {
        flex-direction: row;
    }

    .generate-password-btn {
        min-width: 85px;
    }
}
/* =========================================================
   VIVEPOS EMPRESA PRO
   Dashboard fluido inspirado en macOS
   ========================================================= */

.company-pro-body {
    margin: 0;

    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(0, 122, 255, .07),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(175, 82, 222, .055),
            transparent 28%
        ),
        #f5f6f8;

    color: #1d1d1f;
}

.company-pro-layout {
    min-height: 100vh;
}


/* CABECERA */

.company-pro-header {
    min-height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 28px;

    background: rgba(255, 255, 255, .88);

    border-bottom: 1px solid rgba(0, 0, 0, .065);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    position: relative;

    z-index: 50;
}

.company-pro-brand {
    display: flex;
    align-items: center;

    gap: 13px;
}

.company-pro-logo {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #1a8cff,
            #0069db
        );

    color: #fff;

    font-size: 22px;
    font-weight: 850;

    box-shadow:
        0 9px 24px rgba(0, 122, 255, .22);
}

.company-pro-brand strong {
    display: block;

    font-size: 20px;
    font-weight: 800;
}

.company-pro-brand span {
    display: block;

    margin-top: 2px;

    color: #85858b;

    font-size: 12px;
}


/* USUARIO */

.company-pro-user {
    display: flex;
    align-items: center;

    gap: 11px;
}

.company-pro-avatar {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #168cff,
            #0068dd
        );

    color: #fff;

    font-weight: 800;
}

.company-pro-user-info strong {
    display: block;

    font-size: 13px;
}

.company-pro-user-info span {
    display: block;

    margin-top: 2px;

    color: #8c8c92;

    font-size: 10px;
}

.company-pro-exit {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 15px;

    border-radius: 11px;

    background: rgba(255, 59, 48, .09);

    color: #e53b33;

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   MENÚ
   ========================================================= */

.company-pro-nav {
    background: rgba(248, 249, 251, .92);

    border-bottom: 1px solid rgba(0, 0, 0, .06);

    overflow-x: auto;
}

.company-pro-nav-inner {
    width: max-content;

    min-width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 13px 22px;
}

.company-pro-nav-item {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 16px;

    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 12px;

    background: rgba(255, 255, 255, .87);

    color: #36363a;

    white-space: nowrap;

    font-size: 12px;
    font-weight: 650;

    transition:
        transform .15s,
        background .2s,
        box-shadow .2s;
}

.company-pro-nav-item:hover {
    transform: translateY(-1px);

    background: #fff;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .045);
}

.company-pro-nav-item.active {
    background: rgba(0, 122, 255, .11);

    border-color: rgba(0, 122, 255, .15);

    color: #007aff;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.company-pro-main {
    padding: 34px 24px 45px;
}

.company-pro-container {
    width: 100%;

    max-width: 1480px;

    margin: 0 auto;
}


/* BIENVENIDA */

.company-pro-welcome {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    text-align: center;
}

.company-pro-eyebrow {
    color: #8b8b91;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.company-pro-welcome h1 {
    margin: 7px 0 0;

    font-size: clamp(
        30px,
        4vw,
        44px
    );

    font-weight: 850;

    letter-spacing: -1.5px;
}

.company-pro-welcome p {
    margin: 8px 0 0;

    color: #85858b;

    font-size: 14px;
}


/* =========================================================
   BOTONES GRANDES
   ========================================================= */

.company-pro-actions {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 28px;
}

.company-action {
    min-height: 180px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 24px 18px;

    border: 1px solid rgba(0, 0, 0, .065);
    border-radius: 24px;

    background: rgba(255,255,255,.91);

    color: #1d1d1f;

    text-align: center;

    box-shadow:
        0 10px 35px rgba(25, 30, 45, .045);

    transition:
        transform .18s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.company-action:hover {
    transform:
        translateY(-4px)
        scale(1.005);

    background: #fff;

    box-shadow:
        0 18px 42px rgba(25, 30, 45, .085);
}

.company-action:active {
    transform: scale(.985);
}


/* ICONOS */

.company-action-icon {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 20px;

    transition: transform .2s;
}

.company-action:hover .company-action-icon {
    transform: scale(1.05);
}

.company-action-icon svg {
    width: 31px;
    height: 31px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.company-action strong {
    display: block;

    font-size: 17px;
    font-weight: 760;
}

.company-action span {
    display: block;

    margin-top: 6px;

    color: #898991;

    font-size: 11px;
}


/* COLORES */

.company-action-blue .company-action-icon {
    background: #e5f2ff;
    color: #087cff;
}

.company-action-green .company-action-icon {
    background: #e3f8ec;
    color: #1aa964;
}

.company-action-purple .company-action-icon {
    background: #f1e9ff;
    color: #8657dc;
}

.company-action-orange .company-action-icon {
    background: #fff0df;
    color: #ee8b17;
}

.company-action-cyan .company-action-icon {
    background: #e1f8fa;
    color: #17a3ae;
}

.company-action-pink .company-action-icon {
    background: #ffe7f1;
    color: #dd4f88;
}

.company-action-indigo .company-action-icon {
    background: #e9e9ff;
    color: #5856d6;
}

.company-action-dark .company-action-icon {
    background: #ebedf1;
    color: #384253;
}


/* =========================================================
   ESTADÍSTICAS
   ========================================================= */

.company-pro-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}

.company-pro-stat {
    min-height: 135px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 22px;

    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 20px;

    background: rgba(255, 255, 255, .90);

    color: #1d1d1f;

    box-shadow:
        0 8px 28px rgba(25, 30, 45, .035);
}

.company-pro-stat span {
    color: #828289;

    font-size: 11px;
    font-weight: 650;
}

.company-pro-stat strong {
    display: block;

    margin-top: 9px;

    font-size: 24px;
    font-weight: 800;

    letter-spacing: -.5px;
}

.company-pro-stat small {
    display: block;

    margin-top: 7px;

    color: #a0a0a5;

    font-size: 10px;
}

.company-pro-stat-link {
    transition:
        transform .15s,
        box-shadow .2s;
}

.company-pro-stat-link:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(25,30,45,.06);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1150px) {

    .company-pro-actions {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .company-pro-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 850px) {

    .company-pro-actions {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .company-pro-nav-inner {
        justify-content: flex-start;
    }
}


@media (max-width: 600px) {

    .company-pro-header {
        min-height: 70px;

        padding: 10px 14px;
    }

    .company-pro-logo {
        width: 43px;
        height: 43px;

        border-radius: 13px;

        font-size: 19px;
    }

    .company-pro-brand strong {
        font-size: 17px;
    }

    .company-pro-user-info {
        display: none;
    }

    .company-pro-exit {
        padding: 0 11px;
    }

    .company-pro-main {
        padding:
            24px
            14px
            35px;
    }

    .company-pro-welcome {
        margin-bottom: 22px;
    }

    .company-pro-actions {
        grid-template-columns: 1fr 1fr;

        gap: 12px;
    }

    .company-action {
        min-height: 145px;

        padding: 17px 10px;

        border-radius: 20px;
    }

    .company-action-icon {
        width: 55px;
        height: 55px;

        margin-bottom: 11px;

        border-radius: 17px;
    }

    .company-action-icon svg {
        width: 26px;
        height: 26px;
    }

    .company-action strong {
        font-size: 14px;
    }

    .company-action span {
        font-size: 9px;
    }

    .company-pro-stats {
        grid-template-columns: 1fr 1fr;

        gap: 11px;
    }

    .company-pro-stat {
        min-height: 115px;

        padding: 16px;

        border-radius: 17px;
    }

    .company-pro-stat strong {
        font-size: 20px;
    }
}
/* ============================================================
   VIVEPOS - BOTÓN PRINCIPAL GLOBAL
   Usar en TODOS los módulos
   ============================================================ */

.vp-primary-action {
    min-width: 190px;
    min-height: 58px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    padding:
        0
        25px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #1687ff 0%,
            #0768e5 100%
        );

    color: #ffffff;

    cursor: pointer;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 13px;
    font-weight: 750;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

    box-shadow:
        0 10px 28px
        rgba(0,122,255,.23),
        inset 0 1px 0
        rgba(255,255,255,.16);

    transition:
        transform .18s ease,
        box-shadow .20s ease,
        filter .18s ease;
}


.vp-primary-action:hover {
    transform:
        translateY(-2px);

    filter:
        brightness(1.06);

    box-shadow:
        0 15px 35px
        rgba(0,122,255,.31),
        inset 0 1px 0
        rgba(255,255,255,.18);
}


.vp-primary-action:active {
    transform:
        translateY(0)
        scale(.975);

    box-shadow:
        0 6px 18px
        rgba(0,122,255,.20);
}


.vp-primary-action-icon {
    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background:
        rgba(255,255,255,.14);
}


.vp-primary-action-icon svg {
    width: 17px;
    height: 17px;

    fill: none;

    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* TABLET */

@media (max-width: 850px) {

    .vp-primary-action {
        min-width: 180px;
        min-height: 56px;
    }
}


/* CELULAR */

@media (max-width: 600px) {

    .vp-primary-action {
        width: 100%;

        min-width: 0;

        min-height: 58px;

        font-size: 13px;
    }
}