/* 
 * DevHub - Tailwind CSS Dark Theme
 * Standalone CSS without Node/CDN dependencies
 * Based on Tailwind CSS utility classes compiled for this project
 */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    margin: 0;
    background-color: #0d1117;
    color: #c9d1d9;
    min-height: 100vh;
}

a {
    color: #58a6ff;
    text-decoration: none;
}

a:hover {
    color: #79b8ff;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */

:root {
    --primary: #4a90e2;
    --primary-hover: #3a7bc8;
    --secondary: #6b7c93;
    --accent: #42b983;
    --accent-hover: #359268;
    --danger: #da3633;
    --warning: #d29922;

    --bg-dark: #0d1117;
    --bg-darker: #010409;
    --bg-card: #161b22;
    --bg-hover: #21262d;

    --text-light: #c9d1d9;
    --text-muted: #8b949e;
    --border: #30363d;
    --link: #58a6ff;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-grow {
    flex-grow: 1;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */

.p-0 {
    padding: 0;
}

.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pl-4 {
    padding-left: 1rem;
}

.pr-4 {
    padding-right: 1rem;
}

.m-0 {
    margin: 0;
}

.m-1 {
    margin: 0.25rem;
}

.m-2 {
    margin: 0.5rem;
}

.m-4 {
    margin: 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
}

.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-3 {
    margin-left: 0.75rem;
}

.ml-4 {
    margin-left: 1rem;
}

.ml-auto {
    margin-left: auto;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mr-4 {
    margin-right: 1rem;
}

/* ============================================
   SIZE UTILITIES
   ============================================ */

.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.w-24 {
    width: 6rem;
}

.w-32 {
    width: 8rem;
}

.w-48 {
    width: 12rem;
}

.w-64 {
    width: 16rem;
}

.w-80 {
    width: 20rem;
}

.min-w-0 {
    min-width: 0;
}

.max-w-xs {
    max-width: 20rem;
}

.max-w-sm {
    max-width: 24rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-full {
    max-width: 100%;
}

.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.h-auto {
    height: auto;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.h-24 {
    height: 6rem;
}

.h-32 {
    height: 8rem;
}

.min-h-screen {
    min-height: 100vh;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.leading-tight {
    line-height: 1.25;
}

.leading-normal {
    line-height: 1.5;
}

.leading-relaxed {
    line-height: 1.625;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.whitespace-nowrap {
    white-space: nowrap;
}

/* ============================================
   COLORS
   ============================================ */

/* Text Colors */
.text-white {
    color: #ffffff;
}

.text-gray-100 {
    color: #f3f4f6;
}

.text-gray-200 {
    color: #e5e7eb;
}

.text-gray-300 {
    color: #c9d1d9;
}

.text-gray-400 {
    color: #8b949e;
}

.text-gray-500 {
    color: #6e7681;
}

.text-gray-600 {
    color: #484f58;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

.text-link {
    color: var(--link);
}

.text-muted {
    color: var(--text-muted);
}

/* Background Colors */
.bg-dark {
    background-color: var(--bg-dark);
}

.bg-darker {
    background-color: var(--bg-darker);
}

.bg-card {
    background-color: var(--bg-card);
}

.bg-hover {
    background-color: var(--bg-hover);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-accent {
    background-color: var(--accent);
}

.bg-danger {
    background-color: var(--danger);
}

.bg-warning {
    background-color: var(--warning);
}

.bg-transparent {
    background-color: transparent;
}

/* ============================================
   BORDERS
   ============================================ */

.border {
    border: 1px solid var(--border);
}

.border-0 {
    border: 0;
}

.border-2 {
    border-width: 2px;
}

.border-t {
    border-top: 1px solid var(--border);
}

.border-b {
    border-bottom: 1px solid var(--border);
}

.border-l {
    border-left: 1px solid var(--border);
}

.border-r {
    border-right: 1px solid var(--border);
}

.border-gray-700 {
    border-color: #30363d;
}

.border-gray-600 {
    border-color: #484f58;
}

.border-primary {
    border-color: var(--primary);
}

.border-accent {
    border-color: var(--accent);
}

.border-transparent {
    border-color: transparent;
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* ============================================
   EFFECTS
   ============================================ */

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-none {
    box-shadow: none;
}

.opacity-0 {
    opacity: 0;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-100 {
    opacity: 1;
}

/* ============================================
   TRANSITIONS
   ============================================ */

.transition {
    transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
    transition-property: color, background-color, border-color, fill, stroke;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-all {
    transition-property: all;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

/* ============================================
   TRANSFORMS
   ============================================ */

.transform {
    transform: translateX(0);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.-translate-y-1 {
    transform: translateY(-0.25rem);
}

/* ============================================
   POSITIONING
   ============================================ */

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.top-full {
    top: 100%;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-50 {
    z-index: 50;
}

/* ============================================
   OVERFLOW
   ============================================ */

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-auto {
    overflow-y: auto;
}

/* ============================================
   CURSOR & INTERACTION
   ============================================ */

.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.pointer-events-none {
    pointer-events: none;
}

.select-none {
    user-select: none;
}

/* ============================================
   COMPONENT STYLES
   ============================================ */

/* Navbar */
.navbar {
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 50;
    height: 130px;
    overflow: hidden;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    height: 110px;
    margin-top: 0;
    position: relative;
    z-index: 100;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-muted);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    background-color: var(--bg-hover);
    color: var(--text-light);
    text-decoration: none;
}

.nav-link.active {
    background-color: var(--bg-hover);
    color: var(--text-light);
}

/* Sidebar */
.sidebar {
    background-color: var(--bg-darker);
    border-right: 1px solid var(--border);
    min-height: calc(100vh - 130px);
    width: 16rem;
    padding: 1rem 0;
    position: sticky;
    top: 130px;
    align-self: stretch;
}

/* Make the flex container stretch */
.flex {
    display: flex;
}

.flex>.sidebar {
    flex-shrink: 0;
}

.flex>main {
    flex-grow: 1;
    min-height: calc(100vh - 130px);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.sidebar-link:hover {
    background-color: var(--bg-hover);
    border-left-color: var(--secondary);
    color: var(--text-light);
    text-decoration: none;
}

.sidebar-link.active {
    background-color: var(--bg-hover);
    border-left-color: var(--primary);
    color: var(--text-light);
    font-weight: 600;
}

/* Cards */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
}

.card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body {
    padding: 1rem 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
    text-decoration: none;
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: white;
    text-decoration: none;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #b62324;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border);
    color: var(--text-muted);
}

.btn-outline:hover {
    background-color: var(--bg-hover);
    color: var(--text-light);
    text-decoration: none;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Forms */
.form-input {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    color: var(--text-light);
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.badge-primary {
    background-color: var(--primary);
    color: white;
}

.badge-accent {
    background-color: var(--accent);
    color: white;
}

.badge-danger {
    background-color: var(--danger);
    color: white;
}

.badge-warning {
    background-color: var(--warning);
    color: #1c1e21;
}

.badge-gray {
    background-color: var(--bg-hover);
    color: var(--text-light);
}

/* Avatar */
.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    object-fit: cover;
    flex-shrink: 0;
}

.avatar-sm {
    width: 2rem;
    height: 2rem;
}

.avatar-lg {
    width: 3rem;
    height: 3rem;
}

.avatar-xl {
    width: 6rem;
    height: 6rem;
}

/* Post/Feed Cards */
.post-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.post-author {
    font-weight: 600;
    color: var(--text-light);
}

.post-time {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.post-content {
    color: var(--text-light);
    line-height: 1.6;
}

.post-actions {
    display: flex;
    gap: 1rem;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.post-action {
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
}

.post-action:hover {
    color: var(--primary);
}

/* Repository Tree */
.repo-tree-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, monospace;
    font-size: 0.875rem;
}

.repo-tree-item:hover {
    background-color: var(--bg-hover);
}

.repo-tree-icon {
    width: 1.25rem;
    margin-right: 0.75rem;
    color: var(--text-muted);
}

/* Issues */
.issue-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s;
}

.issue-item:hover {
    background-color: var(--bg-hover);
}

.issue-title {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.issue-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 12rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    z-index: 50;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--bg-hover);
    text-decoration: none;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border);
    margin: 0.5rem 0;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    gap: 0;
}

.tab {
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.tab:hover {
    color: var(--text-light);
    text-decoration: none;
}

.tab.active {
    color: var(--text-light);
    border-bottom-color: var(--primary);
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.25rem;
}

.page-link {
    padding: 0.5rem 0.875rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-light);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.page-link:hover {
    background-color: var(--bg-hover);
    text-decoration: none;
}

.page-link.active {
    background-color: var(--primary);
    border-color: var(--primary);
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Code Blocks */
.code-block {
    background-color: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    padding: 1rem;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

code {
    background-color: var(--bg-hover);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, monospace;
    font-size: 0.875em;
}

/* Profile */
.profile-header {
    background: linear-gradient(135deg, #1a2332 0%, #0d1117 100%);
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.profile-stat {
    text-align: center;
}

.profile-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.profile-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   ICONS (Using SVG inline or emoji as fallback)
   ============================================ */

.icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-lg {
    width: 1.5rem;
    height: 1.5rem;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 768px) {
    .md\:hidden {
        display: none;
    }

    .md\:flex {
        display: flex;
    }

    .md\:block {
        display: block;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0 !important;
    }
}

@media (min-width: 768px) {
    .hidden-md {
        display: none;
    }

    .md\:flex {
        display: flex;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   HOVER STATES
   ============================================ */

.hover\:bg-hover:hover {
    background-color: var(--bg-hover);
}

.hover\:bg-card:hover {
    background-color: var(--bg-card);
}

.hover\:text-light:hover {
    color: var(--text-light);
}

.hover\:text-primary:hover {
    color: var(--primary);
}

.hover\:border-primary:hover {
    border-color: var(--primary);
}

.hover\:opacity-100:hover {
    opacity: 1;
}

/* ============================================
   FOCUS STATES
   ============================================ */

.focus\:ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

/* ============================================
   GRID SYSTEM
   ============================================ */

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.col-span-1 {
    grid-column: span 1;
}

.col-span-2 {
    grid-column: span 2;
}

.col-span-3 {
    grid-column: span 3;
}

.col-span-full {
    grid-column: 1 / -1;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 2rem 1.5rem;
    margin-top: 0;
    margin-left: 0;
    padding-left: calc(16rem + 1.5rem);
}

.footer-content {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    min-width: 150px;
}

.footer-section h4 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.footer-section a {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--link);
    text-decoration: none;
}

.footer-bottom {
    max-width: 72rem;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--text-light);
}

/* ============================================
   NEW HORIZONTAL NAVBAR
   ============================================ */

.navbar-new {
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 64px;
}

.navbar-brand-new {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.navbar-brand-new img {
    height: 32px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
}

.nav-link-new {
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-new:hover {
    color: var(--text-light);
    background: var(--bg-hover);
    text-decoration: none;
}

.nav-link-new.active {
    color: var(--text-light);
    background: var(--bg-card);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.nav-dropdown-item:hover {
    background: var(--bg-hover);
    color: var(--text-light);
    text-decoration: none;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-search {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    width: 240px;
    transition: all 0.2s;
}

.navbar-search:focus {
    outline: none;
    border-color: var(--accent);
    width: 300px;
    color: var(--text-light);
}

.navbar-search::placeholder {
    color: var(--text-muted);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.375rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.user-menu:hover {
    background: var(--bg-hover);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

/* Main content wrapper for pages without sidebar */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.max-w-5xl {
    max-width: 64rem;
}

/* ============================================
   REPO TABS - Repository Navigation
   ============================================ */

.repo-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.repo-tabs::-webkit-scrollbar {
    display: none;
}

.repo-tab {
    padding: 0.75rem 0.875rem;
    color: #8b949e;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.repo-tab:hover {
    color: #fff;
    text-decoration: none;
}

.repo-tab.active {
    color: #fff;
    border-bottom-color: #f78166;
}

.repo-tab .count {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.125rem 0.4rem;
    border-radius: 10px;
    font-size: 0.7rem;
}