/* Import main styles */
@import url('styles.css');

a {
    text-decoration: none;
}
/* Reference Page Specific Styles */
.doc-section {
    margin-bottom: 60px;
    scroll-margin-top: 80px; /* Offset for sticky header */
}

.doc-title {
    color: var(--accent);
    margin-bottom: 24px;
    font-size: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    font-weight: 800;
}

.doc-subtitle {
    color: var(--text-header);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

/* Function Block Styling */
.function-block {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.function-block:hover {
    transform: translateX(4px);
    box-shadow: -4px 4px 0 var(--accent);
    border-color: var(--accent);
}

.func-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    gap: 8px;
}

.func-name {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: var(--text-header);
    font-weight: bold;
    color: var(--accent);
}

.func-sig {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
    background: var(--bg-primary);
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
}

.func-desc {
    color: var(--text-normal);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* Parameter List */
.param-list {
    margin-top: 16px;
    background: rgba(0,0,0,0.2);
    padding: 12px;
    border-radius: 6px;
}

.param-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px;
}

.param-item {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    align-items: baseline;
}

.param-name {
    color: var(--warning);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    min-width: 120px;
}

.param-desc {
    color: var(--text-muted);
}

/* Code Blocks */
.code-block {
    background: #202225; /* Darker than bg-secondary */
    padding: 20px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #a2a3a7;
    overflow-x: auto;
    margin-top: 16px;
    white-space: pre;
    border-left: 3px solid var(--accent);
}

/* Navigation overrides */
.sidebar .nav-links {
    padding-bottom: 60px; /* Space for footer */
}

/* Highlight specifically important notes */
.note {
    background: rgba(88, 101, 242, 0.1);
    border-left: 3px solid var(--accent);
    padding: 12px;
    margin: 16px 0;
    color: var(--text-normal);
    font-size: 0.9rem;
}
