/* Zeitiva - Swiss SaaS Design System */

:root {
    --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --swiss-red: #dc3545;
    --swiss-dark: #111827;
    --swiss-slate: #1f2937;
    --swiss-border: #e5e7eb;
}

body {
    font-family: var(--bs-font-sans-serif);
    color: #1f2937;
    background-color: #f8fafc !important;
    -webkit-font-smoothing: antialiased;
}

/* Sidebar */
#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    background-color: var(--swiss-dark) !important;
    display: flex;
    flex-direction: column;
}

#sidebar .nav-link {
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

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

#sidebar .nav-link.active {
    background-color: var(--swiss-red) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.25);
}

/* Page Layout */
#page-content-wrapper {
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Subtle Card & Shadow */
.card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

.shadow-xs {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Swiss Brand Element */
.swiss-cross {
    width: 28px;
    height: 28px;
}

/* Responsive Sidebar Toggle */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
}

