/* Основные стили навигации */
.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Быстрая навигация */
.quick-nav {
    display: flex;
    align-items: center;
    position: relative;
}

.quick-nav-menu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--button-bg);
    border: 1px solid var(--button-border);
    border-radius: 5px;
    padding: 0.5rem 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform-origin: bottom center;
}

.quick-nav-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.quick-nav-item {
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
}

.quick-nav-item:hover {
    background: var(--button-border);
}

/* Кнопки */
button {
    background: var(--button-bg);
    color: var(--button-text);
    border: 1px solid var(--button-border);
    border-radius: 5px;
    padding: 0.5rem 0.7rem;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    font-size: 18px;
}

button:hover {
    background: var(--bg-color);
    color: var(--text-color);
}

/* Адаптивность */

