/* SPA Navigation Controls */
.spa-nav-controls {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.spa-nav-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid black;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.spa-nav-button::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px solid black;
    border-radius: 8px;
    pointer-events: none;
}

.spa-nav-button:hover:not(:disabled) {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.spa-nav-button:active:not(:disabled) {
    transform: translateY(0);
}

.spa-nav-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.spa-nav-button .back-icon,
.spa-nav-button .forward-icon {
    font-size: 1.2rem;
    line-height: 1;
}

/* Dark theme support */
[data-theme="dark"] .spa-nav-button {
    background: #1a1a1a;
    border-color: white;
    color: white;
}

[data-theme="dark"] .spa-nav-button::before {
    border-color: white;
}

[data-theme="dark"] .spa-nav-button:hover:not(:disabled) {
    background: #2a2a2a;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .spa-nav-controls {
        padding: 0.5rem 1rem;
        margin-bottom: 0.5rem;
    }
    
    .spa-nav-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

