/* Legacy core.css - cleaned up to remove duplicates */
/* All main styles now handled by variables.css and base.css */

/* Utility classes using CSS variables */
.text-link {
    color: var(--text-link);
    text-decoration: none;
}

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

.code-inline {
    background: var(--bg-secondary);
    color: var(--color-warning);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-family: var(--font-family-mono);
}

.sidebar-icon {
    width: auto;
    min-width: 40px;
    max-width: 180px;
    height: 40px;
    margin: 4px 0 4px 12px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: background 0.2s;
    cursor: pointer;
    padding: 0 12px 0 8px;
    gap: 12px;
}
.sidebar.collapsed .sidebar-icon {
    justify-content: center;
    padding: 0;
    gap: 0;
}
.sidebar-icon:hover {
    background: #37373d;
}
.sidebar-label {
    color: #d4d4d4;
    font-size: 1rem;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.2s;
}
.sidebar.collapsed .sidebar-label {
    opacity: 0;
}
header {
    background: #2d2d2d;
    padding: 1rem 2rem;
    border-bottom: 1px solid #222;
}
h1 {
    color: #569cd6;
    margin: 0;
    font-size: 2rem;
}
main {
    padding: 2rem;
    flex: 1;
}
.panel {
    background: #252526;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 8px #0004;
}
a, a:visited {
    color: #9cdcfe;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
code {
    background: #1e1e1e;
    color: #dcdcaa;
    padding: 2px 6px;
    border-radius: 4px;
}
.show-sidebar-btn {
    position: fixed;
    top: 24px;
    left: 16px;
    width: 36px;
    height: 36px;
    background: #23272e;
    border: none;
    border-radius: 6px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px #0004;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.2s;
}
.show-sidebar-btn:hover {
    background: #37373d;
}
