/**
 * Code Scalpel - Shared Installation Page Styles
 * Used by: install-claude-desktop.html, install-cursor.html, 
 *          install-docker.html, install-pip.html, install-vscode.html
 */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --text-primary: #f0f0f5;
    --text-secondary: #9898a8;
    --text-muted: #888899;
    --accent-cyan: #00d4ff;
    --accent-emerald: #10b981;
    --border-subtle: rgba(255, 255, 255, 0.06);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

pre {
    background: #0d0d14;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    margin: 1rem 0;
    color: #ccc;
}

code {
    font-family: 'JetBrains Mono', monospace;
    background: #0d0d14;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

pre code {
    background: transparent;
    padding: 0;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.info-box {
    background: rgba(0, 212, 255, 0.08);
    border-left: 4px solid #00d4ff;
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-box h4 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.warning-box {
    background: rgba(217, 4, 41, 0.08);
    border-left: 4px solid #D90429;
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.warning-box h4 {
    color: #D90429;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tab-container {
    margin: 1.5rem 0;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.tab-button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

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

.tab-button.active {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.collapsible {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    margin: 1rem 0;
    overflow: hidden;
}

.collapsible-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
}

.collapsible-header:hover {
    background: var(--bg-tertiary);
}

.collapsible-content {
    display: none;
    padding: 0 1rem 1rem 1rem;
    color: var(--text-secondary);
}

.collapsible.open .collapsible-content {
    display: block;
}

.step-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 100%);
    border-radius: 50%;
    font-weight: 700;
    margin-right: 0.75rem;
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checklist li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent-emerald);
    color: white;
    border-radius: 4px;
    font-weight: 700;
}

/* Table styles (used by install-docker and install-vscode) */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

th {
    background: var(--bg-tertiary);
    color: var(--accent-cyan);
    font-weight: 600;
}

td {
    color: var(--text-secondary);
}

/* Use case list styles (used by install-docker) */
.use-case-list {
    list-style: none;
    padding-left: 0;
}

.use-case-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.use-case-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 700;
}
