:root {
    --vini-navy: #0b1f3a;
    --vini-navy-light: #132f57;
    --vini-accent: #688f27;
    --vini-blue: #1d4ed8;
    --vini-bg: #f4f7fb;
    --sidebar-width: 265px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--vini-bg);
    color: #1e293b;
    overflow-x: hidden;
}

/* Sidebar Navigation */
.vini-sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: linear-gradient(180deg, var(--vini-navy) 0%, #071529 100%);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    transition: transform 0.25s ease-in-out;
    box-shadow: 4px 0 20px rgba(11, 31, 58, 0.15);
}

.vini-sidebar-brand {
    background: #ffffff;
    padding: 14px 18px;
    border-bottom: 3px solid var(--vini-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vini-sidebar-brand img {
    max-height: 54px;
    width: auto;
}

.vini-nav-link {
    display: flex;
    align-items: center;
    padding: 11px 20px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.93rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    margin: 2px 0;
}

.vini-nav-link i {
    font-size: 1.15rem;
    width: 28px;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s ease;
}

.vini-nav-link:hover,
.vini-nav-link.active {
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    border-left-color: #87ab43;
}

.vini-nav-link:hover i,
.vini-nav-link.active i {
    color: #a3cc52;
}

/* Main Content Wrapper */
.vini-main {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.25s ease-in-out;
}

/* Top Navbar */
.vini-topbar {
    background: #ffffff;
    height: 66px;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Statistic Cards */
.stat-card {
    background: #ffffff;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.card-saas {
    background: #ffffff;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.card-saas .card-header {
    background: #ffffff;
    border-bottom: 1px solid #edf2f7;
    padding: 15px 20px;
    font-weight: 600;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.btn-vini-primary {
    background-color: var(--vini-navy);
    border-color: var(--vini-navy);
    color: #ffffff;
}

.btn-vini-primary:hover {
    background-color: var(--vini-navy-light);
    border-color: var(--vini-navy-light);
    color: #ffffff;
}

.table > :not(caption) > * > * {
    padding: 0.85rem 1rem;
    vertical-align: middle;
}

/* Responsive Mobile Sidebar */
@media (max-width: 991.98px) {
    .vini-sidebar {
        transform: translateX(-100%);
    }
    .vini-sidebar.show {
        transform: translateX(0);
    }
    .vini-main {
        margin-left: 0;
    }
}

@media print {
    .vini-sidebar, .vini-topbar, .no-print {
        display: none !important;
    }
    .vini-main {
        margin-left: 0 !important;
    }
}