body {
    background-color: #f8f9fa;
}
/* Used only by includes/admin-sidebar.php — the public/app side has no
   permanent side pane anymore, see includes/tools-mega-menu.php instead. */
.sidebar-nav {
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
}

/* Top-nav "Tools" mega-menu (includes/tools-mega-menu.php) */
.mega-menu {
    padding: 1.25rem;
    border: none;
    min-width: 640px;
    max-width: 900px;
}
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.25rem;
}
.mega-menu-col-title {
    display: block;
    font-weight: 600;
    font-size: .75rem;
    text-transform: uppercase;
    color: #6c757d;
    text-decoration: none;
    margin-bottom: .4rem;
}
.mega-menu-col-title:hover {
    color: #0d6efd;
}
.mega-menu-link {
    display: block;
    padding: .2rem 0;
    font-size: .85rem;
    color: #212529;
    text-decoration: none;
}
.mega-menu-link:hover {
    color: #0d6efd;
}
@media (max-width: 991.98px) {
    .mega-menu {
        min-width: 0;
        width: 100%;
        box-shadow: none !important;
    }
    .mega-menu-grid {
        grid-template-columns: 1fr;
    }
}

/* Category filter pills + tool cards on index.php / dashboard/index.php */
.category-pill {
    white-space: nowrap;
}
.tool-card {
    transition: transform .15s ease, box-shadow .15s ease;
}
.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
}
pre.response-box {
    background: #0d1117;
    color: #c9d1d9;
    padding: 1rem;
    border-radius: .375rem;
    max-height: 480px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}
.status-2xx { color: #198754; font-weight: 600; }
.status-3xx { color: #0d6efd; font-weight: 600; }
.status-4xx { color: #fd7e14; font-weight: 600; }
.status-5xx { color: #dc3545; font-weight: 600; }
.coming-soon-card {
    opacity: .75;
}
