/**
 * Gallery Switcher Styles
 * Переключатель между режимами просмотра галереи
 */

/* Контейнер переключателя */
.gallery-switcher-container {
    margin-bottom: 16px;
    display: flex;
    justify-content: flex-start;
}

/* Переключатель */
.gallery-switcher {
    display: flex;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Кнопки переключателя */
.gallery-switcher-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    background-color: transparent;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.gallery-switcher-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
}

.gallery-switcher-btn.active {
    background-color: #fff;
    color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.gallery-switcher-btn svg {
    flex-shrink: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .gallery-switcher-container {
        justify-content: center;
        margin-bottom: 12px;
    }
    
    .gallery-switcher-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .gallery-switcher-btn span {
        display: none;
    }
    
    .gallery-switcher-btn svg {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .gallery-switcher {
        width: 100%;
        max-width: 200px;
    }
    
    .gallery-switcher-btn {
        flex: 1;
        justify-content: center;
        padding: 8px;
    }
}