body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f6f8;
    color: #292929;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: #292929;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 24px;
    position: sticky;
    top: 0;
    min-height: 100vh;
}

.sidebar .logo img {
    max-width: 180px;
}

.sidebar .menu {
    display: flex;
    flex-direction: column;
    margin: 40px 0;
    gap: 12px;
}

.sidebar .menu a {
    color: #fff;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.sidebar .menu a.active,
.sidebar .menu a:hover {
    background: #9ba000;
}

.logout-form {
    margin-top: auto;
}

.main-content {
    flex: 1;
    padding: 32px;
}

.page-header {
    margin-bottom: 24px;
}

.card {
    border: none;
    border-radius: 16px;
}

.card-header {
    background: transparent;
    border-bottom: 0;
}

.btn-primary {
    background-color: #9ba000;
    border-color: #9ba000;
}

.btn-primary:hover {
    background-color: #889000;
    border-color: #889000;
}

.filters-form .custom-dates {
    display: none;
}

.filters-form .custom-dates.visible {
    display: block;
}

#sankeyChart,
#heatmapChart {
    width: 100%;
    min-height: 500px;
}

.login-body {
    background: linear-gradient(180deg, #fdfdf6, #dfe3a7);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 15px 45px rgba(19, 19, 19, 0.15);
    text-align: center;
}

@media (max-width: 992px) {
    .app-shell {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .sidebar .menu {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0;
    }
}
