:root {
    --sidebar-width: 260px;
}

body {
    font-size: 0.95rem;
}

.auth-card {
    max-width: 420px;
}

.erp-sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    flex: 0 0 var(--sidebar-width);
    background: #111827;
    color: #e2e8f0;
    min-height: 100vh;
}

.erp-sidebar.offcanvas-sidebar {
    width: 100%;
    min-height: auto;
}

.erp-sidebar .nav-link {
    color: #cbd5e1;
    border-radius: 0.4rem;
    padding: 0.5rem 0.75rem;
}

.erp-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.erp-sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.erp-sidebar .sidebar-section {
    margin-top: 1rem;
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.erp-brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #0ea5e9;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.erp-brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
    background: #ffffff;
    padding: 2px;
}

.erp-navbar-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.company-logo-preview {
    width: 72px;
    height: 72px;
    border-radius: 0.5rem;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 4px;
}

.erp-layout-main {
    min-width: 0;
}
