body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f5f7fb;
}

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

.sidebar {
    width: 240px;
    background-color: #0d6efd;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.sidebar-header {
    margin-bottom: 1rem;
}

.app-logo {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.user-info {
    font-size: 0.9rem;
}

.sidebar-nav {
    flex: 1;
    margin-top: 1rem;
}

.sidebar-nav .nav-link {
    display: block;
    color: #dfe9ff;
    padding: 0.45rem 0.75rem;
    border-radius: 0.35rem;
    font-size: 0.92rem;
    text-decoration: none;
    margin-bottom: 0.25rem;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.sidebar-footer {
    margin-top: 1rem;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f5f7fb;
}

.topbar {
    height: 60px;
    background-color: #fff;
    border-bottom: 1px solid #e0e3f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.topbar-title {
    font-weight: 600;
}

.content-wrapper {
    padding: 1.5rem;
}

/* Info box */
.info-box {
    background-color: #fff;
    border-radius: 0.6rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

.info-label {
    font-size: 0.9rem;
    color: #6b7280;
}

.info-value {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Product cards */
.product-card {
    border-radius: 0.6rem;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
    border: none;
}

.product-card .card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-main {
    flex: 1;
}

.product-name {
    font-weight: 600;
}

.product-meta {
    font-size: 0.9rem;
    color: #6b7280;
}

.badge-stock {
    font-size: 0.8rem;
}

.api-docs pre {
    background-color: #0b1120;
    color: #e5e7eb;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
}

/* Auth pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #e0edff, #f5f7fb);
}

.auth-card {
    max-width: 380px;
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
    border: none;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .app-container {
        flex-direction: column;
    }
}
