/* Daisi URL — App Layout. Mirrors daisi-git's daisigit.css so the two consoles feel like the same product family. */

:root {
    --du-sidebar-width: 240px;
    --du-header-height: 56px;
    --du-primary: #2563eb;
    --du-accent: #F78C1D;
    --du-sidebar-bg: #1e293b;
    --du-sidebar-text: #cbd5e1;
    --du-sidebar-active: #3b82f6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    background: #f8fafc;
}

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

.du-sidebar {
    width: var(--du-sidebar-width);
    background: var(--du-sidebar-bg);
    color: var(--du-sidebar-text);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
}

.du-sidebar-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.du-logo {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.du-logo:hover { color: white; }

.du-sidebar-nav {
    padding: 12px 8px;
    flex: 1;
    overflow-y: auto;
}

.du-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--du-sidebar-text);
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 2px;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.du-nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.du-nav-item.active {
    background: var(--du-sidebar-active);
    color: white;
}

.du-nav-item i { width: 20px; text-align: center; }

.du-main {
    margin-left: var(--du-sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.du-header {
    height: var(--du-header-height);
    background: white;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.du-header-left, .du-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.du-content {
    flex: 1;
    padding: 24px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.du-footer {
    padding: 16px 24px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    border-top: 1px solid #e2e8f0;
}

.du-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
}

.du-stat-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    flex: 1;
}

.du-stat-card .label {
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.du-stat-card .value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
}

.du-link-row {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(220px, 2fr) 80px 80px 100px;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.du-short {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', monospace;
    color: var(--du-primary);
}

.du-target {
    color: #475569;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Hero used on the public landing page — matches daisi-git's "Welcome.razor" gradient. */
.du-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
}

/* Terminal-style code blocks on the CLI guide page. */
.du-cli-block {
    background: #1a1a2e;
    color: #a0d4a0;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.55;
    overflow-x: auto;
}

.du-cli-block code {
    color: inherit;
    background: none;
    padding: 0;
}
